pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: freecad (was: Re: Anyone able to run blender on netbsd-10 amd64?)



mlh%goathill.org@localhost (MLH) wrote:
>Robert Swindells wrote:
>> 
>> mlh%goathill.org@localhost (MLH) wrote:
>> >Robert Swindells wrote:
>> >> 
>> >...
>> >
>> > wip/py-pyside-setup is failing to locate :
>> >
>> >   46 | #include <numpy/arrayobject.h>
>> >
>> > With python2.7, this file was located in:
>> > .../site-packages/numpy/core/include/numpy/arrayobject.h
>> >
>> > But with 3.x it is located in:
>> > .../site-packages/numpy/_core/include/numpy/arrayobject.h
>> >                        ^
>> > So I wonder if it is looking for it in core instead of _core?
>> 
>> I didn't add py-numpy to wip/py-pyside-setup, it built before, don't
>> know why it is needed.
>
> numpy is getting pulled in by
>
> Package `py311-numpy-2.2.3' is still required by other packages:
>         py-boost-cmake-1.87.0
>         py311-boost-1.87.0nb1
>
> When I delete py311-numpy-2.2.3, and removed:
> #.include "../../math/py-numpy/buildlink3.mk"
> py-pyside-setup builds

I think it is really that if the py-pyside-setup configuration scripts
find numpy in /usr/pkg then they will try to use it, but the build
scripts for the generated sources for bindings have not been told to
look in .buildlink for the headers.

If you start by building wip/freecad then it will build py-boost before
trying to build py-pyside-setup so numpy will be there.

Starting to think it would be quicker to write a CAD package that
doesn't use Python.


Home | Main Index | Thread Index | Old Index