On Sun, 01 Mar 2009 13:02:32 +0100, Martin Costabel <costa...@wanadoo.fr>  
wrote:

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

I do not see any unstable version of python25, even when both the normal  
and the crypto checkbox in FC's preferences are set to use unstable.

> Do you have any openssl-related things in /usr/local?

Yes, in /usr/local/mysql/ .

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

An empty /usr/local/lib/ is then created by the build script, but that  
aside, moving /usr/local away does not seem to change anything.


> You could hack setup.py during the build phase

Stop, tweak, resume - simple ideas can be so useful! Thanks, I did not  
think of that.

This is what I get:

search_for_ssl_incs_in = ['/usr/local/ssl/include',  
'/usr/contrib/ssl/include/']
ssl_incs = None
ssl_libs = []
openssl_ver = 0x0090808f

The version number suggests that /sw/bin/openssl is used, although the  
trailing letters differ, Anyway, these values applied to the logic from  
line 570 to line 595 in setup.py explain why no sha256 or sha512 modules  
are built.

Looking more closely at the buildlog I noticed that setup.py is also  
patched. The used patchfile is  
/sw/fink/dists/stable/main/finkinfo/languages/python25.patch . It includes  
this change to setup.py:

@@ -526,6 +528,7 @@
        ssl_incs = find_file('openssl/ssl.h', inc_dirs,
                             search_for_ssl_incs_in
                             )
+       ssl_incs = None # suppress SSL support.
        if ssl_incs is not None:
            krb5_h = find_file('krb5.h', inc_dirs,
                               ['/usr/kerberos/include'])

I guess SSL is suppressed for a reason, but which is that? If you do have  
_sha256.so and _sha512.so, what is different?


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

____________________________________________________________
Receive Notifications of Incoming Messages
Easily monitor multiple email accounts & access them with a click.
Visit http://www.inbox.com/notifier and check it out!

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