Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
Thanks a lot for you help. Now it is working, I downloaded the gfortran from http://hpc.sourceforge.net/. Best regards, Arthur On Fri, Sep 25, 2009 at 3:49 PM, Arthur Bousquet wrote: > How can I add the flags ? > > Thank > > Arthur > > > On Fri, Sep 25, 2009 at 3:

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
$ file libsw.so gives : libsw.so: Mach-O bundle i386 How can I change it ? Is it because of my gfortran ? Thanks. - Arthur On Fri, Sep 25, 2009 at 3:30 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 14:08, Arthur Bousquet > wrote: > > Ok, so I re-compiled python (witho

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
p 25, 2009 at 2:53 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 13:43, Arthur Bousquet > wrote: > > Thank you a lot for your help. So I deleted as you said, but then I do > with > > --enable-framework for python, at the make there is an error : > > > > ln -

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
ssary ? - Arthur On Fri, Sep 25, 2009 at 2:22 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 13:02, Arthur Bousquet > wrote: > > I got : > > > > Arths-MacBook-Pro:~ arthbous$ python2.6 > > ActivePython 2.6.2.2 (ActiveState Software Inc.) based on > > Pyth

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
sudo /usr/local/bin/python2.6 setup.py install". How can I get rid of all the other python ? - Arthur On Fri, Sep 25, 2009 at 1:57 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 12:55, Arthur Bousquet > wrote: > > The first line of /usr/local/f2py2.6 is : > > > > #

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
The first line of /usr/local/f2py2.6 is : #!/usr/bin/env python2.6 # See http://cens.ioc.ee/projects/f2py2e/ - Arthur On Fri, Sep 25, 2009 at 1:51 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 12:35, Arthur Bousquet > wrote: > > Thank you. So here the command : > > >

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
at 1:27 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 12:24, Arthur Bousquet > wrote: > > Sorry about that. > > > > I typed in the Terminal "grep isysroot" and it is like nothing is > happening. > > The terminal is still working but does not give an

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
Sorry about that. I typed in the Terminal "grep isysroot" and it is like nothing is happening. The terminal is still working but does not give any response. Arthur On Fri, Sep 25, 2009 at 1:21 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 12:17, Arthur Bousquet > w

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
$ grep isysroot does not work on my computer. Arthur On Fri, Sep 25, 2009 at 12:27 PM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 11:19, Arthur Bousquet > wrote: > > Here my full error : http://dl.getdropbox.com/u/541149/error_f2py.txt > > /Developer/SDKs/MacOSX10.

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
Here my full error : http://dl.getdropbox.com/u/541149/error_f2py.txt Thank you, Arthur On Fri, Sep 25, 2009 at 11:59 AM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 10:48, Arthur Bousquet > wrote: > > I used compiler=gcc, here is the command : > > > > f2py2.6 --fcomp

Re: [Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
=10.6" they all become "10.6" but I still have the same error. Thanks for helping me. Arthur On Fri, Sep 25, 2009 at 11:24 AM, Robert Kern wrote: > On Fri, Sep 25, 2009 at 10:19, Arthur Bousquet > wrote: > > Hello, > > > > I have a Mac with snow leopard

[Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

2009-09-25 Thread Arthur Bousquet
Hello, I have a Mac with snow leopard 10.6. I compiled Python2.6.2, numpy1.3 and matplotlib from the sources. I tried to compiled a library (named libsw), that I have made in fortran, with f2py but I got the following error : running build_ext error: don't know how to compile C/C++ code on platfo