LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-20-2012, 07:41 AM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
installing sumo-0.9.8 problem in fedora 15


hi
i want to install sumo-0.9.8 on fedora 15. i already installed xerces-c.27 FOX-1.4.35 gdal-1.3.2 and proj-4.5.0. i use below command and see this results
Quote:
[nadia@NADIA sumo-0.9.8]$ export CC=gcc34 CXX=g++34
./configure --with-xerces-libraries=/usr/lib/xerces-c-2.7.0/ --with-xerces-includes=/usr/include/xercesc-2.7.0/ --with-proj-libraries=/usr/lib/ --with-proj-includes=/usr/include/ --with-gdal-libraries=/usr/lib/ --with-gdal-includes=/usr/include/ --enable-traci

Enabled: InternalLanes TRACI PROJ GDAL
Disabled: Debug GeometryChecks MemoryChecks SpeedChecks DoublePrecision ONLINE_CALIBRATION GUI
and when i use make command, these results is shown
Quote:
[nadia@NADIA sumo-0.9.8]$ make
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long double>(long double)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so: undefined reference to `std::_List_node_base::_M_unhook()@GLIBCXX_3.4.14'
/usr/lib//libgeos.so : undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14'
/usr/lib//libgeos.so : undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
collect2: ld returned 1 exit status
make[3]: *** [sumo-netconvert] Error 1
make[3]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make: *** [all-recursive] Error 1
what's the matter?
please help me to solve this problem

thanks
 
Old 07-20-2012, 02:37 PM   #2
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
hi again
i installed fox proj and gdal again and use the new command
Quote:
./configure --with-xerces-libraries=/usr/lib/xerces-c-2.7.0/ --with-xerces-includes=/usr/include/xercesc-2.7.0/ --with-fox=$HOME --with-proj-gdal=$HOME --enable-traci --prefix=$HOME
the configuration is good but after make command an error is shown

Quote:
make

/usr/lib/libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long double>(long double)@GLIBCXX_3.4.9'
/usr/lib/libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/lib/libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/lib/libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib/libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/lib/libgeos.so : undefined reference to `std::_List_node_base::_M_unhook()@GLIBCXX_3.4.14'
/usr/lib/libgeos.so : undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14'
/usr/lib/libgeos.so : undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
collect2: ld returned 1 exit status
make[3]: *** [sumo-netconvert] Error 1
make[3]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make: *** [all-recursive] Error 1
if any one has an idea please tell to me

thanks
 
Old 07-20-2012, 06:10 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645

Rep: Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654
you are aware that fedora 15 is a Dead version ? right?

please see the #6 post in your thread
http://www.linuxquestions.org/questi...5/#post4732988

it is unsupported
it hit it's End of Life last month, please stay current and install fedora 17 FIRST
also gdal,proj-4 are in the fedora repos

also HOW did you install the legacy gcc34 ? ( aka "compat-gcc34")
from the fedora repo using yum or some other way

also this
Quote:
export CC=gcc34 CXX=g++34
that export normally will mostly work most of the time - it dose not ALWAYS work
"configure" can grab the WRONG files



fedora uses "alternatives" so that many versions od Gcc, python,java,... can be installed at the same time

however i ( personal choice) have never liked setting alternatives in the terminal
i use a set up shell script

but until we know HOW you installed gcc 34 AND THE required software for 3.4 , we can not help much.

because the above errors look like you messed up the install of the OLD ( VERY OLD) gcc 3.4


is this the sumo you are installing ????
http://sourceforge.net/projects/sumo/
the 0.9.8 OLD version
http://sourceforge.net/projects/sumo...rsion%200.9.8/
you ARE aware that that is from 2008 and is VERY old
there IS a CURRENT VERSION
http://sourceforge.net/projects/sumo...sion%200.15.0/
from this year.

and from this ( marked solved sumo thread)
http://www.linuxquestions.org/questi...a-15-a-947929/

and yes i do use gdal,proj-4, and mmps,ISIS3 and "stereo-pipline" and GRASS.


but if you MUST use a OLD and unsupported version of sumo from 2008 AND NOT the CURRENT version

fedora IS NOT the operating system to be using

you NEED a os from 2008
something that IS still supported like CentOS5.8

Last edited by John VV; 07-20-2012 at 06:26 PM. Reason: added
 
Old 07-21-2012, 02:52 AM   #4
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
hi again
i want to install TraNSv1.2. It needs sumo-0.9.8 and ns-2.35. i installed sumo-0.9.8 about 30 days ago on fedora 15. but now i can't install sumo-0.9.8!!!!!!!!!!!!!!!
i installed fox proj and gdal again and use the new command

