Hello everyone,
Following my compile problem with the latest 4.6-stable branch from
qt, I have found a commit (after 5 tries) with which it compiles again
- but always without opengl which makes the generator segfault,
unfortunately.
My objective is therefore to find which commit caused the build
failure. Here is the script I use with git bisect run:
----
#!/bin/bash
export QTDIR=/home/fg/src/qt
export QTJAMBIDIR=/home/fg/src/qt-jambi
#
# Qt is awfully long to compile, even with a quad core: use ccache
#
export PATH=/usr/lib64/ccache/bin:$PATH
#
# First, rebuild Qt
#
pushd $QTDIR
./configure -opensource -fast -confirm-license -developer-build \
-no-qt3support -debug -shared -prefix $QTDIR -no-sql-sqlite2
make -j4 || {
echo "Qt failed to (re)build!"
exit 255
}
popd
#
# Then, attempt to rebuild qt-jambi. Since the ant clean target doesn't live up
# to its expectations yet, we just git clean -df and then rebuild.
#
# The build process needs quite a lot of variables set up, set them in a
# subshell.
#
pushd $QTJAMBIDIR
(
git clean -df
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export PATH=$QTDIR/bin:$PATH
export MAKEOPTS=-j4
ant
)
exit $?
----
This still takes quite some time... Is there a faster way to rebuild Qt?
--
Francis Galiegue, [email protected]
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest