Main → Sudo Port Install Digikam
 
 

Sudo Port Install Digikam

Published on Monday, May 9th 2011. Edited by Rat Outacefew.

sudo port install digikam
On Mac Leopard OS X 10.6.7

Fails with

'Error: Target org.macports.configure returned: Poppler must be installed with +qt4 and +quartz variants Error: Failed to install kdegraphics4'

KO

What happens?
We don't want to do this:-

While creating unixodbc and iodbc(libiodbc) variants for the mysql- connector-odbc port, which I maintain, it became annoying to have to
uninstall/install unixodbc and libiodbc. [2] gmane.os.apple.macports.user

unixODBC 2.3.0_1 conflicts with libiodbc that has just been installed for virtuoso.

But a search for 'port install -f poppler +qt4 + quartz libgphoto2 kdegraphics4' also yields a link to macports ticket [3] macports ticket 27614

This tell us to do:- sudo port install poppler +qt4 +quartz

Which is fine.

And
sudo port clean kdegraphics4
And
sudo port install kdegraphics4

but we also want libgphoto2 so before kdegraphics4 do same for libgphoto2.
OK

Again
sudo port install digikam

finishes with

---> Configuring digikam
---> Building digikam
---> Staging digikam into destroot
---> Installing digikam @1.8.0_0+geoloc+kipi
---> Activating digikam @1.8.0_0+geoloc+kipi

all OK.

end build

We now need to follow the instructions to chown and load:-

sudo chown -R $USER ~/Library/Preferences/KDE

but
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
---> [4] nothing found to load Do
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
---> org.freedesktop.dbus-session: Already loaded

Check with:- ps auxwww |grep dbus
---> adamsaltiel 57952 0.6 0.0 2435116 432 s001 S+ 12:40PM 0:00.00 grep dbus
---> messagebus 55722 0.0 0.0 2435448 704 ?? Ss 12:29PM 0:00.01 /opt/local/bin/dbus-daemon --system --nofork

In my case, having applied the commands correctly, this shows that the session dbus is started.

OK

Mike Alexander says, in the case that the second line returns a user against a session daemon

That shows that the session dbus is running, but the system dbus isn't. This is consistent with the messages you got when you tried to restart the session dbus. In my experience things work pretty well even if the system dbus isn't running since MacOSX is really a one user system most of the time. However, you can start the system dbus using the command you quoted before if you want to.

However, unfortunately, not so fast, as nothing from kde4 will start at the moment.
So have to try few other things.


See also:-
Category: Configuration
[1]: http://conjoint.biz/configuration

[2] http://permalink.gmane.org/gmane.os.apple.macports.user/22125

[3] https://trac.macports.org/ticket/27614

[4] http://old.nabble.com/nothing-found-to-load-td23147834.html