[Kst] Problems building the package.
Peter Kümmel
syntheticpp at gmx.net
Thu Mar 7 00:05:20 UTC 2013
On 07.03.2013 00:04, Nicolas Brisset wrote:
> Dear Victor,
>
>> I'm maintaining kst package in Archlinux AUR, but having trouble
>> building kst 2.6. with Archlinux's version of numpy (1.7.0).
> Thanks for maintaining the package!
>
>> Here is the end of error log:
>> -- Installing python support into
>> /var/abs/local/yaourtbuild/kst/pkg/usr/lib/python2.7
>> CMake Error at modules/FindNumPy.cmake:76 (math):
>> math cannot parse the expression: "(1 * 10000) + (7 * 100) + 0b2":
>> syntax
>> error, unexpected exp_NUMBER, expecting $end (29)
>> Call Stack (most recent call first):
>> pyKst/CMakeLists.txt:35 (find_package)
>>
>>
>> -- Found NumPy: version "1.7.0b2"
>> /usr/lib/python2.7/site-packages/numpy/core/include
>>
>>
>>
>> I think the problem is in numpy version - it's not numeric and this
>> makes an error during config. I'm completely nube to cmake, so could
>> you patch FindNumPy.cmake, so it can deal with numbers in version.
> You're probably right.
> Peter is our cmake expert, hopefully he can fix this...
>
> Nicolas
>
Could you replace FindNumPy.cmake in cmake/modules with
http://code.google.com/p/numexpr/source/browse/FindNumPy.cmake
and try if it works with this version?
There is a commit with a promising subject:
"Change FindNumPy.cmake to work in the presence of nonnumerical markers like '1.7.0b2'" ;)
Peter
More information about the Kst
mailing list