I'll take bmaret off this thread, since we're now fighting with python25, and cc _that_ maintainer.
On Feb 28, 2009, at 8:53 PM, zooloo wrote: > On Sat, 28 Feb 2009 22:51:36 +0100, Martin Costabel <costa...@wanadoo.fr > > wrote: > >> What you need to find out is why your python25 decides not to build >> the _sha* modules. There is some logic in setup.py that looks at >> openssl versions and then decides to build _sha256.so. > > Here are the version info you requested: > > $ /usr/bin/openssl version > OpenSSL 0.9.7l 28 Sep 2006 > > $ grep VERSION_NUMBER /usr/include/openssl/opensslv.h > #define OPENSSL_VERSION_NUMBER 0x009070cfL > * The current library version is stored in the macro > SHLIB_VERSION_NUMBER, > #define SHLIB_VERSION_NUMBER "0.9.7" > > > However: > > $ /sw/bin/openssl version > OpenSSL 0.9.8h 28 May 2008 > > $ grep VERSION_NUMBER /sw/include/openssl/opensslv.h > #define OPENSSL_VERSION_NUMBER 0x0090808fL > * The current library version is stored in the macro > SHLIB_VERSION_NUMBER, > #define SHLIB_VERSION_NUMBER "0.9.8" > > > Perhaps this difference contributes to the confusion? I have naively > tried to get setup.py to print out what it considers openssl_ver by > uncommenting line 568: > #print 'openssl_ver = 0x%08x' % openssl_ver > > but due to the changed python-2.5.1.tgz, that only triggers a source > checksum error. In order to avoid further package inconsistencies > that could lead to much more work later, I prefer not to fiddle with > the integrity checks. > > (For the same reason, I am hoping it will be possible to track down > the issue and find a clean fix, rather than a manual workaround > including foreign packages.) > > > Another question is raised by > > $ which openssl > /sw/bin/openssl > > whereas setup.py appears to look at /usr/bin/openssl first. That's deliberate. > > > > Zoo Loo > > -- > Package manager version: 0.28.6 > Distribution version: selfupdate-rsync Tue Feb 24 07:11:36 2009, > 10.4, i386 > Mac OS X version: 10.4.11 > Xcode version: 2.5 > gcc version: 4.0.1 (Apple Computer, Inc. build 5370) > make version: 3.80 > Feedback Courtesy of FinkCommander Try removing the "openssl" package via Fink Commander or fink, and then do another rebuild of python25. It might be that python25 gets confused by openssl098 (we've had occasional problems with other packages in this regard). > --AH ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.beginners