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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-02-2012, 01:09 PM
|
#1
|
Member
Registered: May 2012
Posts: 30
Rep: 
|
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.
|
|
|
06-02-2012, 06:40 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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
.
|
|
|
06-03-2012, 02:08 AM
|
#3
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
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
|
|
|
06-03-2012, 04:40 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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 ?
.
|
|
|
06-03-2012, 07:58 AM
|
#5
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
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
|
|
|
06-03-2012, 12:41 PM
|
#7
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
|
THANKS knudfl
|
|
|
06-03-2012, 03:56 PM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,686
|
just be warned fedora 15 is end of life and fedora 17 is the current
|
|
|
All times are GMT -5. The time now is 06:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|