[blfs-dev] Qtwebkit does not build with current instructions

Pierre Labastie pierre.labastie at neuf.fr
Sun Sep 20 11:28:22 PDT 2015


On 20/09/2015 19:58, Pierre Labastie wrote:
> Hi,
> 
> When running the Qtwebkit instructions on the QT4 page, the script fails with:
> -------------
> Can't exec "qmake": No such file or directory at
> /sources/qt4/qt-everywhere-opensource-src-4.8.7/qtwebkit-2.3.4/Tools/Scripts/webkitdirs.pm
> line 1887.
> Use of uninitialized value $mkspec in scalar chomp at
> /sources/qt4/qt-everywhere-opensource-src-4.8.7/qtwebkit-2.3.4/Tools/Scripts/webkitdirs.pm
> line 1887.
> ERROR: qmake missing but required to build WebKit.
> --------------
> The reason is simple, qmake is not in the PATH. Since Qt4 has just been
> installed in /opt/qt4 (this is the recommended location), but $PATH has
> not yet ben modified.
> 
> I suggest adding PATH=$PATH:$QT4DIR/bin before the command for
> building Qtwebkit. Is it OK?
> 
> Pierre
> 
s/QT4DIR/QT4PREFIX/, sorry.

Pierre


More information about the blfs-dev mailing list