Building Qt branch 4.7 || 4.8 from git for qml/3d: script.pro not found
-
hi
$ ./configure -opengl -developer-build
$ makereturns:
@cd src/script/ && make -f Makefile
/home/.../qt/bin/qmake-qt4 -spec ../../mkspecs/freebsd-g++ -o Makefile script.pro
*** Error code 2
g++ -c...
...
Cannot find file: script.pro.
*** Error code 2
g++: ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: No such file or directory
g++: No input file specified
*** Error code 1
...
@
got no idea where this error comes from, as script.pro is there and Makefile looks ok, compared to for ex. svg Makefileqmake is bootstraped version.
a qt>4.7 development-build is required to compile qtquick-3d on FreeBSD-8.2-RELEASE amd64
i know *bsd support got no high priority, any suggestions to get qml/3d still working?
-
changing relative path in src/script/Makefile solves this error, but gets more "file not found" from g++ in javascriptcore
how could it be that make changes current path as there is no big difference in src/script/Makefile compared to for ex. src/svg/Makefile apart from files to load
edit:
looks more like error comes from javascriptcore -
I'll post the solution, should anyone ever fall into this problem. The same issue exists when building QtWebKit.
FreeBSD make(1) silently auto-descends into obj/ subdirectories, and there is one in src/script, that's why relative paths don't work from there. Setting MAKEOBJDIR=. fixes the issue (that's what we use in the official FreeBSD port).