Error while building kdelibs4 when it comes to port attica

Michael Dickens michaelld at macports.org
Sat Oct 23 13:13:10 PDT 2010


On Oct 23, 2010, at 11:09 AM, Marko Käning wrote:

There seems to be a problem with qmake!!

  But it is present at /opt/macports-test/bin/qmake
  So, must be FindQt4.cmake which messes up.
  ---
  $sudo /opt/macports-test/bin/port -d install attica
  .
  DBUNDLE_INSTALL_DIR=/opt/macports-test/Applications/KDE4
  -DPHONON_INCLUDE_DIR=/opt/macports-test/libexec/qt4-mac/includ
  e
  -DPHONON_LIBRARY=/opt/macports-test/libexec/qt4-mac/lib/phonon
  .framework/phonon
  -DQT_QMAKE_EXECUTABLE=/opt/macports-test/libexec/qt4-mac/bin/q
  make -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X"
  -DCMAKE_OSX_ARCHITECTURES="x86_64"'
  CMake Error at
  /opt/macports-test/share/cmake/modules/FindQt4.cmake:1240
  (MESSAGE):
   Qt qmake not found!


attica, and most KDE ports, are still using the KDE 1.0
portgroup, which may or not work right now with the latest
qt4-mac update.  These ports need to be switched to use the new
KDE 1.0 portgroup, which handles the new Qt4 correctly.  For
example, the patch for attica is pretty straight forward (it's
attached as an "svn diff") -- most of the KDE ports will be like
this in terms of updating to the new portgroups.  Now, updating
from kde 4.4.X to 4.5.Y is a different matter :)

Index: Portfile
=================================================================
==
--- Portfile (revision 72682)
+++ Portfile (working copy)
@@ -2,10 +2,11 @@
 # $Id$

 PortSystem          1.0
-PortGroup           kde4   1.0
+PortGroup           kde4   1.1

 name                attica
 version             0.2.0
+revision            1
 categories          kde kde4
 maintainers         snc sharky
 description         Qt library for Open Collaboration Services
API 1.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20101023/6ebd25cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attica_Portfile.diff
Type: application/octet-stream
Size: 473 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20101023/6ebd25cf/attachment.obj>


More information about the macports-dev mailing list