Opened 14 years ago
Closed 14 years ago
#27164 closed defect (worksforme)
automoc fails to configure (can't find QT)
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | automoc |
Description
~ $ sudo port -v upgrade automoc ---> Computing dependencies for automoc. ---> Configuring automoc -- Qt's moc NOT found! -- Qt's uic NOT found! -- Qt's rcc NOT found! CMake Error at /opt/local/share/cmake/modules/FindQt4.cmake:1194 (MESSAGE): Qt libraries, includes, moc, uic or/and rcc NOT found! Call Stack (most recent call first): CMakeLists.txt:5 (find_package) -- Configuring incomplete, errors occurred! shell command " cd "/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_devel_automoc/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DCMAKE_OSX_ARCHITECTURES="ppc" ../automoc4-0.9.88 " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for automoc): org.macports.destroot org.macports.configure org.macports.build Log for automoc is at: /opt/local/var/macports/logs/_Users_jeremy_src_macports-trunk_dports_devel_automoc/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
qt4-mac @4.7.0_1+mysql+quartz
~ $ ls -l /opt/local/bin/{moc,uic,rcc} -rwxr-xr-x 2 root admin 1354444 Nov 5 17:09 /opt/local/bin/moc -rwxr-xr-x 2 root admin 1501052 Nov 5 17:09 /opt/local/bin/rcc -rwxr-xr-x 2 root admin 2139816 Nov 5 17:09 /opt/local/bin/uic
Attachments (1)
Change History (3)
Changed 14 years ago by michaelld (Michael Dickens)
Attachment: | automoc-Portfile-debug.diff added |
---|
comment:1 Changed 14 years ago by michaelld (Michael Dickens)
Can you please apply the attached patch to the automoc Portfile, and then try again. When it doesn't succeed, there will be an extensive CMake log in the logfile; please post the whole log (compress it first).
comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
May have been an issue with base or another port ... after updating base/trunk last night and upgrading a few other ports, it is building now... /shrug
Note: See
TracTickets for help on using
tickets.
"svn diff" in 'automoc' Portfile, to turn on extensive CMake debugging