LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sumo (https://www.linuxquestions.org/questions/linux-newbie-8/sumo-4175491670/)

RadhaGopal 01-17-2014 10:56 PM

sumo
 
hi please send complete step by step procedure to install sumo in fedora14 . what actually need to install sumo?how to install?

RadhaGopal 01-18-2014 02:47 AM

please help me to retrieve the error while installing sumo library -fox 1.6.47

Making install in utils
make[1]: Entering directory `/home/it-mml01/lib/fox-1.6.47/utils'
make[2]: Entering directory `/home/it-mml01/lib/fox-1.6.47/utils'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c reswrap '/usr/local/bin'
libtool: install: /usr/bin/install -c reswrap /usr/local/bin/reswrap
/usr/bin/install: cannot create regular file `/usr/local/bin/reswrap': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/it-mml01/lib/fox-1.6.47/utils'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/it-mml01/lib/fox-1.6.47/utils'
make: *** [install-recursive] Error 1

druuna 01-18-2014 03:16 AM

Quote:

Originally Posted by RadhaGopal (Post 5100160)
please help me to retrieve the error while installing sumo library -fox 1.6.47

Making install in utils
make[1]: Entering directory `/home/it-mml01/lib/fox-1.6.47/utils'
make[2]: Entering directory `/home/it-mml01/lib/fox-1.6.47/utils'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c reswrap '/usr/local/bin'
libtool: install: /usr/bin/install -c reswrap /usr/local/bin/reswrap
/usr/bin/install: cannot create regular file `/usr/local/bin/reswrap': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/it-mml01/lib/fox-1.6.47/utils'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/it-mml01/lib/fox-1.6.47/utils'
make: *** [install-recursive] Error 1

It seems that the user running make does not have permissions to create directories in /usr/local/bin

The make install step should probably be done as root. All the steps leading up to it can be done as a regular user.

ntu929 01-18-2014 05:57 AM

Agree with Druuna's advice
 
Quote:

Originally Posted by druuna (Post 5100166)
It seems that the user running make does not have permissions to create directories in /usr/local/bin

The make install step should probably be done as root. All the steps leading up to it can be done as a regular user.

I completely agree with it. If you want install software while still being a regular user then you can give super-user's privileges to the regular user using sudo or su command

for example, if you are doing a make install then run the command as follows:-
Code:


sudo or su make install

This will prompt you for the password of regular user.
We could tell you more specific information, if you give us following information:-

1. Name of linux o.s.
2. Version of the operating system.

druuna 01-18-2014 06:03 AM

Quote:

Originally Posted by ntu929 (Post 5100195)
Code:

sudo make install
This will prompt you for the password of super-user (root).

No it won't!

It will ask for the password of the user executing that command, which isn't root's password.

Also: not all distro's have sudo configured out-of-the-box so you might need to become root by issuing:
Code:

su
or
Code:

su -

ntu929 01-18-2014 07:20 AM

Quote:

Originally Posted by druuna (Post 5100198)
No it won't!

It will ask for the password of the user executing that command, which isn't root's password.

Also: not all distro's have sudo configured out-of-the-box so you might need to become root by issuing:
Code:

su
or
Code:

su -

my apologise but again you are right. i will edit my post accordingly.

RadhaGopal 01-18-2014 07:32 AM

thank you so much for your replay.really this will help to me

RadhaGopal 01-20-2014 04:43 AM

i got this error when installing gdal.please help me.

geotiff.cpp:34:21: fatal error: xtiffio.h: No such file or directory
compilation terminated.
make[2]: *** [../o/geotiff.lo] Error 1
make[2]: Leaving directory `/usr/local/gdal-1.7.2/frmts/gtiff'
make[1]: *** [gtiff-install-obj] Error 2
make[1]: Leaving directory `/usr/local/gdal-1.7.2/frmts'
make: *** [frmts-target] Error 2

RadhaGopal 01-20-2014 04:56 AM

i got this error when installing proj



proj.Tpo -c jniproj.c -fPIC -DPIC -o .libs/jniproj.o
jniproj.c:52:26: fatal error: org_proj4_PJ.h: No such file or directory
compilation terminated.
make[1]: *** [jniproj.lo] Error 1
make[1]: Leaving directory `/usr/local/proj-4.8.0/src'
make: *** [install-recursive] Error 1

druuna 01-20-2014 06:52 AM

The last 2 posts don't have enough info to help you in any way.

- what commands are you trying,
- did the configure step return anything special,
etc

Don't just dump an error message. Provide details.

Only comment I can make is that in both cases it seems that a header file cannot be found (xtiffio.h and org_proj4_PJ.h).

knudfl 01-20-2014 11:18 AM

Installing fox : Read the Fedora posts about sumo here
http://www.linuxquestions.org/questions/tags/sumo/


Installing proj : # yum install proj-devel


-

RadhaGopal 01-21-2014 12:00 AM

we have

fox16-1.6.47-48.1.src.rpm
fox16-devel-1.6.49-52.1.i686.rpm
libfox1_6-1.6.47-28.1.x86_64.rpm
proj-devel-4.7.0-1.el6.i686.rpm
xerces-c-devel-3.1.1-1.fc16.x86_64.rpm
gdal-devel-1.9.0-2.fc17.i686.rpm

whether these version is correct to install SUMO library in fedora 14

John VV 01-21-2014 12:55 AM

you CAN NOT !!!!!!!!!! mix different distros and different versions

you have internet so
1)
INSTALL FEDORA 20
then install sumo
Code:

su -
yum install sumo

Quote:


fox16-1.6.47-48.1.src.rpm
fox16-devel-1.6.49-52.1.i686.rpm
libfox1_6-1.6.47-28.1.x86_64.rpm
proj-devel-4.7.0-1.el6.i686.rpm
xerces-c-devel-3.1.1-1.fc16.x86_64.rpm
gdal-devel-1.9.0-2.fc17.i686.rpm
"fox16-1.6.47-48.1.src.rpm" who knows what OS this is for and it is the SRC rpm - this is NOT a program to run
"fox16-devel-1.6.49-52.1.i686.rpm" WHY !!!!!!!!!!!!
you already have the src all you need is to use "rpmbuild" to make the SRC.rpm

"libfox1_6-1.6.47-28.1.x86_64.rpm" that is a 64 bit
you CAN NOT !!!!!! use that on a 32 bit system

"proj-devel-4.7.0-1.el6.i686.rpm"
this is for RHEL6 and NOT FEDORA 14
it is for a DIFFERENT operating system and is 32 bit!

"xerces-c-devel-3.1.1-1.fc16.x86_64.rpm"
that is a 64 bit FEDORA 16 program
YOU CAN NOT USE IT ON FEDORA 14

"gdal-devel-1.9.0-2.fc17.i686.rpm"
that is a 32 bit fedora 17 headers and NOT !!! a program




i am beginning to agree with "k3lt01" in this post here
http://www.linuxquestions.org/questi...2/#post5100083

RadhaGopal 01-21-2014 02:15 AM

@John VV
gdal-devel-1.7.2-5.fc14.i686.rpm
proj-devel-4.7.0-3.fc14.i686.rpm
xerces-c-devel-3.0.1-20.fc14.i686.rpm

these are correct to install sumo libraries in fedora 14 .

---------- Post added 01-21-14 at 03:16 AM ----------

@John vv whether these are correct or not?

John VV 01-21-2014 03:28 AM

please use yum
even on 14 a version that is 6 versions out of date
a few of the unsupported mirrors will be still up
Code:

su -
yum install gdal-devel proj-devel xerces-c-devel

but you will likely need to install rpmforge repo to install the above


And those are ONLY the headers
there are NO .so's and no runnable programs in the case of GDAL
there is NO "gdal_translate" " gdalwarp" "gdalinfo"

GDAL also needs pythonhome set for the VERSION it was built against

i would recommend using the current fwtools 3 for installing GDAL & proj4
( i use GDAL almost every day )
http://fwtools.maptools.org/
http://fwtools.maptools.org/linux-experimental.html

proj4 is already part of it



but you will likely need to install rpmforge repo to install the above

PLEASE READ !!!!! the documentation on fedora
-- mind you the antique fedora 14 docs are old
http://docs.fedoraproject.org/en-US/...tes/index.html
"Software Management Guide"
http://docs.fedoraproject.org/en-US/...ide/index.html


and READ !!!! mjmwired's page
http://www.mjmwired.net/resources/mjm-fedora-f14.html
mind you 14 is 6 versions and 3 +years out of date

also you might want to post on the fedora
Legacy " End Of Life" forum
http://www.forums.fedoraforum.org/forumdisplay.php?f=75


All times are GMT -5. The time now is 05:31 PM.