Martin Costabel wrote:
> Alexander Hansen wrote:
> []
>> The following package will be installed or updated:
>> cdat
>> The following 2 additional packages will be installed:
>> scientificpython-py24 scipy-core-py24
> []
>> dpkg: considering removing f2py-py24 in favour of scipy-core-py24 ...
>> dpkg: yes, will remove f2py-py24 in favour of scipy-core-py24.
> []
>> While trying to install:
>> f2py-py24-2.45.241-1004
>>
>> The following inconsistencies found:
>> scipy-core-py24 conflicts with f2py-py24, but f2py-py24 is installed
> []
>> Fink isn't sure how to install the above packages safely. You may be
>> able to
>> fix things by running:
>>
>> fink scanpackages
>> sudo apt-get update
>> sudo apt-get install f2py-py24=2.45.241-1004
> []
>> I was curious whether anybody happened to know if the functionality of
>> f2py has been subsumed into scipy-core, and if we therefore could just
>> kill that dependency.
>
> Actually, scipy-core-pyXX provides f2py-pyXX. The virtual package
> could suffice if the dependency wasn't versioned.
>
>> Also, it looks this is powerpc-only due to the historical lack of a g77
>> for Intels, which has since been remedied.
>
> Seems so. For building cdat, you need to remove "Architecture:
> powerpc" also from languages/pyfort-py, sci/ioapi, graphics/xgks. In
> addition, xgks needs a configure flag "CC=/usr/bin/cc" in order to
> build, otherwise it picks up /usr/bin/c89 and gets very confused.
>
> Likewise, cdat needs "export CC=/usr/bin/cc". It then still didn't
> build, with the following main errors:
>
>> mkdir: illegal option -- -
>> usage: mkdir [-pv] [-m mode] directory ...
>
> (perhaps harmless) and
>
>> ld: library not found for -ldapclient
>> collect2: ld returned 1 exit status
>
> The latter indicates a missing builddep on libdap8 instead of libdap3,
> if libdap8-shlibs is installed. Changing libdap3 to libdap8 made the
> build finally go through for me (10.5/intel).
>
> There are still lots of "incompatible implicit declaration of built-in
> function 'foo'" warnings, with foo=malloc,strlen,strcpy,memcpy etc,
> indicating a couple of missing #includes.
>
It kind of worked. Some of the components didn't build:
dsgrid:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.5-i386-2.4
copying Lib/ds.py -> build/lib.macosx-10.5-i386-2.4
running build_ext
building 'dsgridmodule' extension
creating build/temp.macosx-10.5-i386-2.4
creating build/temp.macosx-10.5-i386-2.4/Src
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dserror.c -o build/temp.macosx-10.5-i386-2.4/Src/dserror.o
In file included from Src/dserror.c:4:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
Src/dserror.c:91: warning: function declaration isn't a prototype
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dsgrid2d.c -o build/temp.macosx-10.5-i386-2.4/Src/dsgrid2d.o
In file included from Src/dsgrid2d.c:3:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dsgrid2s.c -o build/temp.macosx-10.5-i386-2.4/Src/dsgrid2s.o
In file included from Src/dsgrid2s.c:3:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
Src/dsgrid2s.c: In function 'c_dsgrid2s':
Src/dsgrid2s.c:19: warning: function returns address of local variable
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dsgrid3d.c -o build/temp.macosx-10.5-i386-2.4/Src/dsgrid3d.o
In file included from Src/dsgrid3d.c:4:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
Src/dsgrid3d.c:144: warning: function declaration isn't a prototype
Src/dsgrid3d.c: In function 'svalue':
Src/dsgrid3d.c:280: warning: unused variable 'ia'
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dsgrid3s.c -o build/temp.macosx-10.5-i386-2.4/Src/dsgrid3s.o
In file included from Src/dsgrid3s.c:4:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
Src/dsgrid3s.c:144: warning: function declaration isn't a prototype
Src/dsgrid3s.c: In function 'svalue_s':
Src/dsgrid3s.c:278: warning: unused variable 'ia'
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dsgridmodule.c -o build/temp.macosx-10.5-i386-2.4/Src/dsgridmodule.o
Src/dsgridmodule.c:1691: warning: function declaration isn't a prototype
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/dssprtd.c -o build/temp.macosx-10.5-i386-2.4/Src/dssprtd.o
In file included from Src/dssprtd.c:4:
Include/dsproto.h:41: warning: function declaration isn't a prototype
Include/dsproto.h:42: warning: function declaration isn't a prototype
Include/dsproto.h:54: warning: function declaration isn't a prototype
In file included from Src/dssprtd.c:5:
Include/dsgvars.h:15: error: initializer element is not constant
error: command '/usr/bin/cc' failed with exit status 1
natgrid:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.5-i386-2.4
copying Lib/nat.py -> build/lib.macosx-10.5-i386-2.4
running build_ext
building 'natgridmodule' extension
creating build/temp.macosx-10.5-i386-2.4
creating build/temp.macosx-10.5-i386-2.4/Src
/usr/bin/cc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude
-I/sw/src/fink.build/root-cdat-4.0-1012/sw/include/python2.4 -c
Src/natgrid.c -o build/temp.macosx-10.5-i386-2.4/Src/natgrid.o
In file included from Src/natgrid.c:6:
Include/nnmhead.h:45: warning: function declaration isn't a prototype
Include/nnmhead.h:45: error: initializer element is not constant
Include/nnmhead.h:48: warning: function declaration isn't a prototype
Include/nnmhead.h:50: warning: function declaration isn't a prototype
Include/nnmhead.h:57: warning: function declaration isn't a prototype
Include/nnmhead.h:60: warning: function declaration isn't a prototype
Include/nnmhead.h:61: warning: function declaration isn't a prototype
Include/nnmhead.h:62: warning: function declaration isn't a prototype
Include/nnmhead.h:63: warning: function declaration isn't a prototype
Include/nnmhead.h:64: warning: function declaration isn't a prototype
Include/nnmhead.h:65: warning: function declaration isn't a prototype
Include/nnmhead.h:66: warning: function declaration isn't a prototype
Include/nnmhead.h:67: warning: function declaration isn't a prototype
Include/nnmhead.h:68: warning: function declaration isn't a prototype
Include/nnmhead.h:69: warning: function declaration isn't a prototype
Include/nnmhead.h:70: warning: function declaration isn't a prototype
Include/nnmhead.h:71: warning: function declaration isn't a prototype
Include/nnmhead.h:72: warning: function declaration isn't a prototype
Include/nnmhead.h:73: warning: function declaration isn't a prototype
Include/nnmhead.h:74: warning: function declaration isn't a prototype
Include/nnmhead.h:75: warning: function declaration isn't a prototype
Include/nnmhead.h:76: warning: function declaration isn't a prototype
Include/nnmhead.h:77: warning: function declaration isn't a prototype
Include/nnmhead.h:78: warning: function declaration isn't a prototype
Include/nnmhead.h:79: warning: function declaration isn't a prototype
Include/nnmhead.h:80: warning: function declaration isn't a prototype
Include/nnmhead.h:81: warning: function declaration isn't a prototype
Include/nnmhead.h:82: warning: function declaration isn't a prototype
In file included from Src/natgrid.c:7:
Include/nnghead.h:40: warning: function declaration isn't a prototype
Include/nnghead.h:42: warning: function declaration isn't a prototype
Include/nnghead.h:44: warning: function declaration isn't a prototype
Src/natgrid.c:13: warning: function declaration isn't a prototype
error: command '/usr/bin/cc' failed with exit status 1
pyIoapi:
pyIoapi-2005-09-21.tar.gz
Installation to /sw/src/fink.build/root-cdat-4.0-1012/sw
Traceback (most recent call last):
File "setup.py", line 42, in ?
from scipy_distutils.core import setup, Extension
ImportError: No module named scipy_distutils.core
----
These failure didn't stop the build from proceeding to the end and
generating a .deb, though.
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel