Opened 13 years ago

Closed 10 years ago

#14873 closed defect (fixed)

qt3-mac's qmake causes qt3 not to build

Reported by: schwern@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: brunner.adam@…, joystick.pl@…, ryandesign (Ryan Schmidt)
Port: qt3 qt3-mac

Description

qt3 would not build because it was not putting a -framework in front of OpenGL when linking. The problem was qt3-mac was installed and active and qt3 was using it's installed qmake. After deactivating qt3-mac qt3 built fine.

$ sudo nice port install qt3
Password:
--->  Building qt3 with target all
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/work/qt-x11-free-3.3.8 && ./CompileScript.sh" returned error 2
Command output: cd imageformats && make -f Makefile
cd png && make -f Makefile
make[4]: Nothing to be done for `first'.
cd jpeg && make -f Makefile
make[4]: Nothing to be done for `first'.
cd mng && make -f Makefile
make[4]: Nothing to be done for `first'.
cd sqldrivers && make -f Makefile
cd sqlite && make -f Makefile
make[4]: Nothing to be done for `first'.
cd styles && make -f Makefile
make[3]: Nothing to be done for `first'.
cd tools && make
cd assistant/lib && make -f Makefile
make[3]: Nothing to be done for `first'.
cd designer && make -f Makefile
cd uic && make -f Makefile
make[4]: Nothing to be done for `first'.
cd uilib && make -f Makefile
make[4]: Nothing to be done for `first'.
cd designer && make -f Makefile
test -d ../../../lib/ || mkdir -p ../../../lib/
/bin/rm -f libdesignercore.1.0.0.dylib libdesignercore.dylib libdesignercore.1.dylib libdesignercore.1.0.dylib
g++-4.0 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -fno-exceptions -prebind -dynamiclib -single_module -headerpad_max_install_names -install_name /opt/local/lib/libdesignercore.1.dylib -compatibility_version  1.0 -current_version    1.0.0 -o libdesignercore.1.0.0.dylib ./command.o ./formwindow.o ./defs.o ./layout.o ./mainwindow.o ./mainwindowactions.o ./metadatabase.o ./pixmapchooser.o ./propertyeditor.o ./resource.o ./sizehandle.o ./orderindicator.o ./widgetfactory.o ./hierarchyview.o ./listboxeditorimpl.o ./newformimpl.o ./workspace.o ./listvieweditorimpl.o ./customwidgeteditorimpl.o ./paletteeditorimpl.o ./styledbutton.o ./iconvieweditorimpl.o ./multilineeditorimpl.o ./formsettingsimpl.o ./asciivalidator.o ./designerapp.o ./designerappiface.o ./actioneditorimpl.o ./actionlistview.o ./actiondnd.o ./project.o ./projectsettingsimpl.o ./sourceeditor.o ./outputwindow.o ./widgetdatabase.o ./parser.o ./pixmapcollection.o ./previewframe.o ./previewwidgetimpl.o ./paletteeditoradvancedimpl.o ./sourcefile.o ./wizardeditorimpl.o ./qcompletionedit.o ./timestamp.o ./formfile.o ./widgetaction.o ./propertyobject.o ./startdialogimpl.o ./syntaxhighlighter_html.o ./connectionitems.o ./editfunctionsimpl.o ./variabledialogimpl.o ./listviewdnd.o ./listboxdnd.o ./listdnd.o ./listboxrename.o ./connectiontable.o ./popupmenueditor.o ./menubareditor.o ./database.o ./dbconnectionimpl.o ./dbconnectionsimpl.o ./tableeditorimpl.o ./listboxeditor.o ./editfunctions.o ./newform.o ./listvieweditor.o ./customwidgeteditor.o ./paletteeditor.o ./iconvieweditor.o ./preferences.o ./multilineeditor.o ./formsettings.o ./about.o ./pixmapfunction.o ./createtemplate.o ./actioneditor.o ./projectsettings.o ./finddialog.o ./replacedialog.o ./gotolinedialog.o ./pixmapcollectioneditor.o ./previewwidget.o ./paletteeditoradvanced.o ./wizardeditor.o ./listeditor.o ./startdialog.o ./richtextfontdialog.o ./connectiondialog.o ./variabledialog.o ./configtoolboxdialog.o ./dbconnections.o ./dbconnection.o ./dbconnectioneditor.o ./tableeditor.o ./qmake_image_collection.o ./moc_command.o ./moc_formwindow.o ./moc_layout.o ./moc_mainwindow.o ./moc_pixmapchooser.o ./moc_propertyeditor.o ./moc_sizehandle.o ./moc_orderindicator.o ./moc_widgetfactory.o ./moc_hierarchyview.o ./moc_listboxeditorimpl.o ./moc_newformimpl.o ./moc_workspace.o ./moc_listvieweditorimpl.o ./moc_customwidgeteditorimpl.o ./moc_paletteeditorimpl.o ./moc_styledbutton.o ./moc_iconvieweditorimpl.o ./moc_multilineeditorimpl.o ./moc_formsettingsimpl.o ./moc_asciivalidator.o ./moc_actioneditorimpl.o ./moc_actionlistview.o ./moc_actiondnd.o ./moc_project.o ./moc_projectsettingsimpl.o ./moc_sourceeditor.o ./moc_outputwindow.o ./moc_previewframe.o ./moc_previewwidgetimpl.o ./moc_paletteeditoradvancedimpl.o ./moc_sourcefile.o ./moc_wizardeditorimpl.o ./moc_qcompletionedit.o ./moc_timestamp.o ./moc_formfile.o ./moc_widgetaction.o ./moc_startdialogimpl.o ./moc_connectionitems.o ./moc_editfunctionsimpl.o ./moc_variabledialogimpl.o ./moc_listviewdnd.o ./moc_listboxdnd.o ./moc_listdnd.o ./moc_listboxrename.o ./moc_connectiontable.o ./moc_popupmenueditor.o ./moc_menubareditor.o ./moc_database.o ./moc_dbconnectionimpl.o ./moc_dbconnectionsimpl.o ./moc_tableeditorimpl.o ./moc_listboxeditor.o ./moc_editfunctions.o ./moc_newform.o ./moc_listvieweditor.o ./moc_customwidgeteditor.o ./moc_paletteeditor.o ./moc_iconvieweditor.o ./moc_preferences.o ./moc_multilineeditor.o ./moc_formsettings.o ./moc_about.o ./moc_pixmapfunction.o ./moc_createtemplate.o ./moc_actioneditor.o ./moc_projectsettings.o ./moc_finddialog.o ./moc_replacedialog.o ./moc_gotolinedialog.o ./moc_pixmapcollectioneditor.o ./moc_previewwidget.o ./moc_paletteeditoradvanced.o ./moc_wizardeditor.o ./moc_listeditor.o ./moc_startdialog.o ./moc_richtextfontdialog.o ./moc_connectiondialog.o ./moc_variabledialog.o ./moc_configtoolboxdialog.o ./moc_dbconnections.o ./moc_dbconnection.o ./moc_dbconnectioneditor.o ./moc_tableeditor.o  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/work/qt-x11-free-3.3.8/lib -L/opt/local/lib -L/usr/X11R6/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/work/qt-x11-free-3.3.8/lib -L/usr/X11R6/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/work/qt-x11-free-3.3.8/lib -lresolv -lqui -lqassistantclient -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/lib -lmng -ljpeg -lpng OpenGL -framework AGL -lqt-mt -lz -lGLU -lGL -lXmu -lSM -lICE -ldl 
i686-apple-darwin8-g++-4.0.1: OpenGL: No such file or directory
make[4]: *** [../../../lib/libdesignercore.1.0.0.dylib] Error 1
make[3]: *** [sub-designer] Error 2
make[2]: *** [sub-designer] Error 2
make[1]: *** [sub-tools] Error 2
make: *** [init] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to blair@…

Assigning to maintainer.

comment:2 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Cc: brunner.adam@… added
Port: qt3 qt3-mac added
Version: 1.6.01.7.1

Cc'ing reporter of duplicate #19584.

comment:4 Changed 11 years ago by joystick.pl@…

Cc: joystick.pl@… added

Cc Me!

comment:5 Changed 11 years ago by joystick.pl@…

Cc'ing reporter of duplicate #23660. This ticet need to update: verion changed from 1.7.1 to 1.8.2.

comment:6 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

"Fixed" in r79111 / r79112 by preventing qt3 from attempting to build if qt3-mac is active, and telling the user what to do about it.

Note: See TracTickets for help on using tickets.