Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2007
Problems building 20070308 snapshot


Message 1 in thread

I'm having problems building today's snapshot.  I'm building on the
following:

 

            Linux 2.4.21-32.ELsmp x86_64

            OS:        RedHat Enterprise Linux 3.0 U5

 

I used the following configuration switches:

 

./configure  -prefix `pwd` -nomake examples -debug -static -platform
linux-g++-32 -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg
-no-separate-debug-info -no-opengl -no-glib -no-pch  -no-tablet
-no-xrandr -no-xrender -no-xcursor -no-xinerama

 

*	Problem #1: Get an error about not being able to find krb5.h.  I
updated my configure options to include "-I /usr/kerberos/include".
This should be done automatically.

 

*	Problem #2: The DEFINEFUNC macros in
qsslsocket_openssl_symbols_p.h are wrong if you are building a static
library.  I was able to patch this locally by changing "return ##func"
to "return func".

 

*	Problem #3: When building a static library, the definitions
generated for q_SSL_get_ciphers and q_SSL_get_verify_result, have the
wrong argument types.  Get an error about "const SSL*" and SSL*.
Changed the macros to use "SSL*" instead.

 

*	Problem #4: Can't link uic3.  Get the following error:
	g++ -m32
-Wl,-rpath,/remote/gui1/pfurnanz/qt/qt-x11-commercial-src-4.3.0-snapshot
-20070308/linux/lib
-Wl,-rpath,/remote/gui1/pfurnanz/qt/qt-x11-commercial-src-4.3.0-snapshot
-20070308/linux/lib -o ../../../bin/uic3
.obj/debug-static/customwidgetsinfo.o .obj/debug-static/databaseinfo.o
.obj/debug-static/driver.o .obj/debug-static/treewalker.o
.obj/debug-static/ui4.o .obj/debug-static/uic.o
.obj/debug-static/validator.o .obj/debug-static/cppwritedeclaration.o
.obj/debug-static/cppwriteicondata.o
.obj/debug-static/cppwriteicondeclaration.o
.obj/debug-static/cppwriteiconinitialization.o
.obj/debug-static/cppwriteincludes.o
.obj/debug-static/cppwriteinitialization.o .obj/debug-static/main.o
.obj/debug-static/ui3reader.o .obj/debug-static/parser.o
.obj/debug-static/domtool.o .obj/debug-static/object.o
.obj/debug-static/subclassing.o .obj/debug-static/form.o
.obj/debug-static/converter.o .obj/debug-static/widgetinfo.o
.obj/debug-static/embed.o .obj/debug-static/qt3to4.o
.obj/debug-static/deps.o
-L/remote/gui1/pfurnanz/qt/qt-x11-commercial-src-4.3.0-snapshot-20070308
/linux/lib -lQt3Support
-L/remote/gui1/pfurnanz/qt/qt-x11-commercial-src-4.3.0-snapshot-20070308
/linux/lib -lQtSql -L/usr/X11R6/lib -lQtNetwork ssl crypto -lQtXml
-lQtGui -lSM -lICE -lXext -lX11 -lQtCore -lm -lrt -ldl -lpthread
	g++: ssl: No such file or directory
	g++: crypto: No such file or directory

 

After this last error, I gave up and configured with -no-openssl.

 

-Paul