-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/22/10 9:15 AM, Ebrahim Mayat wrote:
> HELLO ALL
> 
> While running a simple configuration test:
> 
> for i in "$python_path/lib/python$PYTHON_VERSION/config/"  
> "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/ 
> config/" "$python_path/lib/pytho$
>                  python_path=`find $i -type f -name libpython 
> $PYTHON_VERSION.* -print | sed "1q"`
>                  if test -n "$python_path" ; then
>                          break
>                  fi
>          done
> 
> I got the following error:
> 
> checking for Python library path... error: cannot find Python library  
> path
> 
> Then I realized that "libpython2.5.dylib" was missing from my system / 
> usr/lib/python2.5/config/ directory
> 
> 
> $ ls /usr/lib/python2.5/config
> Makefile              Setup.config            config.c                
> install-sh              python.o
> Setup                 Setup.local             config.c.in             
> libpython2.5.a          makesetup
> 
> $ ls /sw/lib/python2.5/config
> Makefile              Setup.config            config.c                
> install-sh              libpython2.5.dylib       
> python.o
> Setup                 Setup.local             config.c.in             
> libpython2.5.a          makesetup
> 
> Copying (as root) the fink libpython2.5.dylib to /usr/lib/python2.5/ 
> config/ solved my problem.
> 
> My question is: Is my system python installation normal (i.e. without  
> libpython2.5.dylib) or do I have a faulty installation ?
> 
> Many Thanks.
> Ebrahim
> 
> 

(you would have been better off to copy /usr/lib/libpython2.5.dylib)

It's normal not to have /usr/lib/python2.5/config/libpython2.5.dylib.
Your script is appropriate for Fink's python2X, which install in
%p/lib/python2.X/config, but not for Apple's Python, which does not.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzBlxUACgkQB8UpO3rKjQ8q/gCfQdNhmiOG3cwDcYBjDWD2xkAy
VFoAnRX5s7v+8bDP6xF34EY2i5Wf/EYz
=uKnk
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to