[MacPorts] #27164: automoc fails to configure (can't find QT)
MacPorts
noreply at macports.org
Fri Nov 5 19:45:10 PDT 2010
#27164: automoc fails to configure (can't find QT)
-----------------------------------+----------------------------------------
Reporter: jeremyhu@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: automoc
-----------------------------------+----------------------------------------
{{{
~ $ 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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27164>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list