LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2012, 01:09 PM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
installing gdal-1.3.2 in fedora 15 for sumo


hello
i want to install gdal-1.3.2 on fedora 15
i downloaded gdal-1.3.2.tar.gz
but i don't know which libraries are needed?

after ./configure && make install an error is shown
which command is correct?

Quote:
ilwisdataset.cpp: In function 'ilwisStoreType stNeeded(long unsigned int)':
ilwisdataset.cpp:1755:16: error: 'SHRT_MAX' was not declared in this scope
ilwisdataset.cpp: In member function 'void ValueRange::init(double)':
ilwisdataset.cpp:1799:22: error: 'ULONG_MAX' was not declared in this scope
ilwisdataset.cpp:1804:21: error: 'LONG_MAX' was not declared in this scope
ilwisdataset.cpp: In function 'long int longConv(double)':
ilwisdataset.cpp:262:1: warning: control reaches end of non-void function [-Wreturn-type]
thanks for your answers

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

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Something like this ...
# yum install \
python-devel sqlite-devel libgeotiff-devel proj-devel geos-devel cfitsio-devel


./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-gif --with-jpeg --with-ogr --with-sqlite

'gdal-1.3.2' was compiled OK with g++ version 4.1.2 at release time, 2006.
Fedora 15 : Some files will compile with g++34, some with g++ (4.6).

When an error appears, you can do :
export CC=gcc34 CXX=g++34 && ./configure --<options> && make

And switch back when new errors appear :
export CC=gcc CXX=g++ && ./configure --<options> && make

.
 
Old 06-03-2012, 02:08 AM   #3
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Something like this ...
# yum install \
python-devel sqlite-devel libgeotiff-devel proj-devel geos-devel cfitsio-devel


./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-gif --with-jpeg --with-ogr --with-sqlite

'gdal-1.3.2' was compiled OK with g++ version 4.1.2 at release time, 2006.
Fedora 15 : Some files will compile with g++34, some with g++ (4.6).

When an error appears, you can do :
export CC=gcc34 CXX=g++34 && ./configure --<options> && make

And switch back when new errors appear :
export CC=gcc CXX=g++ && ./configure --<options> && make

.
hi
i used these command but the error is appeared
Quote:
ilwisdataset.cpp: In function 'ilwisStoreType stNeeded(long unsigned int)':
ilwisdataset.cpp:1755:16: error: 'SHRT_MAX' was not declared in this scope
ilwisdataset.cpp: In member function 'void ValueRange::init(double)':
ilwisdataset.cpp:1799:22: error: 'ULONG_MAX' was not declared in this scope
ilwisdataset.cpp:1804:21: error: 'LONG_MAX' was not declared in this scope
ilwisdataset.cpp: In function 'long int longConv(double)':
ilwisdataset.cpp:262:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [../o/ilwisdataset.o] Error 1
make[2]: Leaving directory `/home/nadia/work/gdal-1.3.2/frmts/ilwis'
make[1]: *** [ilwis-install-obj] Error 2
make[1]: Leaving directory `/home/nadia/work/gdal-1.3.2/frmts'
make: *** [frmts-target] Error 2
thanks for your help
 
Old 06-03-2012, 04:40 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, you could install gcc41-c++, and make it all in one run.
( I can compile gdal-1.3.2 with either method, no errors.)
http://download.opensuse.org/reposit...E-10_SDK/i586/
# rpm -Uvh cpp41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh libmudflap41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh --nodeps gcc41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh --nodeps libstdc++41-devel-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh gcc41-c++-4.1.2_20070115-47.2.i586.rpm


And by the way :
What makes you think, that you should use this version of gdal ?

.
 
Old 06-03-2012, 07:58 AM   #5
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Well, you could install gcc41-c++, and make it all in one run.
( I can compile gdal-1.3.2 with either method, no errors.)
http://download.opensuse.org/reposit...E-10_SDK/i586/
# rpm -Uvh cpp41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh libmudflap41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh --nodeps gcc41-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh --nodeps libstdc++41-devel-4.1.2_20070115-47.2.i586.rpm
# rpm -Uvh gcc41-c++-4.1.2_20070115-47.2.i586.rpm


And by the way :
What makes you think, that you should use this version of gdal ?

.
hi
thanks for your help
i want to install TRANS. it is used sumo-0.9.8 and gdal-1.3.2.
the fedora 15 has gdal 1.7.3. but i don't know does TRANS work with that or not!!!!!!

best regards
 
Old 06-03-2012, 10:03 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum remove gdal*
# rpm -Uvh gdal-1.3.2-2.f15.i686.rpm
https://docs.google.com/open?id=0B7S...EdPTTREYmxSX3M


TraNS works : java -jar TraNSv1.2.jar
.. with jdk-1.6.0_31-fcs.i586.rpm from
http://ftp.scientificlinux.org/linux...1-fcs.i586.rpm

Sumo : Please see the new answer in your sumo thread.

.
 
1 members found this post helpful.
Old 06-03-2012, 12:41 PM   #7
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# yum remove gdal*
# rpm -Uvh gdal-1.3.2-2.f15.i686.rpm
https://docs.google.com/open?id=0B7S...EdPTTREYmxSX3M


TraNS works : java -jar TraNSv1.2.jar
.. with jdk-1.6.0_31-fcs.i586.rpm from
http://ftp.scientificlinux.org/linux...1-fcs.i586.rpm

Sumo : Please see the new answer in your sumo thread.

.

THANKS knudfl
 
Old 06-03-2012, 03:56 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,686

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
just be warned fedora 15 is end of life and fedora 17 is the current
 
  


Reply

Tags
ns2, sumo, sumo-0.9.8, trans


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
[SOLVED] installing sumo and move on ubuntu umair ahmed Linux - Newbie 77 12-04-2015 01:41 AM
[SOLVED] why sumo 0.9.8 does not installed in fedora 15? nadia_kh Linux - Newbie 17 06-04-2012 03:59 AM
SUMO Installation in Fedora 15 mrnikunjdoshi Linux - Software 13 11-16-2011 02:35 AM
SUMO installation for TraNS on Fedora 12 Pranav Singh Linux - Newbie 3 11-01-2010 11:19 AM
Install of Grass-6.0.0 and Gdal on Fedora Core 3 kwelaman Linux - Software 1 04-20-2005 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

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