[QScintilla] Issue building QScintilla2 python bindings

Phil Thompson phil at riverbankcomputing.com
Fri Apr 20 19:19:35 BST 2007


On Friday 20 April 2007 6:47 pm, Pete Parks wrote:
> I'm in the process of trying to install Eric4 on Mac OS X and am hitting
> the following issue at step #5 trying to build the QScintilla Python
> bindings, I'm getting the errors listed below section "###error". I was
> wondering if someone can tell what's casing this. I also included the
> python configure.py output for context.
>
> Pete
>
>
> 1. Install Qt4  -- qt-mac-opensource-4.2.3.dmg
>    Install from.dmg installer
>
> 2. Build and install sip  -- sip-4.6.tar
>    python configure.py
>    make
>    sudo make install
>
> 3. Build & install QScintilla2 -
> QScintilla-1.73-gpl-2-snapshot-20070410.tar % cd into Qt4
>    qmake qscintilla.pro 
>      ** I didn't mode the qscintilla.pro and I didn't add the -macx to
> qmake Xcode build qscintilla2.xcodeproj
>
> 4. Build and install PyQt4  -- PyQt-mac-gpl-4.2.tar
>    python configure.py
>    % yes
>    make
>    sudo make install
>
> 5. Build and install QScintilla2 Python bindings
>    python configure.py
>    make
>    sudo make install
>
> 6. Install eric4  --eric4-snapshot-20070411.tar
>    python install.py
>
>
>
> python configure.py
> Qsci/qsciglobal.h could not be found in /usr/include. If QScintilla is
> installed then use the -n argument to explicitly specify the correct
> directory.

This is the clue. There is a bug in configure.py in that it should exit at 
that point rather than going on to generate the bindings code.

Phil



More information about the QScintilla mailing list