[Kst] Problems building the package.

Nicolas Brisset nicolas.brisset at free.fr
Tue Mar 12 00:07:36 UTC 2013


Hi,

Have you been able to fix your issue with Peter's hint? It would be nice to receive your feedback!

Nicolas

----- Mail original -----
> De: "Peter Kümmel" <syntheticpp at gmx.net>
> À: kst at kde.org
> Envoyé: Jeudi 7 Mars 2013 01:05:20
> Objet: Re: [Kst] Problems building the package.
> 
> 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
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
> 


More information about the Kst mailing list