Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Robin Burchell
On 9. aug. 2013, at 10:03, christopher.l...@thurweb.ch wrote: > BuildRequires: pkgconfig(QtCore) >= 4.7.0 > BuildRequires: pkgconfig(QtDeclarative) > BuildRequires: pkgconfig(QtContacts) > BuildRequires: pkgconfig(qdeclarative-boostable) > BuildRequires: pkgconfig(TelepathyQt5) > BuildRequires

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Jonni Rainisto
You are trying to pkgconfig stuff that doesn't have corresponding .pc file. In mersdk vm, if you "su -l mersdk" and do "sb2 ls /usr/lib/pkgconfig" you can see available pkgconfig packages. If there is no pkgconfig package avail then you most likely just need to BuildRequire the -devel package t

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread christopher . lamb
Hi Jonni Could you clarify you answer here: Zitat von "Jonni Rainisto" : Other option would just to add depency to spec file (or to yaml), that way package gets automatically installed to toolchain while building. BuildRequires: pkgconfig(python-2.7) In my case the Build fails with an

Re: [SailfishDevel] Include Python.h

2013-08-06 Thread FIlip Kłębczyk
W dniu 06.08.2013 11:03, christopher.l...@thurweb.ch pisze: Salut Benoit Have you tried installing python-devel via the SDK Control Center in QtCreator. (The Sailfish Icon on the left side of QtCreator) He wrote that he installed it through Zypper so he has Python.h, the source of problem is

Re: [SailfishDevel] Include Python.h

2013-08-06 Thread christopher . lamb
Salut Benoit Have you tried installing python-devel via the SDK Control Center in QtCreator. (The Sailfish Icon on the left side of QtCreator) I have just done so, an now have a python.h file in the toolchain (before I had none). Chris Zitat von "Benoît HERVIER" : Morning I'm currentl

[SailfishDevel] Include Python.h

2013-08-06 Thread Benoît HERVIER
Morning I'm currently facing a problem that i didn't understand : ./qpython.h:4:20: fatal error: Python.h: No such file or directory qpython.h #ifndef _QPYTHON_H #define _QPYTHON_H #include "Python.h" I ve installed via zypper python-devel in mersdk vm. I've even added hardcoded p