Re: Building M2Crypto-0.17 on MacOS X

Martin Paljak <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
Hi,

I have, and there was even a small patch for that. Not sure what is  
the problem for you though. I did build against a custom openssl as  
well. If you look at older revisions of setup.py maybe you find the  
missing piece.
svn log tells me:

------------------------------------------------------------------------
r436 | heikki | 2006-05-04 00:51:07 +0300 (Thu, 04 May 2006) | 2 lines

Commenting out the search_paths_first trick for now because
it breaks at least Cygwin.
------------------------------------------------------------------------
r434 | heikki | 2006-05-03 00:39:28 +0300 (Wed, 03 May 2006) | 2 lines

According to Martin Paljak, latest darwin universal Python
requires -Wl,-search_paths_first extra link args.



On 22.01.2007, at 20:06, Heikki Toivonen wrote:

> Marc Hedlund wrote:
>> I've been struggling all day to get a working version of  
>> M2Crypto-0.17
>> that I can distribute with an application built on MacOS X, using
>> py2app. Following all of the instructions in INSTALL, I can build an
>> extension for i386, but the Universal build fails.
>
> The only other thing to check would be that you have swig 1.3.24 or
> later, but I doubt this is your issue. Also, if you use any stuff  
> built
> by Apple (openssl for instance), it can be hard getting things to work
> as Apple seems to build things with unusual options, and occasionally
> new OS updates change how things were built...
>
> I have personally not even tried building universal binaries, but I do
> build successful ppc and intel bits on the Mac.
>
> -- 
>   Heikki Toivonen
>
>

-- 
Martin Paljak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.