Subject: Re: python packages...
To: Marc Recht <marc@informatik.uni-bremen.de>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 06/12/2003 11:51:36
>
> > I can't determine which buildlink2.mk is missing, all packages
> > referenced have one. What am I missing? What might be the proper
> > way to do this?
> including the buildlink2.mk should be enough.
>
> If you send me your complete package I'll have a look.
Ok. I think I figured out most of the dependency issues. Two problms still:
1)
$ make
make: "../../lang/python/../../lang/python/extension.mk" line 25: warning: duplicate script for target "do-build" ignored
make: "../../lang/python/../../lang/python/extension.mk" line 25: warning: using previous script for "do-build" defined here
make: "../../lang/python/../../lang/python/extension.mk" line 29: warning: duplicate script for target "do-install" ignored
make: "../../lang/python/../../lang/python/extension.mk" line 29: warning: using previous script for "do-install" defined here
make: "../../lang/python/../../lang/python/extension.mk" line 25: warning: duplicate script for target "do-build" ignored
make: "../../lang/python/../../lang/python/extension.mk" line 25: warning: using previous script for "do-build" defined here
make: "../../lang/python/../../lang/python/extension.mk" line 29: warning: duplicate script for target "do-install" ignored
make: "../../lang/python/../../lang/python/extension.mk" line 29: warning: using previous script for "do-install" defined here
I don't understand what is going on here
2) I don't understand how the build is generating this error:
...
running build_ext
building 'scipy_base.fastumath' extension
cc -DNDEBUG -g -O3 -Wstrict-prototypes -fPIC -I/usr/pkg/include/python2p2 -c /usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c -o build/temp.netbsd-1.6T-i386-2p2/fastumathmodule.o -O2 -I/usr/pkg/include -I/usr/X11R6/include
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c:1: Python.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c:2: Numeric/arrayobject.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c:3: Numeric/ufuncobject.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c:4: abstract.h: No such file or directory
In file included from /usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumathmodule.c:29:
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumath_nounsigned.inc:2: Python.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumath_nounsigned.inc:3: Numeric/arrayobject.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumath_nounsigned.inc:4: Numeric/ufuncobject.h: No such file or directory
/usr/pkgsrc/math/py-scipy/work.kingu/SciPy-0.2.0_alpha_200.4161/scipy_core/scipy_base/fastumath_nounsigned.inc:5: abstract.h: No such file or directory
error: command 'cc' failed with exit status 1
*** Error code 1
All of these includes are in /usr/pkg/include/python2p2 whose include path has been specified.
-r--r--r-- 1 root wheel 3054 May 28 18:43 /usr/pkg/include/python2p2/Python.h
-r--r--r-- 1 root wheel 36422 May 28 18:43 /usr/pkg/include/python2p2/abstract.h
-rw-r--r-- 1 root wheel 14370 Jun 11 2002 /usr/pkg/include/python2p2/Numeric/arrayobject.h
-rw-r--r-- 1 root wheel 6702 May 9 2001 /usr/pkg/include/python2p2/Numeric/ufuncobject.h
It was building yesterday when I wasn't just using buildlink includes
for determining dependencies.
I'll email you the two needed sharfile packages for this off list.
Thanks for the assistance.