Opened 14 years ago

Closed 14 years ago

#23893 closed defect (duplicate)

Amarok fails to configure: qtscriptgenerator not found

Reported by: moriartyj@… Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: amarok

Description (last modified by mf2k (Frank Schima))

When trying to sudo port install amarok I get this message:

--->  Computing dependencies for amarok
--->  Configuring amarok
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/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_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../amarok-2.2.0 -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
Command output:    * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
   * glib2 - Required by libgpod and mp3tunes

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * libgpod (0.7.0 or higher)  <http://sourceforge.net/projects/gtkpod/>
     Support Apple iPod audio devices
   * Gdk (2.0.x or higher)  <http://developer.gnome.org/arch/imaging/gdkpixbuf.html>
     Support for artwork on iPod audio devices via GdkPixbuf
   * libmtp (0.3.0 or higher)  <http://libmtp.sourceforge.net/>
     Enable Support for portable media devices that use the media transfer protocol

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * qtscript-qt  <http://code.google.com/p/qtscriptgenerator/>
     QtScript Qt Bindings

-----------------------------------------------------------------------------

CMake Error at /opt/local/share/apps/cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:157 (macro_display_feature_log)


-- Configuring incomplete, errors occurred!

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Full output attached.

Attachments (1)

amarok_output.txt (236.4 KB) - added by moriartyj@… 14 years ago.
output

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by moriartyj@…

Attachment: amarok_output.txt added

output

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: amarok glib qt4 removed
Owner: changed from macports-tickets@… to illogic-al@…
Port: amarok added

comment:2 Changed 14 years ago by vvrbanc@…

It's not a problem with glib.
The compiling obviously stopped because CMake couldn't find package "qtscript-qt".
I had the same problem.

The "qtscript-qt" package is actually installed under the name "qtscriptgenerator".
I guess it's either a problem with amarok's cmake file which searches for the wrong package OR cmake's package search is not finding it properly, which means it's a cmake bug.

I just commented out these two lines from amarok's CMakeLists.txt file where it searches for the libraries and it compiled fine after that:

find_package( QtScriptQtBindings REQUIRED )
macro_log_feature( QTSCRIPTQTBINDINGS_FOUND ...


You can find and edit CMakeLists.txt after the compile breaks in the following directory:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.2.0

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Summary: Amarok fails to configure: Qt4 must be compiled with glibAmarok fails to configure: qtscriptgenerator not found
Note: See TracTickets for help on using tickets.