[Gdal-dev] gdal/python

Maciek Sieczka werchowyna at pf.pl
Tue Jul 20 16:43:35 EDT 2004


Hi Frank!

> I don't know what is up with the python configuration.  I gather you
> have some sort of non-standard python installation?  Do you have a
> /usr/lib/python2.3/config/Makefile file?  The python config code tries
> to find this to extract various build options from.

I'm using Mandrake 9.2 BlueHawk. I don't even have the
/usr/lib/python2.3/config folder (but plenty of other floders in the
/usr/lib/python2.3). I checked my urpmi database (all the rpms
on my CDs and the Madrake's ftp 'contrib' repository) with
"urpmf python -a python2.3/config"  which gave no result and
with "urpmf python -a Makefile" which gave as follows:

swig:/usr/share/doc/swig-1.3.19/Examples/python/callback/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/class/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/constants/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/enum/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/exception/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/exceptshadow/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/extend/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/funcattr/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/funcptr/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/funcptr2/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/functor/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/import/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/import_template/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/libffi/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/mpointer/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/multimap/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/operator/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/pointer/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/reference/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/shadow/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/simple/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/smartptr/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/std_vector/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/template/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/value/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/varargs/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/python/variables/Makefile
swig:/usr/share/doc/swig-1.3.19/Examples/test-suite/python/Makefile
pymol:/usr/lib/python2.2/site-packages/pymol/modules/chempy/tinker/Makefile
python-reportlab:/usr/lib/python2.3/reportlab/lib/Makefile.pre.in

Is any of these the one I need?

Besides I have also checked the python-2.3-3mdk.src.rpm where I've found

/Python-2.3/Makefile.pre.in
/Python-2.3/Demo/embed/Makefile
/Python-2.3/Demo/pysvr/Makefile
/Python-2.3/Doc/Makefile
/Python-2.3/Doc/Makefile.deps
/Python-2.3/Doc/info/Makefile
/Python-2.3/Doc/tools/sgmlconv/Makefile
/Python-2.3/Mac/MPW/Makefile
/Python-2.3/Mac/OSX/Makefile
/Python-2.3/Modules/expat/Makefile.in
/Python-2.3/PC/os2emx/Makefile
/Python-2.3/PC/os2vacpp/makefile
/Python-2.3/PC/os2vacpp/makefile.omk
/Python-2.3/RISCOS/Makefile
/Python-2.3/Tools/freeze/makemakefile.py
/Python-2.3/Tools/freeze/winmakemakefile.py

Any of these?

Do I have to build Python on my own?

What do I actually need the Python for in Gdal? Would Gdal build anyway if I
couldn't make Python cooperate and how far would the usability of Gdal be
limited if so?

> > Can somebody tell me BTW what options to pass to configure to optimise
> > the Fortran code (there is some in Gdal, right?)? I can't make it out of
> > the g77 info and man, as for an amateur the gcc man is much more
> > understandable I think.

> There is no FORTRAN code in GDAL.  I haven't even had many requests to
> build FORTRAN interfaces to GDAL.

Thanks. As I wrote I'm a complete beginner. I simply thought that since
there was g77 and fortran mentioned several times in the config.log there
must be a fortran code in Gdal :).

Maciek




More information about the Gdal-dev mailing list