# emerge mapnik Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sci-geosciences/mapnik-0.6.0 * mapnik-0.6.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mapnik-0.6.0.tar.bz2 to /var/tmp/portage/sci-geosciences/mapnik-0.6.0/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/mapnik-0.6.0/work >>> Preparing source in /var/tmp/portage/sci-geosciences/mapnik-0.6.0/work/mapnik-0.6.0 ... * Applying mapnik-0.6.0-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/mapnik-0.6.0/work/mapnik-0.6.0 ... scons: Reading SConscript files ... Welcome to Mapnik... Configuring build environment... Configuring on Linux in *release mode*... Checking for freetype-config... yes Checking for xml2-config... yes Checking for C library m... yes Checking for C library ltdl... yes Checking for C library png... yes Checking for C library tiff... yes Checking for C library z... yes Checking for C library jpeg... yes Checking for C library proj... yes Checking for C++ library icuuc... yes Checking for C++ library icudata... yes Checking for Boost version >= 1.33... yes Found boost lib version... 1_35 Checking for C++ library boost_system-mt... yes Checking for C++ library boost_filesystem-mt... yes Checking for C++ library boost_regex-mt... yes Checking for C++ library boost_iostreams-mt... yes Checking for C++ library boost_program_options-mt... yes Checking for C++ library boost_thread-mt... yes Checking for requested plugins dependencies... Checking for C library sqlite3... yes All Required dependencies found! Saving new file 'config.py'... Will hold custom path variables from commandline and python config file(s)... However, these optional dependencies were not found: - cairo - cairomm *Configure complete* Now run "python scons/scons.py" to build or "python scons/scons.py install" to install >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-geosciences/mapnik-0.6.0/work/mapnik-0.6.0 ... scons: Reading SConscript files ... Welcome to Mapnik... Using previous successful configuration... Re-configure by running "python scons/scons.py configure". scons: done reading SConscript files. scons: Building targets ... i686-pc-linux-gnu-g++ -o plugins/input/raster/raster_datasource.os -c -DHAVE_LIBXML2 -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -DNone -Iinclude -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/agg2 plugins/input/raster/raster_datasource.cpp i686-pc-linux-gnu-g++ -o plugins/input/raster/raster_featureset.os -c -DHAVE_LIBXML2 -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -DNone -Iinclude -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/agg2 plugins/input/raster/raster_featureset.cpp i686-pc-linux-gnu-g++ -o plugins/input/raster/raster_info.os -c -DHAVE_LIBXML2 -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -DNone -Iinclude -I. -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/agg2 plugins/input/raster/raster_info.cpp i686-pc-linux-gnu-g++ -o plugins/input/raster/raster.input -Wl,-rpath,/usr/lib -shared plugins/input/raster/raster_datasource.os plugins/input/raster/raster_featureset.os plugins/input/raster/raster_info.os -Lsrc -L/usr/lib -lmapnik /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmapnik collect2: ld returned 1 exit status scons: *** [plugins/input/raster/raster.input] Error 1 scons: building terminated because of errors. * * ERROR: sci-geosciences/mapnik-0.6.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2193: Called die * The specific snippet of code: * scons || die "scons make failed" * The die message: * scons make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sci-geosciences/mapnik-0.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/mapnik-0.6.0/temp/environment'. * >>> Failed to emerge sci-geosciences/mapnik-0.6.0, Log file: >>> '/var/tmp/portage/sci-geosciences/mapnik-0.6.0/temp/build.log' * Messages for package sci-geosciences/mapnik-0.6.0: * * ERROR: sci-geosciences/mapnik-0.6.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2193: Called die * The specific snippet of code: * scons || die "scons make failed" * The die message: * scons make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sci-geosciences/mapnik-0.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/mapnik-0.6.0/temp/environment'. *