[Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread Charles سمير Doutriaux
Hi, I cannot build any f2py extension under nupmy 4.1 on Mac snow leopard. Everything (python/numpy) has been built 64bit. I'm attaching the log of a VERY simple piece of code, that always worked fine before. Any idea on why it's not finding the basic python things (Py_BuildValue for

Re: [Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread Robert Kern
2010/6/16 Charles سمير Doutriaux doutria...@llnl.gov: Hi, I cannot build any f2py extension under nupmy 4.1 on Mac snow leopard. Everything (python/numpy) has been built 64bit. I'm attaching the log of a VERY simple piece of code, that always worked fine before. Any idea on why it's not

Re: [Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread Charles سمير Doutriaux
Hi Robert, You're right. I finally figured out which flag was missing I'm posting it here as a reference for others: I needed to add: -undefined dynamic_lookup I also removed -fPIC Hope this helps somebody else. Do you think it would be possible to have LDFLAGS added to the default ones? Or

Re: [Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread Robert Kern
2010/6/16 Charles سمير Doutriaux doutria...@llnl.gov: Hi Robert, You're right. I finally figured out which flag was missing I'm posting it here as a reference for others: I needed to add: -undefined dynamic_lookup I also removed -fPIC Hope this helps somebody else. Do you think it

Re: [Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread David
On 06/17/2010 03:05 AM, Charles سمير Doutriaux wrote: Hi Robert, You're right. I finally figured out which flag was missing I'm posting it here as a reference for others: I needed to add: -undefined dynamic_lookup I also removed -fPIC Hope this helps somebody else. Do you think it