Brice,
Thank you.
I removed the older version of gdal that came with RHEL, placed the
correct path in ld.so.conf and now it installs properly and I can
import the module in python!
~ Allen
On May 11, 2010, at 3:57 PM, Brice Lambi wrote:
There is really no reason to remove the 1
There is really no reason to remove the 1.7.2 you've built. If you're
going to install in the same location then all will be overwritten, if
you install in a new location then it might be best to cleanup the
unused stuff. I think you can do 'make uninstall' as well.
Cheers,
Brice
Allen Rongone
Brice,
Thank you for all your help. However, I did want to know if I need to
back out all the gdal-1.7.2 I just installed before I start over, or
can I just run the make clean/ configure /make /make install, again
after I remove the old gdal from the system? And if so, how would that
be
It really looks like a linking error, make sure that
/opt/GOESR/local/lib is in your LD_LIBRARY_PATH before /usr/lib or
/usr/local/lib. If you won't use it, it would probably be best to
remove all gdal stuff from yum just to avoid any confusion.
Also when you ran python setup.py install in the sw
On May 11, 2010, at 1:19 PM, Brice Lambi wrote:
What is your python path?
# python
import sys
sys.path
What does that say? It might have linked against the wrong version of
gdal or it might be finding another gdal library in your path. If you
are using the default python (/usr/bin/python)
What is your python path?
# python
>>> import sys
>>> sys.path
What does that say? It might have linked against the wrong version of
gdal or it might be finding another gdal library in your path. If you
are using the default python (/usr/bin/python) it is probably finding
something in /usr/lib
Brice,
I think I was using the tarball specific to the python module. I
think I downloaded the correct one now - gdal-1.7.2.tar.gz
I ran the configure script as such:
# ./configure --prefix=/opt/GOESR/local --with-python
Then a make
# make
T
Hi Allen,
Are you sure you are downloading the source tarball?
http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz
Try that link then the steps listed below. If configure complains about
missing dependencies use yum to install those.
Good luck,
Brice
Allen Rongone wrote:
> Hi Brice,
>
> Wh
Hi Brice,
When I download and untar gdal-1.7.1.tar.gz, there is no configure
script to run.
Here is a directory listing of what I get after untarring:
[r...@psd14 GDAL-1.7.1]# ls
build fallback_build.bat GDAL.egg-info gdal.py GNUmakefile
osgeo PKG-INFOsamples setup.cfg
Brice,
On May 6, 2010, at 12:47 PM, Brice Lambi wrote:
Hi Allen,
Are you compiling from source?
- No, I'm using easy_install which came with setuptools. We are
building about 30 packages that we need to push out to 50 workstations
for our developers.
I was hoping to avoid building ev
Allen Rongone wrote:
I can not find the setup.py to edit and change the location of
gdal-config. easy_install must clean everything up if it fails.
yes, it's a bit annoying that way.
Does anyone know how to get this to work or will we have to do
without GDAL in python?
I"d do withou
Allen Rongone wrote:
I have installed the setuptools 0.6c11 and am using easy_install
My gdal-config is in /usr/bin, however, when I run easy_install
GDAL it complains that it "Could not run gdal-config!!!" and then
contiues on complaining about a bunch of stuff not being declared.
T
Hello All,
New here so don't beat me up to bad.
I'm trying to get the GDAL module to install on a Red Hat Enterprise
Linux 5.4 64-bit workstation running Python 2.6.5.
I have installed the setuptools 0.6c11 and am using easy_install
My gdal-config is in /usr/bin, however,
13 matches
Mail list logo