zooloo wrote:
[]
> 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"

This looks all normal (i.e. like on my system, where the _sha256.so 
module does build).

I see that one of the changes between the python25 version in the stable 
tree and the one in the unstable tree concerns the detection of the 
openssl include directory, but I have currently no possibility of 
testing a Fink stable tree on 10.4 (and with 10.5/stable and 
10.4/unstable, I don't get your problem).

Do you have any openssl-related things in /usr/local? If you have 
anything at all in /usr/local, it would be a good idea to look if 
building python25 while /usr/local is moved out of the way changes anything.

> 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.

You could hack setup.py during the build phase, like running "fink 
rebuild python25" until the patch scripts are applied and the configure 
script starts working, then hit ctrl-z. Then you can edit setup.py, 
uncomment that print statement and perhaps throw in other ones like

         print search_for_ssl_incs_in

Then type "fg" to continue the build process.

-- 
Martin

------------------------------------------------------------------------------
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

Reply via email to