Don:

The "s" option is not allowed in ar on macos x.  Apparently, the scipy
tarball is a cvs snapshot that changes daily.  That's why it worked for me
when I compiled it a week ago.  I'll send a mail to the scipy mailing list
and see if we can get it changed back the way it was.

-Jeff

 On Thu, 30 May 2002, Don McKenzie Paul wrote:

> I just tried to setup SCiPy and it failed. Anyone have an idea why?
> Everything else on my system seems to be working fine at the moment
> which makes a change.
>
> Don
>
>
> Fink version
> Package manager version: 0.9.12
> Distribution version: 0.4.0.cvs
>
> MacOsX 10.1.4
> Dec Tools
>
> The end of the compilation log is below
>
>
> g77  -Wall -fno-second-underscore  -fPIC   -O3 -funroll-loops
> -I/sw/include -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src  -c
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/linalg/src/calc_lwork.f
> -o build/temp.darwin-5.4-PowerMacintosh-2.2/calc_lwork.o
> ar -curs build/temp.darwin-5.4-PowerMacintosh-2.2/libcalc_lwork.a
> build/temp.darwin-5.4-PowerMacintosh-2.2/calc_lwork.o
> ar: illegal option --
> usage:  ar -d [-TLv] archive file ...
>          ar -m [-TLv] archive file ...
>          ar -m [-abiTLv] position archive file ...
>          ar -p [-TLv] archive [file ...]
>          ar -q [-cTLv] archive file ...
>          ar -r [-cuTLv] archive file ...
>          ar -r [-abciuTLv] position archive file ...
>          ar -t [-TLv] archive [file ...]
>          ar -x [-ouTLv] archive [file ...]
> running build_ext
> scipy.io.numpyio numpyio needs fortran libraries 0 0
> building 'scipy.io.numpyio' extension
> cc -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.2 -c
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c
> -o build/temp.darwin-5.4-PowerMacintosh-2.2/numpyiomodule.o
> In file included from /sw/include/python2.2/pyport.h:93,
>                   from /sw/include/python2.2/Python.h:62,
>                   from
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:24:
> /usr/include/math.h:191: warning: function declaration isn't a prototype
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:32:
> warning: function declaration isn't a prototype
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:
> In function `numpyio_fromfile':
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:133:
> warning: int format, long int arg (arg 3)
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:133:
> warning: int format, long int arg (arg 4)
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:
> In function `numpyio_tofile':
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:332:
> warning: int format, long int arg (arg 3)
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:332:
> warning: int format, long int arg (arg 4)
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:
> At top level:
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:827:
> warning: function declaration isn't a prototype
> /sw/src/scipy-0.2.0-1/SciPy-0.2.0_alpha_101.3442/io/numpyiomodule.c:979:
> warning: function declaration isn't a prototype
> cc -L/sw/lib -bundle -bundle_loader /sw/bin/python
> build/temp.darwin-5.4-PowerMacintosh-2.2/numpyiomodule.o
> -Lbuild/temp.darwin-5.4-PowerMacintosh-2.2 -lc_misc -lcephes
> -lrootfind -lgist -o
> build/lib.darwin-5.4-PowerMacintosh-2.2/scipy/io/numpyio.so
> scipy.linalg.fblas fblas needs fortran libraries 1 1
> building 'scipy.linalg.fblas' extension
> cc -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/sw/include
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src -I/sw/include/python2.2
> -c /sw/lib/python2.2/site-packages/f2py2e/src/fortranobject.c -o
> build/temp.darwin-5.4-PowerMacintosh-2.2/fortranobject.o
> In file included from /sw/include/python2.2/pyport.h:93,
>                   from /sw/include/python2.2/Python.h:62,
>                   from
> /sw/lib/python2.2/site-packages/f2py2e/src/fortranobject.h:7,
>                   from
> /sw/lib/python2.2/site-packages/f2py2e/src/fortranobject.c:2:
> /usr/include/math.h:191: warning: function declaration isn't a prototype
> /sw/lib/python2.2/site-packages/f2py2e/src/fortranobject.c: In
> function `fortran_doc':
> /sw/lib/python2.2/site-packages/f2py2e/src/fortranobject.c:111:
> warning: int format, long int arg (arg 3)
> cc -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/sw/include
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src
> -I/sw/lib/python2.2/site-packages/f2py2e/src -I/sw/include/python2.2
> -c build/temp.darwin-5.4-PowerMacintosh-2.2/fblasmodule.c -o
> build/temp.darwin-5.4-PowerMacintosh-2.2/fblasmodule.o
> In file included from /sw/include/python2.2/pyport.h:93,
>                   from /sw/include/python2.2/Python.h:62,
>                   from
> build/temp.darwin-5.4-PowerMacintosh-2.2/fblasmodule.c:16:
> /usr/include/math.h:191: warning: function declaration isn't a prototype
> cc -L/sw/lib -bundle -bundle_loader /sw/bin/python
> build/temp.darwin-5.4-PowerMacintosh-2.2/fortranobject.o
> build/temp.darwin-5.4-PowerMacintosh-2.2/fblasmodule.o -L/sw/lib
> -Lbuild/temp.darwin-5.4-PowerMacintosh-2.2
> -Lbuild/temp.darwin-5.4-PowerMacintosh-2.2 -lfblas -llapack -lf77blas
> -lcblas -latlas -lc_misc -lcephes -lrootfind -lgist -lg2c -o
> build/lib.darwin-5.4-PowerMacintosh-2.2/scipy/linalg/fblas.so
> /usr/bin/ld: can't locate file for: -lfblas
> error: command 'cc' failed with exit status 1
> ### python failed, exit code 1
> Failed: compiling scipy-0.2.0-1 failed
>

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : [EMAIL PROTECTED]
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to