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.
cd sumo-0.12.3/ && export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make : No errors.
$ sumo-gui : The sumo GUI opens.
.
Thanks for coming forward to provide help...
I followed your way but came across an error....
sudo apt-get install g++-4.4 libproj-dev libxerces-c-dev libgdal1-dev libfox-1.6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++-4.4 is already the newest version.
libfox-1.6-dev is already the newest version.
libgdal1-dev is already the newest version.
libproj-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgdal1-dev : Depends: libxerces-c2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Now what should I do?
Then I did export CC=gcc-4.4 CXX=g++-4.4
and then ran .configure .. it gave no error....
But now when I am running make
It is giving the same above error posted in post #17
Last edited by rajindersanwal; 11-04-2012 at 10:34 PM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 19
1) Fixing broken packages : sudo apt-get -f install
2) Updating the package index : sudo apt-get update
3) sudo apt-get install g++-4.4 libproj-dev libxerces-c2-dev libgdal1-dev libfox-1.6-dev
.... Don't know why there is a difference.
I had no problems with libxerces-c-dev. EDIT : libxerces-c2-dev was used.
But : Sumo will do OK with either (libxerces-c-dev or libxerces-c2-dev.) AFAIK.
4) cd sumo-0.12.3/
5) make clean && make distclean
6) export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make
.... If you get some errors again :
Start from scratch with a new unpacked 'sumo-src-0.12.3.tar.gz'.
( The 'make clean' commands may not clean away all created objects.)
1) Fixing broken packages : sudo apt-get -f install
2) Updating the package index : sudo apt-get update
3) sudo apt-get install g++-4.4 libproj-dev libxerces-c2-dev libgdal1-dev libfox-1.6-dev
.... Don't know why there is a difference.
I had no problems with libxerces-c-dev.
But : Sumo will do OK with either (libxerces-c-dev or libxerces-c2-dev.) AFAIK.
4) cd sumo-0.12.3/
5) make clean && make distclean
6) export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make
.... If you get some errors again :
Start from scratch with a new unpacked 'sumo-src-0.12.3.tar.gz'.
( The 'make clean' commands may not clean away all created objects.)
.
I acted as per your suggestions but still it is configuring but running make is unsuccessful... the error posted in
post # 17 is still coming.. thus unable to install..SUMO 0.12.3
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
#21, #23
" bin/sumo* " dependencies :
libdrm.so.2, libexpat.so.1, libfontconfig.so.1, libFOX-1.6.so.0,
libfreetype.so.6, libglapi.so.0, libGL.so.1, libGLU.so.1,
libicudata.so.44, libicuuc.so.44, libjpeg.so.62, libpng12.so.0,
libproj.so.0, librt.so.1, libstdc++.so.6, libtiff.so.4,
libX11.so.6, libXau.so.6, libxcb.so.1, libXcursor.so.1,
libXdamage.so.1, libXdmcp.so.6, libxerces-c.so.28, libXext.so.6,
libXfixes.so.3, libXft.so.2, libXrender.so.1, libXxf86vm.so.1,
libz.so.1
? You may have forgotten to install some of the basic
lib<name>-dev packages before you started to build sumo ?
" bin/sumo* " dependencies :
libdrm.so.2, libexpat.so.1, libfontconfig.so.1, libFOX-1.6.so.0,
libfreetype.so.6, libglapi.so.0, libGL.so.1, libGLU.so.1,
libicudata.so.44, libicuuc.so.44, libjpeg.so.62, libpng12.so.0,
libproj.so.0, librt.so.1, libstdc++.so.6, libtiff.so.4,
libX11.so.6, libXau.so.6, libxcb.so.1, libXcursor.so.1,
libXdamage.so.1, libXdmcp.so.6, libxerces-c.so.28, libXext.so.6,
libXfixes.so.3, libXft.so.2, libXrender.so.1, libXxf86vm.so.1,
libz.so.1
? You may have forgotten to install some of the basic
lib<name>-dev packages before you started to build sumo ?
Sir i downloaded the package and extracted it in ubuntu.. But It makes a folder sumo-bin-0.12.3-u1110_i386 and inside it are two folders and DEBIAN and usr along with a debian package named (sumo-bin-0.12.3-u1110_i386.deb) . Now on extraction this package gives an error...)
A <package>.deb is meant to be installed, not to be extracted :
sudo dpkg -i sumo-bin-0.12.3-u1110_i386.deb
.
I ran this command and the output was:-
raj@ubuntu:~$ sudo dpkg -i sumo-bin-0.12.3-u1110_i386.deb
[sudo] password for raj:
Selecting previously deselected package sumo-bin.
(Reading database ... 163977 files and directories currently installed.)
Unpacking sumo-bin (from sumo-bin-0.12.3-u1110_i386.deb) ...
Setting up sumo-bin (0.12.3-u1110) ...
///Sir where was it installed ... I have checked the home directory its not here... How to go to sumo/bin
Or SUMO for configure..../
Sir Please tell me the installation steps..
///Sir where was it installed ... I have checked the home directory its not here... How to go to sumo/bin
Or SUMO for configure..../
Sir Please tell me the installation steps..
Sir I just checked the /usr/local/bin and found sumo installed there..Please see the attachment...
When i changed to /usr/local/bin and type ./sumo-gui the SUMO window opened( see attachment 2).... SIR DOES THIS CONFIRMS THE INSTALLATION OF SUMO-0.12.3 successful?
Now Will there be the need for .configure and make?
Please tell me sir?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.