-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scons: building terminated because of errors. #950
Comments
@cschissler - hmm, never seen this before and I compile all the time on ubuntu. Something must be unique about your setup. Can you describe in detail how you installed boost and what version you have of boost, ubuntu, etc? Also, paste the output of:
|
Thanks for getting back to me Dane. I am going to start out with a new clean instance of ubuntu on another vbox. I'll see how that goes and if I get the same issue I will report back asap. |
@cschissler - ideally we should figure out why this is happening, right? I'm not proposing your system is messed up, rather there is something about it triggering this error and we should get to the bottom of it. Otherwise you'll likely just run into it again. So, can you please respond to my questions above? |
Hi Dane, I went through the following method for installing on Ubuntu 10.4 sudo apt-get install sudo apt-get install curl cd mapnik-2.0.0 I am still re-installing on a clean machine since I really went a little bonkers with aptitude install....But of course if you see some problem with the above process I will use the correction on the new instance. |
Ubuntu 10.4? Interesting. This is likely a boost/compiler bug, so try doing:
Also, it will not make a difference but you should be pulling mapnik from https://github.com/mapnik/mapnik. |
Hi Dane, I am running Ubuntu 11.10., sorry I had that wrong. I performed the update and upgrade commands. Unfortunately I am still getting the same error: "reference ‘m_value’ cannot be declared ‘mutable’ [-fpermissive] I also noticed the following error occurred beforehand when configuring the input_plugins Notice: dependencies not met for plugin 'occi', not building... Do you think the above has something to do with it? |
try uninstalling libboost 1.42 ( |
I am going down the liboost list and resinstalling them with the 1.46 versions. I tried to uninstalling libboost-regex 1.42-dev and installing libboost-regex1.46-dev. Bellow are the return messages. Seems a bit suspect. sudo apt-get install libboost-regex1.46-dev |
so remove them with |
Thank you Dane! I was able to compile and import the mapnik2 module in python=) Just fyi, I still got the following notices when with the compile: Notice: dependencies not met for plugin 'occi', not building... Thanks again! Craig |
those notices are not a problem. cheers. |
Just for posterity, I too ran into this problem. I've got many machines running 11.04 working fine with 1.42, but not my new one with 11.10 on it. So I suspect either the libboost1.42 packages have changed, or a different g++ version between 11.04 and 11.10 has exposed this issue. g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 If there's going to be a 2.0.1 release, it might be worth backporting the compiler error patch to it? |
@gravitystorm thanks for the followup - ya this was a tricky one to track down. Yes, there will be a 2.0.1 tag, and great call on backporting. Working on a patch right now. |
…rocess - refs mapnik#950 and mapnik#1001" This reverts commit 6005997.
…buntu relating to interprocess bug - refs mapnik#1001 and mapnik#950
I'm still running into this issue after a removal of libboost-python1.42.0, reinstalling 1.46.0, reconfiguring and calling python scons/scons.py Ubuntu 11.10 |
Hello, I am sorry if this is a wrong 'issue page' to ask, but google brought me here after I searched: scons: *** [bindings/python/mapnik_geometry.os] Error 1 I have installed boost_1_56, and all other libs I found related (from guides of others). ./configure of mapnik shows: All Required dependencies found! then on "make" it starts with: scons: warning: Support for pre-2.7.0 Python version (2.6.6) is deprecated. what can be wrong? I installed python 2.7 with "make & make altinstall" as guided somewhere. but it didn't help. Thank you! |
Also, something tells me this lines will explain where is the problem (......no matching function for call to ‘eval(const boost........): so i guess it has something to do with boost library?include/mapnik/util/geometry_to_svg.hpp:42: instantiated from here |
Hi, I'm Getting this error while building with with scon.. Could someone help me to resolve this ? ~/SandBox$ scons scons: warning: Ignoring missing SConscript 'controller/SConscript' scons: warning: Ignoring missing SConscript 'build/noarch/nova_contrail_vif/SConscript' scons: warning: Ignoring missing SConscript 'build/noarch/neutron_plugin/SConscript' |
@VigneshwaranRM it does not look like you are trying to build Mapnik. Mapnik uses scons but your problem does not look like a problem with Mapnik. So you should contact the author of the software you are trying to build. The issues appears to be related to the compiler not being set. |
Hi Springmeyer, I resolved those errors and successfully build the system. Thanks. I done this build for opencontrail. Now I need to know how to proceed further for installing and accessing Opencontrail GUI. If you know please let me know. Thank you |
Hi Springmeyer, git clone git://github.com/mapnik/mapnik After this I am getting scons: building terminated because of errors. I have tried to solve this by using sudo apt-get upgrade, sudo apt-get autoremove Thanks |
Hello, I am installing mapnik2 on ubuntu os. I am getting the following error after "sudo python scons/scons.py install". Please advise...
You are compiling Mapnik trunk (aka Mapnik2)
See important details at:
http://trac.mapnik.org/wiki/Mapnik2
Notice: dependencies not met for plugin 'occi', not building...
Notice: dependencies not met for plugin 'rasterlite', not building...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/mapped_memory_cache.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-300 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -DHAVE_CAIRO -fPIC -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -Iagg/include -I. -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql src/mapped_memory_cache.cpp
In file included from /usr/include/boost/interprocess/detail/utilities.hpp:29:0,
from /usr/include/boost/interprocess/mapped_region.hpp:20,
from include/mapnik/mapped_memory_cache.hpp:34,
from src/mapped_memory_cache.cpp:26:
/usr/include/boost/interprocess/detail/transform_iterator.hpp:57:15: error: reference ‘m_value’ cannot be declared ‘mutable’ [-fpermissive]
scons: *** [src/mapped_memory_cache.os] Error 1
scons: building terminated because of errors.
The text was updated successfully, but these errors were encountered: