LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2012, 04:32 AM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
Question why sumo 0.9.8 does not installed in fedora 15?


hi
i want to install TRANS on fedora 15. it needs sumo 0.9.8. when it is configured every thing is good. but it can't be installed. the error is MSTriggerControl.h: "‘string’ in namespace ‘std’ does not name a type"
what's the matter?

thanks for your attention
 
Old 06-01-2012, 06:40 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Welcome to LQ.

Sumo-0.9.8 prerequisites :
# yum install xerces-c compat-gcc-34-c++


cd sumo-0.9.8/ && export CC=gcc34 CXX=g++34 && ./configure && make

.
 
Old 06-01-2012, 11:05 AM   #3
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

Sumo-0.9.8 prerequisites :
# yum install xerces-c compat-gcc-34-c++


cd sumo-0.9.8/ && export CC=gcc34 CXX=g++34 && ./configure && make

.
thanks for your answer
this error is solved but the new error is appeared

In file included from duarouter_main.cpp:37:0:
./utils/common/TplConvert.h: In static member function ‘static int TplConvert<E>::_2int(const E*)’:
./utils/common/TplConvert.h:65:28: error: ‘INT_MAX’ was not declared in this scope
./utils/common/TplConvert.h: In static member function ‘static long int TplConvert<E>::_2long(const E*)’:
./utils/common/TplConvert.h:75:29: error: ‘INT_MAX’ was not declared in this scope
./utils/common/TplConvert.h: In static member function ‘static float TplConvert<E>::_2SUMOReal(const E*)’:
./utils/common/TplConvert.h:85:33: error: ‘INT_MAX’ was not declared in this scope


which way solves this problem

best regards

Last edited by nadia_kh; 06-01-2012 at 11:58 AM.
 
Old 06-01-2012, 11:57 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Don't know why the above error appears.
Please try a 'make clean' :
To be sure that any traces of the failed compilation are deleted.

I used the 64bits Fedora 15, and had no errors.
The command : 'uname -m' will reply with your architecture.
 
Old 06-01-2012, 12:31 PM   #5
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Don't know why the above error appears.
Please try a 'make clean' :
To be sure that any traces of the failed compilation are deleted.

I used the 64bits Fedora 15, and had no errors.
The command : 'uname -m' will reply with your architecture.
I used 'make clean' but the first error is appeared my architecture is i686!!! (i don't know meaning of it)
the first error is

In file included from MSTriggerControl.cpp:33:0:
MSTriggerControl.h:58:33: error: ‘string’ in namespace ‘std’ does not name a type
MSTriggerControl.h:58:46: error: ISO C++ forbids declaration of ‘id’ with no type [-fpermissive]
MSTriggerControl.cpp:79:1: error: prototype for ‘MSTrigger* MSTriggerControl::getTrigger(const string&)’ does not match any in class ‘MSTriggerControl’
MSTriggerControl.h:58:16: error: candidate is: MSTrigger* MSTriggerControl::getTrigger(const int&)

i used the command yum install gcc compat-gcc34-c++
as it is cleared the message "it has been installed" is shown

do you know what i do???

thanks

Last edited by nadia_kh; 06-01-2012 at 01:08 PM.
 
Old 06-01-2012, 01:15 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Quote:
I used the command yum install gcc compat-gcc34-c++
A typo ? Please do : # yum install gcc-c++ compat-gcc-34-c++

The "configure command" is :
export CC=gcc34 CXX=g++34 && ./configure

Be aware that the export command is temporary.
Will reset to gcc / g++ version 4.6.0, when you exit the terminal.


Please show the output from the command 'uname -m'.

.

Last edited by knudfl; 06-01-2012 at 01:17 PM.
 
Old 06-01-2012, 02:08 PM   #7
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
A typo ? Please do : # yum install gcc-c++ compat-gcc-34-c++

The "configure command" is :
export CC=gcc34 CXX=g++34 && ./configure

Be aware that the export command is temporary.
Will reset to gcc / g++ version 4.6.0, when you exit the terminal.


Please show the output from the command 'uname -m'.

.
hi knudfl
the output of uname -m is:
[root@Fedora-15 nadia]# uname -m
i686

thanks for your good answers
 
Old 06-01-2012, 02:11 PM   #8
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nadia_kh View Post
hi knudfl
the output of uname -m is:
[root@Fedora-15 nadia]# uname -m
i686

thanks for your good answers
a new error is shown
socket.cpp.text+0xc58): 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)'


what is it? do you have any idea for solve it?????
 
Old 06-01-2012, 06:58 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Sorry, I didn't see the "i686" in post # 5.
Reason for asking : If you still failed with sumo,
I might create a sumo package, that works on Fedora 15 - i686 ?
( If I can find a 32bits OS where it can be compiled.)

Also required ( you may have it installed already ) :
# yum install xerces-c-devel


.

Last edited by knudfl; 06-01-2012 at 07:34 PM.
 
Old 06-02-2012, 01:27 AM   #10
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# yum install xerces-c-devel


.
hi knufdl
my xerces-c version is 3.1.0.21
and i installed xerces-c-devel (with version 3.1.0.21)
but after ./configure the new error is shown
XMLSubSys.cpp: (.text+0x727) : undefined reference to `xercesc_3_1::XMLPlatformUtils::fgMemoryManager'

should any path define?
i start using linux 1 mounth ago and so have some problems

thanks for your help
 
Old 06-02-2012, 11:42 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
The 32bits Fedora 15 (= i686). An install with the older xerces-2.7.0 :

# yum remove xerces-c-devel
# yum install xerces-c27-devel

cd 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/

'make' : No errors.
No "fox-1.4" → no GUI.
Also : No PROJ, GDAL was installed.

................

Next : A version of sumo-0.9.8 with the Fox GUI :
Fox .. ftp://ftp.fox-toolkit.org/pub/fox-1.4.35.tar.gz
# yum install \
zlib-devel bzip2-devel libjpeg-turbo-devel libtiff-devel \
libpng-devel mesa-libGLU-devel libXcursor-devel libXrandr-devel

cd fox-1.4.35/ && configure --prefix=/usr && make ; # make install

Sumo : Same configure options as above. 'make' : No errors.
# make install, and you have a sumo GUI : $ sumo-guisim

.

Last edited by knudfl; 06-02-2012 at 11:48 AM.
 
Old 06-02-2012, 12:27 PM   #12
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by knudfl View Post
The 32bits Fedora 15 (= i686). An install with the older xerces-2.7.0 :

# yum remove xerces-c-devel
# yum install xerces-c27-devel

cd 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/

'make' : No errors.
No "fox-1.4" → no GUI.
Also : No PROJ, GDAL was installed.

................

Next : A version of sumo-0.9.8 with the Fox GUI :
Fox .. ftp://ftp.fox-toolkit.org/pub/fox-1.4.35.tar.gz
# yum install \
zlib-devel bzip2-devel libjpeg-turbo-devel libtiff-devel \
libpng-devel mesa-libGLU-devel libXcursor-devel libXrandr-devel

cd fox-1.4.35/ && configure --prefix=/usr && make ; # make install

Sumo : Same configure options as above. 'make' : No errors.
# make install, and you have a sumo GUI : $ sumo-guisim

.
hi
the error about GUI is shown again!!!!!!!!!!!!!

Quote:
GUITLLogicPhasesTrackerWindow.cpp.text+0x25fc): undefined reference to `glViewport'
GUITLLogicPhasesTrackerWindow.cpp.text+0x2615): undefined reference to `glClearColor'
GUITLLogicPhasesTrackerWindow.cpp.text+0x2621): undefined reference to `glDisable'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x262d) : undefined reference to `glDisable'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x2639) : undefined reference to `glDisable'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x2645) : undefined reference to `glEnable'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x2651) : undefined reference to `glEnable'
GUITLLogicPhasesTrackerWindow.cpp.text+0x265d): undefined reference to `glDisable'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x2665) : undefined reference to `glLineWidth'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x267a) : undefined reference to `glPolygonMode'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x2686) : undefined reference to `glClear'
GUITLLogicPhasesTrackerWindow.cpp: (.text+0x269a) : undefined reference to `glFlush'
./foreign/polyfonts/libpolyfonts.a(polyfonts.o): In function `drawWideChar':
/home/nadia/work/sumo-0.9.8/src/foreign/polyfonts/polyfonts.c:1005: undefined reference to `glBegin'
/home/nadia/work/sumo-0.9.8/src/foreign/polyfonts/polyfonts.c:1023: undefined reference to `glVertex2f'
/home/nadia/work/sumo-0.9.8/src/foreign/polyfonts/polyfonts.c:1025: undefined reference to `glEnd'
collect2: ld returned 1 exit status
the problem is unsolved

Last edited by nadia_kh; 06-02-2012 at 03:34 PM.
 
Old 06-02-2012, 05:16 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
May be you have a corrupt sumo source ? ? Or ?
(To create the GUI a fox1.4 compiled with zlib, libpng, libtiff, libjpeg, libGL etc. is required.
See post #11.)

Anyway, installing the binary packages is easier :
# rpm -Uvh fox-1.4.35.FC15-1.i686.rpm sumo-0.9.8.FC15-1.i686.rpm

fox https://docs.google.com/open?id=0B7S...G9zQndvR1E2OGM
sumo, no PROJ, no GDAL https://docs.google.com/open?id=0B7S...XFCNHpNbDJRdHc

.

Last edited by knudfl; 06-03-2012 at 08:15 AM.
 
Old 06-03-2012, 08:05 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Sumo-0.9.8 with GUI, PROJ, GDAL-1.3.2 :
./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/

Sumo-0.9.8 package, with GUI, PROJ, GDAL-1.3.2 : sumo-0.9.8-11.f15.i686.rpm
https://docs.google.com/open?id=0B7S...jEwYTh0bHFmVjg
Code:
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libFOX-1.4.so.0 libGL.so.1 libGLU.so.1 libX11.so.6 libXcursor.so.1
 libXext.so.6 libXrandr.so.2 libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0)
 libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.7) libcfitsio.so.0
 libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgdal.so.1 libgeos-3.2.1.so
 libgeos_c.so.1 libjpeg.so.62 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1)
 libpng12.so.0 libproj.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0)
 libpthread.so.0(GLIBC_2.1) librt.so.1 libsqlite3.so.0 libstdc++.so.6
 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4)
 libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.9) libtiff.so.3 
 libxerces-c.so.27 libz.so.1
.

Last edited by knudfl; 06-03-2012 at 11:22 AM.
 
Old 06-03-2012, 01:40 PM   #15
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
hi knudfl
thanks for your answers they are very helpful.
i can install sumo-0.9.8
but when i use command ./sumo-guisim i give this error
Quote:
[root@Fedora-15 src]# ./sumo-guisim
./sumo-guisim: error while loading shared libraries: libxerces-c-3.1.so: cannot open shared object file: No such file or directory
i try to update xerces-c. it is updated. but error is shown again!!!
the xerces-c27 is needed for TRANS and SUMO-0.9.8!!!!

what i should do??

thanks
 
  


Reply

Tags
sumo, sumo-0.9.8


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
install sumo glitter Linux - Newbie 9 08-31-2013 05:04 PM
SUMO Installation in Fedora 15 mrnikunjdoshi Linux - Software 13 11-16-2011 03:35 AM
install sumo glitter Linux - Newbie 1 04-09-2011 11:17 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 12:07 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