LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-06-2012, 06:17 AM   #1
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Rep: Reputation: Disabled
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.
 
Old 08-07-2012, 03:57 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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.

.

Last edited by knudfl; 08-07-2012 at 03:59 AM.
 
Old 08-07-2012, 08:03 AM   #3
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-07-2012, 09:09 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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.

.

Last edited by knudfl; 08-07-2012 at 09:19 AM.
 
Old 08-11-2012, 05:32 AM   #5
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-11-2012, 06:18 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
# 5
Quote:
Installing : fox14-1.4.35-17.1.i386 1/1
See post # 2 : libfox1_6, fox16, fox16-devel ,,,, not fox14 !


About your errors ..
Quote:
./configure --with-fox=$HOME --with-proj-gdal=$HOME --with-xerces=$HOME
That's not a usable configure line ...
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

.
 
Old 08-13-2012, 07:59 AM   #7
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-13-2012, 08:15 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
# 7


How about : cd sumo-0.12.3/ && ./configure && make clean && make
 
Old 08-13-2012, 11:41 PM   #9
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
still the same error
 
Old 08-14-2012, 12:46 AM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
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 .
 
Old 08-14-2012, 05:15 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
# 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

.
 
Old 08-14-2012, 05:43 AM   #12
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-14-2012, 06:12 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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

.

Last edited by knudfl; 08-14-2012 at 06:22 AM.
 
Old 08-14-2012, 07:43 AM   #14
sims2801
LQ Newbie
 
Registered: Aug 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-14-2012, 09:01 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,278

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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".

.

Last edited by knudfl; 08-14-2012 at 09:03 AM.
 
  


Reply

Tags
gcc444, ns2, sumo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumo installation on fedora 16 sims2801 Fedora 0 08-01-2012 07:53 AM
Sumo installation in Ubuntu yashu Linux - Networking 4 04-04-2012 04:53 AM
SUMO Installation in Fedora 15 mrnikunjdoshi Linux - Software 13 11-16-2011 03:35 AM
SUMO installation for TraNS on Fedora 12 Pranav Singh Linux - Newbie 3 11-01-2010 12:19 PM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration