[SOLVED] why sumo 0.9.8 does not installed in fedora 15?
Linux - NewbieThis 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.
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.
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?
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
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
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?????
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493
Rep:
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
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
'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
'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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493
Rep:
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
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!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.