Skip to content

Instantly share code, notes, and snippets.

@eightysteele
Created October 1, 2011 20:08
Show Gist options
  • Select an option

  • Save eightysteele/1256591 to your computer and use it in GitHub Desktop.

Select an option

Save eightysteele/1256591 to your computer and use it in GitHub Desktop.
# npm install mapnik
> mapnik@0.5.5 install /usr/local/src/Windshaft/node_modules/mapnik
> node-waf -v configure build
Setting srcdir to : /usr/local/src/Windshaft/node_modules/mapnik
Setting blddir to : /usr/local/src/Windshaft/node_modules/mapnik/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for program mapnik-config : /usr/bin/mapnik-config
'configure' finished successfully (0.261s)
Waf: Entering directory `/usr/local/src/Windshaft/node_modules/mapnik/build'
[ 1/17] cxx: src/node_mapnik.cpp -> build/default/src/node_mapnik_1.o
16:06:46 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-fPIC', '-DPIC', '-I/usr/include', '-I/usr/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-I/usr/include/postgresql', '-I/usr/include/gdal', '-DHAVE_JPEG', '-DBOOST_REGEX_HAS_ICU', '-ansi', '-Wall', '-pthread', '-ftemplate-depth-200', '-DLINUX', '-DBOOST_SPIRIT_THREADSAFE', '-DMAPNIK_THREADSAFE', '-O3', '-finline-functions', '-Wno-inline', '-DNDEBUG', '-DHAVE_CAIRO', '-DLIBTOOL_SUPPORTS_ADVISE', '-DHAVE_LIBXML2', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/directfb', '-I/usr/include/libpng12', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-I/usr/local/include/node', '../src/node_mapnik.cpp', '-c', '-o', 'default/src/node_mapnik_1.o']
[ 2/17] cxx: src/mapnik_map.cpp -> build/default/src/mapnik_map_1.o
16:06:46 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-fPIC', '-DPIC', '-I/usr/include', '-I/usr/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-I/usr/include/postgresql', '-I/usr/include/gdal', '-DHAVE_JPEG', '-DBOOST_REGEX_HAS_ICU', '-ansi', '-Wall', '-pthread', '-ftemplate-depth-200', '-DLINUX', '-DBOOST_SPIRIT_THREADSAFE', '-DMAPNIK_THREADSAFE', '-O3', '-finline-functions', '-Wno-inline', '-DNDEBUG', '-DHAVE_CAIRO', '-DLIBTOOL_SUPPORTS_ADVISE', '-DHAVE_LIBXML2', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/directfb', '-I/usr/include/libpng12', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-I/usr/local/include/node', '../src/mapnik_map.cpp', '-c', '-o', 'default/src/mapnik_map_1.o']
[ 3/17] cxx: src/mapnik_color.cpp -> build/default/src/mapnik_color_1.o
16:06:46 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-fPIC', '-DPIC', '-I/usr/include', '-I/usr/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-I/usr/include/postgresql', '-I/usr/include/gdal', '-DHAVE_JPEG', '-DBOOST_REGEX_HAS_ICU', '-ansi', '-Wall', '-pthread', '-ftemplate-depth-200', '-DLINUX', '-DBOOST_SPIRIT_THREADSAFE', '-DMAPNIK_THREADSAFE', '-O3', '-finline-functions', '-Wno-inline', '-DNDEBUG', '-DHAVE_CAIRO', '-DLIBTOOL_SUPPORTS_ADVISE', '-DHAVE_LIBXML2', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/directfb', '-I/usr/include/libpng12', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-I/usr/local/include/node', '../src/mapnik_color.cpp', '-c', '-o', 'default/src/mapnik_color_1.o']
[ 4/17] cxx: src/mapnik_geometry.cpp -> build/default/src/mapnik_geometry_1.o
16:06:46 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-fPIC', '-DPIC', '-I/usr/include', '-I/usr/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-I/usr/include/postgresql', '-I/usr/include/gdal', '-DHAVE_JPEG', '-DBOOST_REGEX_HAS_ICU', '-ansi', '-Wall', '-pthread', '-ftemplate-depth-200', '-DLINUX', '-DBOOST_SPIRIT_THREADSAFE', '-DMAPNIK_THREADSAFE', '-O3', '-finline-functions', '-Wno-inline', '-DNDEBUG', '-DHAVE_CAIRO', '-DLIBTOOL_SUPPORTS_ADVISE', '-DHAVE_LIBXML2', '-I/usr/include/cairomm-1.0', '-I/usr/lib/cairomm-1.0/include', '-I/usr/include/cairo', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/directfb', '-I/usr/include/libpng12', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-I/usr/local/include/node', '../src/mapnik_geometry.cpp', '-c', '-o', 'default/src/mapnik_geometry_1.o']
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment