[MMTK] netCDF problem during installation

Ramon Crehuet rcrehuet at gmail.com
Tue Jan 29 09:17:35 UTC 2008


Thanks for your help!
It works fine now.
Do you want me to test anything in particular with respect to netcdf 4.0?
Cheers,
Ramon


2008/1/28, Konrad Hinsen <hinsen at cnrs-orleans.fr>:
>
> On Jan 28, 2008, at 10:45, Ramon Crehuet wrote:
>
> > I see. Indeed arrayobject.h is not in /usr/include but in /usr/
> > local/include/python2.5/Numeric/ so I guess I have to edit setup.py
> > Could you please give me a hint on which lines to change? Otherwise
> > I could symbolic link /usr/include to /usr/local/include. Which one
> > would you recommend?
> > Thanks,
> > Ramon
> >
> > PD. I'm using OpenSuse 10.3. Just to warn other users of this
> > (popular)  distribution.
>
> The Python distutils installation in OpenSuse is broken, and that's
> what causes your error messages. They have modified distutils such
> that modules are installed in /usr/local instead of /usr/bin (where
> python is located), but they did not modify the include path for
> header files. I have filed a bug report about this long ago.
>
> As a workaround, do
>
>         export CPATH=/usr/local/include/python2.5
>
> and then run the compilation/installation of ScientificPython and MMTK.
>
> Konrad.
> --
> ---------------------------------------------------------------------
> Konrad Hinsen
> Centre de Biophysique Moléculaire, CNRS Orléans
> Synchrotron Soleil - Division Expériences
> Saint Aubin - BP 48
> 91192 Gif sur Yvette Cedex, France
> Tel. +33-1 69 35 97 15
> E-Mail: hinsen at cnrs-orleans.fr
> ---------------------------------------------------------------------
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://starship.python.net/pipermail/mmtk/attachments/20080129/6cae31fd/attachment.htm 


More information about the mmtk mailing list