On 06/11/13 17:37, Baz Walter wrote:
On 06/11/13 09:11, Phil Thompson wrote:
On Tue, 05 Nov 2013 23:22:20 +0000, Baz Walter <[email protected]> wrote:
On 05/11/13 10:01, Phil Thompson wrote:

Tried to build the python bindings for the latest snapshot but it fails:

$ /usr/local/opt/snapshot/bin/python3 configure.py -c -j 4 -q
/usr/bin/qmake-qt4 -o /usr/local/opt/snapshot/lib/qt4/lib -n
/usr/local/opt/snapshot/lib/qt4/include -a
/usr/local/opt/snapshot/lib/qt4/qsci
--sip=/usr/local/opt/snapshot/bin/sip && make

Looks like you are picking up the header files of an older version of
QScintilla.

Yes, but I'm giving the location of the qsci library and qsci header
file with the -o and -n options, and the specified directories are
completely clean.

Compiling QScintilla-2.7.2 with the exact same setup works as expected
(i.e. it picks up the newly installed qscintilla header, not the system
one).


Okay, I see what's happening now. I had assumed that the -n option would override the default, but it doesn't - it just appends it to the existing list of include paths. In my case, the existing list already has /usr/include/qt4, which effectively masks the path I specified with the -n option.

I'm somewhat baffled that I've never encountered this issue before, because I've been using the same build method for years without any problems. Obviously something changed while I wasn't looking...

--
Regards
Baz Walter
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to