#1193 closed defect (invalid)
NEW BUG: qt3 doesnt build
Reported by: | dports@… | Owned by: | ranger@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | leimy@… | |
Port: |
Description
NEW BUG: qt3 doesn't build
My System:
G5, Dual 2GHz, Panther 10.3.1
I encoutered the following error:
Zaphod:~ weissph$ sudo port install qt3 ---> Fetching qt3 ---> Verifying checksum for qt3 ---> Extracting qt3 ---> Configuring qt3 ---> Building qt3 with target INSTALLPREFIX=\"/opt/local\" SINGLE_MODULE=\"-single_module\" symlinks src-qmake src-moc sub-src sub-tools Error: Target com.apple.build returned: shell command "cd "/opt/darwinports/dports/x11/qt3/ work/qt-x11-free-3.1.2" && CFLAGS='-I/opt/local/include' CPPFLAGS='-I/opt/local/include' DYLD_LIBRARY_PATH='/usr/X11R6/lib:/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/lib:/opt/local/lib' INSTALL_ROOT= INSTALLPREFIX='/opt/local' LDFLAGS='-L/usr/X11R6/ lib -L. -L/opt/darwinports/dports/x11/qt3/work/qt-x11-free-3.1.2/lib -L/opt/local/lib' QMAKESPEC='/opt/darwinports/dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++' QTDIR='/opt/darwinports/dports/x11/qt3/work/qt-x11-free-3.1.2' worksrcpath='/opt/ darwinports/dports/x11/qt3/work/qt-x11-free-3.1.2' prefix='/opt/local' portname='qt3' make INSTALLPREFIX="/opt/local" SINGLE_MODULE="-single_module" symlinks src-qmake src-moc sub- src sub-tools" returned error 2 Command output: c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/ x11/qt3/work/qt-x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/uic.o uic.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/form.o form.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/object.o object.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/subclassing.o subclassing.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/embed.o embed.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/widgetdatabase.o ../shared/widgetdatabase.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/domtool.o ../shared/domtool.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DUIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/dports/x11/qt3/work/qt-x11-free -3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/ qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/parser.o ../shared/parser.cpp
mkdir -p ../../../bin/ |
c++ -framework CoreServices -fno-exceptions -mdynamic-no-pic -o ../../../bin/uic .obj/release- shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release- shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/ release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/ parser.o -L/usr/X11R6/lib -L/opt/local/lib -L/opt/local/lib -L/opt/darwinports/dports/x11/qt3/ work/qt-x11-free-3.1.2/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lresolv -lqt-mt -lz -lGLU -lGL -lXmu -lXrender -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lXt cd uilib && make -f Makefile c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -fPIC -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/ dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qwidgetfactory.o qwidgetfactory.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -fPIC -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/ dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/domtool.o ../shared/domtool.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -fPIC -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/ dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/uib.o ../shared/uib.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -fPIC -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/ dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/database.o ../designer/database.cpp /opt/darwinports/dports/x11/qt3/work/qt-x11-free-3.1.2/bin/moc ../designer/database2.h -o .moc/release-shared-mt/moc_database2.cpp c++ -c -fPIC -fno-common -pipe -fno-exceptions -I/opt/darwinports/dports/x11/qt3/work/qt- x11-free-3.1.2/include -I/opt/local/include -I/usr/X11R6/include/freetype2 -Wall -W -Os -fPIC -DQ_OS_DARWIN -DQ_OS_FREEBSD -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/darwinports/ dports/x11/qt3/work/qt-x11-free-3.1.2/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I../shared -I/opt/local/include/qt -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_database2.o .moc/release-shared- mt/moc_database2.cpp
mkdir -p ../../../lib/ |
rm -f libqui.1.0.0.dylib libqui.dylib libqui.1.dylib libqui.1.0.dylib c++ -framework CoreServices -fno-exceptions -current_version 1.0.0 -compatibility_version 1.0 -dynamiclib -single_module -install_name /opt/local/lib/libqui.1.dylib -o libqui.1.0.0.dylib .obj/ release-shared-mt/qwidgetfactory.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/ uib.o .obj/release-shared-mt/database.o .obj/release-shared-mt/moc_database2.o -L/usr/ X11R6/lib -L/opt/local/lib -L/opt/local/lib -L/opt/darwinports/dports/x11/qt3/work/qt-x11- free-3.1.2/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lresolv -lqt-mt -lz -lGLU -lGL -lXmu -lXrender -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lXt ld: Undefined symbols: QPaintDevice::setX11Data(QPaintDeviceX11Data const*) QWidget::create(unsigned long, bool, bool) QWidget::x11Event(_XEvent*) QPaintDevice::x11RenderHandle() const /usr/bin/libtool: internal link edit command failed make[3]: * lib/libqui.1.0.0.dylib Error 1 make[2]: * [sub-uilib] Error 2 make[1]: * [sub-designer] Error 2 make: * [sub-tools] Error 2
Change History (7)
comment:1 Changed 21 years ago by fkr@…
comment:3 Changed 21 years ago by blb@…
Just to make sure, you don't already have a version of qt3 installed someplace? Those symbols are in libqt-mt...
comment:4 Changed 21 years ago by waqar@…
Cc: | leimy@… added |
---|---|
Owner: | changed from darwinports-bugs@… to ranger@… |
comment:5 Changed 21 years ago by rshaw@…
This port currently builds for me on Panther. Is this still an issue?
-rshaw
comment:6 Changed 20 years ago by julien.touche@…
i also encounter this problem on MacOS 10.3.4. i need to uninstall qt3-mac. for now it seems they conflict each other and you can't have both (with his another inquiry; else no conflicts tag for now ?)
after it works well.
comment:7 Changed 20 years ago by dports@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
do you have X11SDK installed? -fkr