[Gdal-dev] Python Problems

Norman Vine nhv at cape.com
Fri Dec 3 16:58:24 EST 2004


> 
> Norman,
> 
> python -c 'import sys; print 
> "%s/lib/python%s/"%(sys.prefix,sys.version[:3])'
> 
> returns: /usr/lib/python2.3
> 
> but I think what we want is here: /usr/lib64/python2.3/config/Makefile
> 
> tricky 64-bit architecture messes everything up it seems...

oooooooh ..... just change these

    pythondir=$python_prefix/lib/python${python_version}/site-packages
    pyexecdir=$python_execprefix/lib/python${python_version}/site-packages

to 

    pythondir=$python_prefix/lib64/python${python_version}/site-packages
    pyexecdir=$python_execprefix/lib64/python${python_version}/site-packages

and you might be good to go

Norman




More information about the Gdal-dev mailing list