Quote:
[nadia@NADIA sumo-0.9.8]$ export CC=gcc34 CXX=g++34
[nadia@NADIA sumo-0.9.8]$ ./configure --with-xerces-libraries=/usr/lib/xerces-c-2.7.0/ --with-xerces-includes=/usr/include/xercesc-2.7.0/ --with-proj-libraries=/usr/lib/ --with-proj-includes=/usr/include/ --with-gdal-libraries=/usr/lib/ --with-gdal-includes=/usr/include/ --with-fox=$HOME --enable-traci --prefix=$HOME

Enabled: InternalLanes TRACI PROJ GDAL GUI
Disabled: Debug GeometryChecks MemoryChecks SpeedChecks DoublePrecision ONLINE_CALIBRATION
the configuration is good but after make command an error is shown

Quote:
[nadia@NADIA sumo-0.9.8]$ make

/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long double>(long double)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/lib//libgeos.so : undefined reference to `std::_List_node_base::_M_unhook()@GLIBCXX_3.4.14'
/usr/lib//libgeos.so : undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14'
/usr/lib//libgeos.so : undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
collect2: ld returned 1 exit status
make[3]: *** [sumo-netconvert] Error 1
make[3]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nadia/work/sumo-0.9.8/src'
make: *** [all-recursive] Error 1
please help me to solve this problem

thanks

Last edited by nadia_kh; 07-21-2012 at 04:51 AM.
 
Old 07-21-2012, 12:46 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#1, ( #2 ).
Quote:
Enabled: InternalLanes TRACI PROJ GDAL
Quote:
/usr/lib//libgeos.so : undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >
::_M_insert<long double>(long double)@GLIBCXX_3.4.9'
Ref. your other threads about the same subject
http://www.linuxquestions.org/questi...a-15-a-947929/
http://www.linuxquestions.org/questi...r-sumo-948166/

Looks like the option --enable-traci chokes in the combination "old gdal / new geos(3)".
A 'gdal-1.3.2' compiled with geos 2 will do :

32bits geos-2.2.3-3.el5.i386.rpm, geos-devel-2.2.3-3.el5.i386.rpm
ftp://ftp.sunet.se/pub/Linux/distrib...3.el5.i386.rpm
ftp://ftp.sunet.se/pub/Linux/distrib...3.el5.i386.rpm
# yum remove geos
# yum localinstall --nogpgcheck geos-2.2.3-3.el5.i386.rpm
# yum localinstall --nogpgcheck geos-devel-2.2.3-3.el5.i386.rpm
# yum install netcdf-devel && exit

export CC=gcc34 CXX=g++34 && cd gdal-1.3.2/ &&
./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-gif --with-jpeg --with-ogr --with-sqlite --prefix=<??> --libdir=<destination> --without-hdf5


P.S. : So far no luck with option GUI ( sumo-0.9.8/src/guisim )

..

Last edited by knudfl; 07-21-2012 at 01:28 PM.
 
Old 07-21-2012, 04:33 PM   #6
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
hi knudfl

the error is shown again and again. i searched internet. I think it is because of my gcc version. it is 4.6.3-2.
do you think it works when i change the gcc version?

thanks
 
Old 07-21-2012, 07:31 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645

Rep: Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654
Quote:
geos-2.2.3-3.el5.i386.rpm
i would be very VERY VERY careful of installing a RHEL 5 ( el5) rpm on fedora 15 (fc15)

some might work but you are just as likely to royally mess up ( the End of Life) fedora 15
so use extreme care when installing a rpm for a DIFFERENT operating system .
 
Old 07-22-2012, 04:57 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6
Quote:
do you think it works when I change the gcc version ?
You can have as many versions of "gcc-c++" as you want,
installed at the same time.
Use the export command to configure sumo with g++34.

The same for 'old gdal' : Use gcc34 / g++34.)
And : use a gdal that is compiled with the right geos.

( geos / geos-devel packages : No dependencies → → easy to install.)

.
 
Old 07-22-2012, 06:05 AM   #9
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
hi knudfl
i can install gdal-1.3.2. but the error is not disappeared.!!!

in http://www.linuxquestions.org/questi...a-15-a-947929/
you helped me to install sumo. my system is damaged 1 week ago. i installed fedora 15 and ns-2.35 again and follow your command but i cannot install sumo now

do you have any idea to install sumo with --enable-traci

thanks
best regards
 
Old 07-22-2012, 06:41 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9

Quote:
do you have any idea to install sumo with --enable-traci
Yes, I have done that yesterday. See posts #5, #8.
( The 64bits Fedora 15 was used.)

.

Last edited by knudfl; 07-22-2012 at 06:42 AM.
 
  


Reply

Tags
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
[SOLVED] configuring ns-2.35 and sumo for TraNS in fedora 15 nadia_kh Linux - Newbie 4 03-31-2015 01:12 AM
[SOLVED] why sumo 0.9.8 does not installed in fedora 15? nadia_kh Linux - Newbie 17 06-04-2012 04:59 AM
[SOLVED] installing gdal-1.3.2 in fedora 15 for sumo nadia_kh Linux - Newbie 7 06-03-2012 04:56 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 AM.

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
Open Source Consulting | Domain Registration