[SciPy-dev] Cygwin build problems

Jochen Küpper jochen at unc.edu
Sun Apr 7 14:47:21 EDT 2002


On Sun, 7 Apr 2002 05:11:50 -0500 (CDT) pearu  wrote:

pearu> Where this -lpython2.2 comes? Adding
pearu> -L/usr/lib/python2.2/config should be done in the place where
pearu> -lpython2.2 is added but I cannot figure out where.

Ok, it comes from 
,----
| /usr/lib/python2.2/distutils/command/build_ext.py
`----

>> But all I get is an error
pearu> <snip>
>> | AttributeError: 'NoneType' object has no attribute 'get'

Yep, but even with the following site.cfg the library isn't found:
,----[cat scipy_distutils/site.cfg]
| [DEFAULT]
| lib_dir = /usr/local/lib:/opt/lib:/usr/lib:/lib:/usr/lib/python2.2/config
`----
I get
,----
| /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -lpython2.2
| collect2: ld returned 1 exit status
| error: command 'g77' failed with exit status 1
`----


Greetings,
Jochen
-- 
University of North Carolina                       phone: +1-919-962-4403
Department of Chemistry                            phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)                    fax: +1-919-843-6041
Chapel Hill, NC 27599, USA                            GnuPG key: 44BCCD8E




More information about the SciPy-Dev mailing list