sumo installation on fedora 16
i have installed gdal, proj, fox and xerces all these packages now on my system
but now when i am trying to install sumo 0.12.3 on my system it is giving me the following error ice_Vehroutes.Tpo" -c -o MSDevice_Vehroutes.o MSDevice_Vehroutes.cpp; \ then mv -f ".deps/MSDevice_Vehroutes.Tpo" ".deps/MSDevice_Vehroutes.Po"; else rm -f ".deps/MSDevice_Vehroutes.Tpo"; exit 1; fi In file included from MSDevice_Vehroutes.cpp:33:0: MSDevice_Vehroutes.h:161:11: error: looser throw specifier for ‘virtual MSDevice_Vehroutes::StateListener::~StateListener()’ ../../../src/microsim/MSNet.h:461:17: error: overriding ‘virtual MSNet::VehicleStateListener::~VehicleStateListener() throw ()’ make[4]: *** [MSDevice_Vehroutes.o] Error 1 make[4]: Leaving directory `/home/kavita/sumo-0.12.3/src/microsim/devices' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/kavita/sumo-0.12.3/src/microsim' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kavita/sumo-0.12.3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/kavita/sumo-0.12.3/src' make: *** [all-recursive] Error 1 i was unable to understand it. Actually i want to work on MOVE tool therefore i need sumo 0.12.3 only. kindly tell. how to correct it. |
Welcome to LQ.
Sumo-0.12.3 compiles OK with g++ version 4.4.1 .. 4.4.6 . Fedora 16 compilers : The default 4.6.3 is too resent. The compat-gcc-34-c++ version 3.4.6 : ? Too old ? Both compilers will produce errors like the ones you got. Examples compiling sumo-0.12.3 : # yum install gdal-devel proj-devel xerces-c-devel Fox : Packages ver. 1.6.46 from the "CentOS 6 Fox.repo" http://ftp5.gwdg.de/pub/opensuse/rep...ntOS_CentOS-6/ ( Required : libfox1_6, fox16, fox16-devel ). CentOS 6.3 : sumo-0.12.3 compiles OK with the default g++ -4.4.6. Fedora 16 : Also OK. gcc / g++ version 4.4.4 was used. P.S. : There are some changes for sumo-0.12.3/src/microsim/* http://sourceforge.net/apps/trac/sumo/changeset/11107 (MSEdgeControl.h MSLane.cpp MSLane.h devices/MSDevice_Routing.cpp) But : Other errors will appear with the new files. . |
first of all thanku so much
i posted so many times on forums but i always feel that no one replies but today my misconception gets removed what i understood from reply that to install sumo 0.12.3 , i need g++ 4.4.4. therefore i tried to install it using the following command sumo yum install g++ 4.4.4 but i am getting the folwing lines repeatedly ................................. State : Sleeping, pid: 1826 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 91 M RSS (195 MB VSZ) Started: Tue Aug 7 17:06:45 2012 - 09:50 ago State : Sleeping, pid: 1826 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 91 M RSS (195 MB VSZ) Started: Tue Aug 7 17:06:45 2012 - 09:52 ago State : Sleeping, pid: 1826 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 91 M RSS (195 MB VSZ) Started: Tue Aug 7 17:06:45 2012 - 09:54 ago State : Sleeping, pid: 1826 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 91 M RSS (195 MB VSZ) Started: Tue Aug 7 17:06:45 2012 - 09:56 ago State : Sleeping, pid: 1826 ...................... what should i do ? i have installed the following packages fox 1.7.31 gdal 1.8.0 proj 4.8.0 xerces_c-src_3.1.1 before installing sumo 0.12.3 does the versions of above packages are comfortable with sumo 0.12.3 |
About fox : Version 1.6.x(x) is meant to be used for sumo-0.12.3,
see post # 2 about the "1.6.46" packages. Gdal, proj, xerces-c : Why not use the system versions ? I.e. # yum install gdal-devel proj-devel xerces-c-devel .. Gets you gdal 1.7.3, proj 4.7.0, xerces-c 3.1.1. .. Then you are sure to have a gdal compiled with geos etc. etc. The compiler : 'yum search gcc' will show you, that no gcc-c++ ver. 4.4.x is available. I am using some packages ( gcc44-c++ etc.) from the CentOS 5 repo. The current version is 4.4.6, which should be OK. Please show the output from the command : 'uname -m' , then I'll try to advise you how to install the packages. . |
sumo installation on fedora 16
i did the following
to install fox downloaded all the files from the specified location given in post 2 cd fox-1.6/ rpm --import http://ftp5.gwdg.de/pub/opensuse/rep...repomd.xml.key yum install fox output of the above command is as follows Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Installing : fox14-1.4.35-17.1.i386 1/1 Installed: fox14.i386 0:1.4.35-17.1 Complete! then next command yum install gdal-devel proj-devel xerces-c-devel output is complete after this the following commands tar xzf sumo-src-0.12.3.tar.gz cd sumo-0.12.3 ./configure --with-fox=$HOME --with-proj-gdal=$HOME --with-xerces=$HOME make again i got the same error specified in post 1 kindly suggest output of the command uname -m is as follows uname -m i686 |
# 5
Quote:
About your errors .. Quote:
Please use the gdal / xerces-c (and fox16) that you installed with yum. Those will be picked up by doing a plain : ./configure .. I.e. no options at all should be added to ./configure . |
dear sir
i run the following commands yum install fox16 yum install fox16-devel yum install fox16-devel-static after each of the commands i get complete then tried to install sumo with the follwoing commands ./configure make install as usual there was no error in configure but in make install again the same error which is as specified below ice_Vehroutes.Tpo" -c -o MSDevice_Vehroutes.o MSDevice_Vehroutes.cpp; \ then mv -f ".deps/MSDevice_Vehroutes.Tpo" ".deps/MSDevice_Vehroutes.Po"; else rm -f ".deps/MSDevice_Vehroutes.Tpo"; exit 1; fi In file included from MSDevice_Vehroutes.cpp:33:0: MSDevice_Vehroutes.h:161:11: error: looser throw specifier for ‘virtual MSDevice_Vehroutes::StateListener::~StateListener()’ ../../../src/microsim/MSNet.h:461:17: error: overriding ‘virtual MSNet::VehicleStateListener::~VehicleStateListener() throw ()’ make[4]: *** [MSDevice_Vehroutes.o] Error 1 make[4]: Leaving directory `/home/kavita/sumo-0.12.3/src/microsim/devices' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/kavita/sumo-0.12.3/src/microsim' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kavita/sumo-0.12.3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/kavita/sumo-0.12.3/src' make: *** [all-recursive] Error 1 kindly tell what to do should i change fedora16 to 15 or any lowest version thanks |
# 7
How about : cd sumo-0.12.3/ && ./configure && make clean && make |
still the same error
|
sims2801
you DID install the older gcc 4.4 ? this is fedora here so you MUST build that older version from source and install it along side gcc 4.6 AND CONFIGURE - yes bold and cap -- "alternatives" or use a set up shell script to CHANGE the fedora 16 Default gcc4.6 to USE the older 4.4 or even export gcc = gcc4.4 and CC=gcc4.4 to the configure command you MUST do that, sumo will NOT build with the NEW version of gcc in fedora 16 ( fedora 17 is using gcc 4.7 ) you ARE aware that fedora is "the bleeding edge" "newest of the NEW" "cutting edge" " push the envelope PAST the breaking point... fix it.... push it some more past the breaking point .. fix...repeat..." " a 'Research and Development' distribution " fedora pushes the NEWEST of the NEW .And as a result, NOT many things WILL build out of the box UNLESS YOU do A) hack the program to use "the newest of the new" . B) hack the operating system to use some OLD things so that programs that are 1 year old CAN BUILD . |
# 9.
Yes, that's right. You got no gcc44-c++. Repacked for Fedora, 32bits : gmpxx-4.1.4-10EL5.i386.rpm gcc44-4.4.4.SL5-1.i386.rpm gcc44-c++-4.4.4.SL5-1.i386.rpm libstdc++44-devel-4.4.4.SL5-1.i386.rpm # yum localinstall --nogpgcheck <package> <package> <package> <package> Links .. gmpxx https://docs.google.com/open?id=0B7S...U2YTM5Mzc3NGM1 gcc44 https://docs.google.com/open?id=0B7S...WVfZzlydDd0dUU gcc44-c++ https://docs.google.com/open?id=0B7S...WVHeGIzYm56bkE libstdc++44-devel https://docs.google.com/open?id=0B7S...1VLUGdVeTNiNzQ cd sumo-0.12.3/ && export CC=gcc44 CXX=g++44 && ./configure && make If your build still fails : Here is a link to the binary package "sumo-0.12.3.fc16-i686.rpm" https://docs.google.com/open?id=0B7S...HFIT3Vab2FJN3M . |
thanks for your reply
what i understood is i have to install gcc-4.4.4 for that i did the following for gcc4.4.4 i downloaded the tar file then it is giving me the error about MPFR etc in ./configure then i downloaded and installled MPFR-2.3.2 after this no error in ./configure for gcc-4.4.4 but in make the follwoing error has come make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava/testsuite' make[3]: Entering directory `/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava' /bin/sh ./libtool --tag=GCJ --mode=link /home/kavita/gcc-4.4.4/host-i686-pc-linux-gnu/gcc/gcj -B/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava/ -B/home/kavita/gcc-4.4.4/host-i686-pc-linux-gnu/gcc/ -L/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava -ffloat-store -fomit-frame-pointer -Usun -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib -shared-libgcc -L/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava/.libs libgcj.la libtool: link: /home/kavita/gcc-4.4.4/host-i686-pc-linux-gnu/gcc/gcj -B/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava/ -B/home/kavita/gcc-4.4.4/host-i686-pc-linux-gnu/gcc/ -ffloat-store -fomit-frame-pointer -Usun -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -L/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava/.libs -L/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava ./.libs/libgcj.so -lpthread -lrt -ldl -Wl,-rpath -Wl,/usr/local/lib ./.libs/libgcj.so: undefined reference to `__cxa_call_unexpected' collect2: ld returned 1 exit status make[3]: *** [jv-convert] Error 1 make[3]: Leaving directory `/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kavita/gcc-4.4.4/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/home/kavita/gcc-4.4.4' make: *** [all] Error 2 what to do next kindly suggest |
Please do not try to compile gcc, if you haven't done it before.
Lots of pitfalls. E.g. : gcc requires a build folder outside the source directory gcc-4.4.4/. Etc. etc. http://archive.linuxfromscratch.org/...BOOK-6.6-HTML/ http://archive.linuxfromscratch.org/...ter06/gcc.html And why install mpfr-2.3.2, when you can do # yum install mpfr-devel Code:
../gcc-4.4.4/configure --prefix=/usr/local/gcc44 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --program-suffix=44 --disable-multilib --with-system-zlib Better use the well tested packages shown in post # 11. They have worked for me in all Fedora's 14 ... 17. Or use the Fedora 16 package sumo-0.12.3.fc16-i686.rpm . |
thanks a lot
really lots of thanks for your valuable suggestions and time finally i installed sumo but still some exceptions now when i am giving a command for MOVE java -jar MOVE.jar my window comes and then i clicked on mobility model further a new window and when i click on rum simulation and i give myfile.cross.cfg lots of exceptions come -------- at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227) at java.awt.Container.dispatchEventImpl(Container.java:2089) at java.awt.Window.dispatchEventImpl(Window.java:2517) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116) at java.awt.EventQueue$2.run(EventQueue.java:622) at java.awt.EventQueue$2.run(EventQueue.java:620) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:619) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) at java.lang.ProcessImpl.start(ProcessImpl.java:81) at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) ... 42 more what to do next? |
May be try with "jdk6" ..
# yum localinstall --nogpgcheck jdk-1.6.0_33-fcs.i586.rpm http://ftp.scientificlinux.org/linux...3-fcs.i586.rpm And also as root : 1) /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_33/bin/java 2 2) /usr/sbin/alternatives --config java .. And then select the "sun jdk6". . |
thanks
the problem is solved |
SUMO -src-0.12.3 installation error
While installing SUMO -src-0.12.3 on ubuntu 11.10
I am getting an error... In file included from MSDevice_Vehroutes.cpp:33:0: MSDevice_Vehroutes.h:161:11: error: looser throw specifier for ‘virtual MSDevice_Vehroutes::StateListener::~StateListener()’ ../../../src/microsim/MSNet.h:461:17: error: overriding ‘virtual MSNet::VehicleStateListener::~VehicleStateListener() throw ()’ make[4]: *** [MSDevice_Vehroutes.o] Error 1 make[4]: Leaving directory `/usr/local/sumo/src/microsim/devices' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/sumo/src/microsim' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/sumo/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/sumo/src' make: *** [all-recursive] Error 1 what should I do to correct these errors? SUMO src-0.15.0 is installing correctly. |
Post # 17. Ubuntu 11.10 :
Please read post #2 : "Sumo-0.12.3 compiles OK with g++ version 4.4.1 .. 4.4.6 ." sudo apt-get install g++-4.4 libproj-dev libxerces-c-dev libgdal1-dev libfox-1.6-dev cd sumo-0.12.3/ && export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make : No errors. $ sumo-gui : The sumo GUI opens. . |
Quote:
I followed your way but came across an error.... sudo apt-get install g++-4.4 libproj-dev libxerces-c-dev libgdal1-dev libfox-1.6-dev Reading package lists... Done Building dependency tree Reading state information... Done g++-4.4 is already the newest version. libfox-1.6-dev is already the newest version. libgdal1-dev is already the newest version. libproj-dev is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgdal1-dev : Depends: libxerces-c2-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages. Now what should I do? Then I did export CC=gcc-4.4 CXX=g++-4.4 and then ran .configure .. it gave no error.... But now when I am running make It is giving the same above error posted in post #17 |
# 19
1) Fixing broken packages : sudo apt-get -f install 2) Updating the package index : sudo apt-get update 3) sudo apt-get install g++-4.4 libproj-dev libxerces-c2-dev libgdal1-dev libfox-1.6-dev .... Don't know why there is a difference. I had no problems with libxerces-c-dev. EDIT : libxerces-c2-dev was used. But : Sumo will do OK with either (libxerces-c-dev or libxerces-c2-dev.) AFAIK. 4) cd sumo-0.12.3/ 5) make clean && make distclean 6) export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make .... If you get some errors again : Start from scratch with a new unpacked 'sumo-src-0.12.3.tar.gz'. ( The 'make clean' commands may not clean away all created objects.) . |
Quote:
I acted as per your suggestions but still it is configuring but running make is unsuccessful... the error posted in post # 17 is still coming.. thus unable to install..SUMO 0.12.3 |
# 21. Don't know why your sumo fails. A 64bits OS ? 32bits should be used !
Please show the output from these commands : 1) cat /etc/issue 2) uname -m Then I may supply / upload a binary package sumo-bin-0.12.3-u1110_<arch>.deb . |
Quote:
Ubuntu 11.10 \n \l 2) Output of uname -n is i686 |
#21, #23
" bin/sumo* " dependencies : libdrm.so.2, libexpat.so.1, libfontconfig.so.1, libFOX-1.6.so.0, libfreetype.so.6, libglapi.so.0, libGL.so.1, libGLU.so.1, libicudata.so.44, libicuuc.so.44, libjpeg.so.62, libpng12.so.0, libproj.so.0, librt.so.1, libstdc++.so.6, libtiff.so.4, libX11.so.6, libXau.so.6, libxcb.so.1, libXcursor.so.1, libXdamage.so.1, libXdmcp.so.6, libxerces-c.so.28, libXext.so.6, libXfixes.so.3, libXft.so.2, libXrender.so.1, libXxf86vm.so.1, libz.so.1 ? You may have forgotten to install some of the basic lib<name>-dev packages before you started to build sumo ? Binary package : sumo-bin-0.12.3-u1110_i386.deb https://docs.google.com/open?id=0B7S...mVNZHpKTzhkUTg Provides /usr/local/bin/ sumo sumo-gui , etc. etc. . |
Quote:
|
1 Attachment(s)
Quote:
|
# 26
A <package>.deb is meant to be installed, not to be extracted : sudo dpkg -i sumo-bin-0.12.3-u1110_i386.deb . |
Quote:
I ran this command and the output was:- raj@ubuntu:~$ sudo dpkg -i sumo-bin-0.12.3-u1110_i386.deb [sudo] password for raj: Selecting previously deselected package sumo-bin. (Reading database ... 163977 files and directories currently installed.) Unpacking sumo-bin (from sumo-bin-0.12.3-u1110_i386.deb) ... Setting up sumo-bin (0.12.3-u1110) ... ///Sir where was it installed ... I have checked the home directory its not here... How to go to sumo/bin Or SUMO for configure..../ Sir Please tell me the installation steps.. |
2 Attachment(s)
Quote:
Sir I just checked the /usr/local/bin and found sumo installed there..Please see the attachment... When i changed to /usr/local/bin and type ./sumo-gui the SUMO window opened( see attachment 2).... SIR DOES THIS CONFIRMS THE INSTALLATION OF SUMO-0.12.3 successful? Now Will there be the need for .configure and make? Please tell me sir? |
# 29
That's a complete sumo 0.12.3 installation, when you have /usr/local/bin/ \ activitygen duarouter netgen polyconvert sumo-gui dfrouter jtrrouter netconvert od2trips sumo TraCITestClient No more "./configure and make" required. And don't "cd to /usr/local/bin". Just type sumo, etc. etc. . |
1 Attachment(s)
Quote:
At Last I would like to give you a snapshot of MOVE(that required SUMO 0.12.3 for creating MAP).It built successfully. With Regards .. Rajinder Sanwal rajindersanwal@gmail.com |
All times are GMT -5. The time now is 04:54 AM. |