[MacPorts] #23716: Amarok fails to build because it cannot find qtbindings

MacPorts noreply at macports.org
Fri Feb 26 00:13:40 PST 2010


#23716: Amarok fails to build because it cannot find qtbindings
------------------------------------+---------------------------------------
 Reporter:  mark.gaylard@…          |       Owner:  illogic-al@…           
     Type:  defect                  |      Status:  new                    
 Priority:  Normal                  |   Milestone:                         
Component:  ports                   |     Version:  1.8.2                  
 Keywords:                          |        Port:  amarok                 
------------------------------------+---------------------------------------

Comment(by pavlos@…):

 Hi Mark,

 You said you have run the "cd cmake/modules/bindingstest; mkdir build; cd
 build; cmake ..; make; ./bindingstest; echo $?" commands and got 0. Have
 you run them under root? Probably not. If this is the case, I think I have
 found the problem.

 I had the same issue. It looks like dbus needs to be running for root
 during the installation. Probably you had started dbus for your user and
 this is why everything worked for him. Try to run "launchctl load
 /Library/LaunchAgents/org.freedesktop.dbus-session.plist" as root before
 you build amarok it should work (worked for me). You might need to edit
 the org.freedesktop.dbus-session.plist file and set the "Dissabled" key to
 "<false/>" before that. After build you can probably stop dbus running
 under root and revert the plist file.

 I got several messages during the installation of the dependencies for
 amarok, stating the following:
 ##########################################################
 # Don't forget that dbus needs to be started as the local
 # user (not with sudo) before any KDE programs will launch
 # To start it run the following command:
 # launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
 ##########################################################

 I guess dbus should indeed be running as local user, but then this message
 is confusing.

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


More information about the macports-tickets mailing list