Re: compile Py2.6 on SL

2010-09-19 Thread Martin v. Loewis
Am 16.09.2010 17:34, schrieb moerchendiser2k3:
> Hi,
> 
> I have some trouble with Python on Snow Leopard (10.6.3). I compile
> Python as a framework(for 32/64bit) without any problems.
> But implementing the lib in my C app, I get the following error on
> linking:
> 
> Undefined symbols:
>   "_Py_InitModule4_64", referenced from:
>   RegisterModule_BPY(char const*, PyMethodDef*, char const*,
> _object*, int)in i_moduleobject.o
> ld: symbol(s) not found
> 
> I read a lot of stuff about this problem, but nothing helped me. My
> app is in 64-bit and I compiled Python for 32/64bit.

I'm skeptical that you did - if you really *had* compiled Python for
AMD64, this error would not have occured. Please use file/lipo to
verify that the Python library really is available as 64-bit code.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: compile Py2.6 on SL

2010-09-17 Thread Aahz
In article <4c934f3c$0$5417$ba4ac...@reader.news.orange.fr>,
Michel Claveau - MVP  wrote:
>
>SL (SilverLight) is a library/techno who give functions.
>You cannot compile Python on SL (SilverLight).

SL (Snow Leopard) is a popular platform for Python development.  I
suppose this is another argument against TLAs.
-- 
Aahz (a...@pythoncraft.com)   <*> http://www.pythoncraft.com/

"The volume of a pizza of thickness 'a' and radius 'z' is
given by pi*z*z*a"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: compile Py2.6 on SL

2010-09-17 Thread Jason Swails
On Fri, Sep 17, 2010 at 7:21 AM, Michel Claveau - MVP
 wrote:

> Hello!
>
> SL (SilverLight) is a library/techno who give functions.
> You cannot compile Python on SL (SilverLight).
>

I think the original thread meant Snow Leopard (the latest Mac OS X)


>
> @-salutations
> --
> Michel Claveau
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: compile Py2.6 on SL

2010-09-17 Thread Michel Claveau - MVP
Hello!

SL (SilverLight) is a library/techno who give functions.
You cannot compile Python on SL (SilverLight).

@-salutations
-- 
Michel Claveau 
-- 
http://mail.python.org/mailman/listinfo/python-list


compile Py2.6 on SL

2010-09-16 Thread moerchendiser2k3
Hi,

I have some trouble with Python on Snow Leopard (10.6.3). I compile
Python as a framework(for 32/64bit) without any problems.
But implementing the lib in my C app, I get the following error on
linking:

Undefined symbols:
  "_Py_InitModule4_64", referenced from:
  RegisterModule_BPY(char const*, PyMethodDef*, char const*,
_object*, int)in i_moduleobject.o
ld: symbol(s) not found

I read a lot of stuff about this problem, but nothing helped me. My
app is in 64-bit and I compiled Python for 32/64bit.
When I compile exactly the same package with the same configure flags
under Leopard (10.5.8) it works fine.
Any ideas?

Thanks a lot!

Bye, moerchendiser2k3
-- 
http://mail.python.org/mailman/listinfo/python-list