[MacPorts] #19162: cannot compilte Qt4-mac on OS X 10.4

MacPorts noreply at macports.org
Fri Apr 3 22:39:27 PDT 2009


#19162: cannot compilte Qt4-mac on OS X 10.4
---------------------------------+------------------------------------------
 Reporter:  remifontan@…         |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.7.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 I get those errors when I compile qt4-mac

 # port list qt4-mac
 qt4-mac                        @4.5.0          aqua/qt4-mac


 # port -d install qt4-mac
 ...

 /usr/bin/g++-4.0 -headerpad_max_install_names -o
 ../../../../bin/Assistant.app/Contents/MacOS/Assistant .obj/debug-
 shared/fontpanel.o .obj/debug-shared/helpviewer.o .obj/debug-shared/main.o
 .obj/debug-shared/mainwindow.o .obj/debug-shared/indexwindow.o .obj/debug-
 shared/topicchooser.o .obj/debug-shared/contentwindow.o .obj/debug-
 shared/searchwidget.o .obj/debug-shared/preferencesdialog.o .obj/debug-
 shared/filternamedialog.o .obj/debug-shared/centralwidget.o .obj/debug-
 shared/installdialog.o .obj/debug-shared/bookmarkmanager.o .obj/debug-
 shared/remotecontrol.o .obj/debug-shared/cmdlineparser.o .obj/debug-
 shared/aboutdialog.o .obj/debug-shared/qtdocinstaller.o .obj/debug-
 shared/moc_fontpanel.o .obj/debug-shared/moc_helpviewer.o .obj/debug-
 shared/moc_mainwindow.o .obj/debug-shared/moc_indexwindow.o .obj/debug-
 shared/moc_topicchooser.o .obj/debug-shared/moc_contentwindow.o .obj
 /debug-shared/moc_searchwidget.o .obj/debug-shared/moc_preferencesdialog.o
 .obj/debug-shared/moc_filternamedialog.o .obj/debug-
 shared/moc_centralwidget.o .obj/debug-shared/moc_installdialog.o .obj
 /debug-shared/moc_bookmarkmanager.o .obj/debug-shared/moc_remotecontrol.o
 .obj/debug-shared/moc_aboutdialog.o .obj/debug-shared/moc_qtdocinstaller.o
 .obj/debug-shared/qrc_assistant.o .obj/debug-shared/qrc_assistant_images.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/plugins/sqldrivers -framework QtHelp
 -lQtCLucene -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib -framework QtWebKit -framework QtSql
 -framework QtXml -framework QtGui -framework Carbon -framework AppKit
 -framework QtNetwork -framework QtCore -lz -lm -framework
 ApplicationServices
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
 library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for
 undefined symbols may be affected) (No such file or directory, errno = 2)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
 library: /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus
 referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for
 undefined symbols may be affected) (No such file or directory, errno = 2)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
 Phonon::createPath(Phonon::MediaNode*, Phonon::MediaNode*)referenced from
 QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::setMuted(bool) referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::setVolume(double)referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::AudioOutput(QObject*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::setCurrentSource(Phonon::MediaSource
 const&)referenced from QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::play()     referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::seek(long long)referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::pause()     referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::MediaObject(QObject*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaSource::MediaSource(QUrl const&)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaSource::~MediaSource()referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::VideoWidget::VideoWidget(QWidget*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::Path::~Path()referenced from QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::isSeekable() const referenced from QtWebKit expected
 to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::currentTime() const referenced from QtWebKit expected
 to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::state() constreferenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::hasVideo() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::errorType() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::totalTime() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 collect2: ld returned 1 exit status
 make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]
 Error 1
 make[3]: *** [sub-assistant-make_default-ordered] Error 2
 make[2]: *** [sub-tools-make_default-ordered] Error 2
 make[1]: *** [sub-assistant-make_default-ordered] Error 2
 make: *** [sub-tools-make_default-ordered] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0" && make first " returned error 2
 Command output: cd assistant/ && make -f Makefile
 /usr/bin/g++-4.0 -headerpad_max_install_names -o
 ../../../../bin/Assistant.app/Contents/MacOS/Assistant .obj/debug-
 shared/fontpanel.o .obj/debug-shared/helpviewer.o .obj/debug-shared/main.o
 .obj/debug-shared/mainwindow.o .obj/debug-shared/indexwindow.o .obj/debug-
 shared/topicchooser.o .obj/debug-shared/contentwindow.o .obj/debug-
 shared/searchwidget.o .obj/debug-shared/preferencesdialog.o .obj/debug-
 shared/filternamedialog.o .obj/debug-shared/centralwidget.o .obj/debug-
 shared/installdialog.o .obj/debug-shared/bookmarkmanager.o .obj/debug-
 shared/remotecontrol.o .obj/debug-shared/cmdlineparser.o .obj/debug-
 shared/aboutdialog.o .obj/debug-shared/qtdocinstaller.o .obj/debug-
 shared/moc_fontpanel.o .obj/debug-shared/moc_helpviewer.o .obj/debug-
 shared/moc_mainwindow.o .obj/debug-shared/moc_indexwindow.o .obj/debug-
 shared/moc_topicchooser.o .obj/debug-shared/moc_contentwindow.o .obj
 /debug-shared/moc_searchwidget.o .obj/debug-shared/moc_preferencesdialog.o
 .obj/debug-shared/moc_filternamedialog.o .obj/debug-
 shared/moc_centralwidget.o .obj/debug-shared/moc_installdialog.o .obj
 /debug-shared/moc_bookmarkmanager.o .obj/debug-shared/moc_remotecontrol.o
 .obj/debug-shared/moc_aboutdialog.o .obj/debug-shared/moc_qtdocinstaller.o
 .obj/debug-shared/qrc_assistant.o .obj/debug-shared/qrc_assistant_images.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/plugins/sqldrivers -framework QtHelp
 -lQtCLucene -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib -framework QtWebKit -framework QtSql
 -framework QtXml -framework QtGui -framework Carbon -framework AppKit
 -framework QtNetwork -framework QtCore -lz -lm -framework
 ApplicationServices
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
 library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for
 undefined symbols may be affected) (No such file or directory, errno = 2)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
 library: /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus
 referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for
 undefined symbols may be affected) (No such file or directory, errno = 2)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
 Phonon::createPath(Phonon::MediaNode*, Phonon::MediaNode*)referenced from
 QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::setMuted(bool) referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::setVolume(double)referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::AudioOutput::AudioOutput(QObject*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::setCurrentSource(Phonon::MediaSource
 const&)referenced from QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::play()     referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::seek(long long)referenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::pause()     referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::MediaObject(QObject*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaSource::MediaSource(QUrl const&)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaSource::~MediaSource()referenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::VideoWidget::VideoWidget(QWidget*)referenced from QtWebKit
 expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::Path::~Path()referenced from QtWebKit expected to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::isSeekable() const referenced from QtWebKit expected
 to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::currentTime() const referenced from QtWebKit expected
 to be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::state() constreferenced from QtWebKit expected to be
 defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::hasVideo() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::errorType() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 Phonon::MediaObject::totalTime() constreferenced from QtWebKit expected to
 be defined in
 /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
 collect2: ld returned 1 exit status
 make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]
 Error 1
 make[3]: *** [sub-assistant-make_default-ordered] Error 2
 make[2]: *** [sub-tools-make_default-ordered] Error 2
 make[1]: *** [sub-assistant-make_default-ordered] Error 2
 make: *** [sub-tools-make_default-ordered] Error 2



 I've seen that other people go that error previously and that it got
 fixed, no idea why it's still happening to me.

-- 
Ticket URL: <http://trac.macports.org/ticket/19162>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list