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.
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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
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.
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
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
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
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 .
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.