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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-20-2012, 07:41 AM
|
#1
|
Member
Registered: May 2012
Posts: 30
Rep:
|
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
|
|
|
07-20-2012, 02:37 PM
|
#2
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep:
|
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
|
|
|
07-20-2012, 06:10 PM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645
|
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
|
|
|
07-21-2012, 02:52 AM
|
#4
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
07-21-2012, 12:46 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
#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.
|
|
|
07-21-2012, 04:33 PM
|
#6
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep:
|
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
|
|
|
07-21-2012, 07:31 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645
|
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 .
|
|
|
07-22-2012, 04:57 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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.)
.
|
|
|
07-22-2012, 06:05 AM
|
#9
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep:
|
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
|
|
|
07-22-2012, 06:41 AM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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.
|
|
|
All times are GMT -5. The time now is 09:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|