Qt-interest Archive, February 2007
Building Qt4 on OS X with -prefix fails
Message 1 in thread
Hi,
I have built Qt4 with the default install location on OS X
(10.4/intel) fine a number of times. I am now trying to build with a
different install location:
./configure -prefix /home/username/mylocaltree
I see two wierd things and a failure upon running make.
1. During configure I see lots of messages like:
Finding project files. Please wait...
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
debug.prf:6: Unknown test function: fixExclusiveOutputDirs
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
debug.prf:6: Unknown test function: fixExclusiveOutputDirs
release.prf:6: Unknown test function: fixExclusiveOutputDirs
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
release.prf:6: Unknown test function: fixExclusiveOutputDirs
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
release.prf:6: Unknown test function: fixExclusiveOutputDirs
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
debug_and_release.prf:1: Unknown test function: addExclusiveBuilds
and so on
2. During make I it fails when it trys to link QtGUI:
c++ -headerpad_max_install_names -single_module -dynamiclib
-compatibility_version 4.2 -current_version 4.2.2
-install_name
/Users/bgranger/Computation/Packages/txpython-0.1/local/lib/QtGui.framework/Versions/4/QtGui
-o QtGui
[lots of .o files]
-F/Users/bgranger/computation/Packages/txpython-0.1/spkg/build/qt-mac-4.2.2/qt-mac-opensource-src-4.2.2/lib
-L/Users/bgranger/computation/Packages/txpython-0.1/spkg/build/qt-mac-4.2.2/qt-mac-opensource-src-4.2.2/lib
-framework Carbon -framework QuickTime -framework AppKit -framework
QtCore -L/Users/bgranger/computation/Packages/txpython-0.1/spkg/build/qt-mac-4.2.2/qt-mac-opensource-src-4.2.2/lib
-lz -lm -liconv -framework ApplicationServices
ld: Undefined symbols:
__Z21qInitResources_qstylev
/usr/bin/libtool: internal link edit command failed
make[4]: *** [../../lib/QtGui.framework/QtGui] Error 1
make[3]: *** [sub-gui-make_default] Error 2
make[2]: *** [sub-src-make_default-ordered] Error 2
Error making Qt
Here are the build settings:
Build type: macx-g++
Architecture: macosx
Build ............... libs tools examples
Configuration ....... build_all debug shared dll largefile stl sse
absolute_library_soname qt3support accessibility opengl
minimal-config small-config medium-config large-config full-config
reduce_exports ipv6 getaddrinfo ipv6ifname getifaddrs png no-gif
no-freetype system-zlib cups gnu-libiconv release debug qt_framework
Debug................ yes (combined)
Default Link......... debug
Qt 3 compatibility... yes
QtDBus module........ no
STL support ......... yes
PCH support ......... no
MMX/SSE support ..... yes
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support... yes
Accessibility ....... yes
NIS support ......... no
CUPS support ........ yes
Iconv support ....... gnu
Glib support ........ auto
Large File support .. yes
GIF support ......... no
JPEG support ........ plugin (qt)
PNG support ......... yes (qt)
MNG support ......... plugin (qt)
zlib support ........ system
OpenGL support ...... yes
ODBC support ........ plugin
SQLite support ...... plugin (qt)
These are the same as that have been when I have had success.
The only other thing I have found is that the name of the QtGUI
library when I have success is something like QtGUI_debug, but when it
fails it is just QtGUI - but I use the same build settings. Hmmmm.
Brian
--
[ signature omitted ]