DIGIKAM on Mac, attempt #3...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DIGIKAM on Mac, attempt #3...

Gerard Milhaud
Hi,

This week-end, I decide to give Digikam on MacOs a try, again...

I uninstall completely Macports, then follow EXACTLY Gilles's
instructions here :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX

Last time, I was unable to build because of this bug around boost, but
I've seen it was fixed in the current code
(http://osdir.com/ml/digikam-devel/2012-01/msg00126.html)

This time, all is running perfectly fine... but, when I try to
launch...., after the 3 famous commands
sudo chown -R g ~/Library/Preferences/KDE
sudo chown -R g /Library/LaunchAgents/org.freedesktop.dbus-session.plist
sudo launchctl load -w
/Library/LaunchAgents/org.freedesktop.dbus-session.plist


bash-3.2$ ./digikam
digikam(19478)/KSharedDataCache ensureFileAllocated: This system misses
support for posix_fallocate() -- ensure this partition has room for at
least 10547296 bytes.
digikam(19478)/KSharedDataCache: Creating shell of a lock!
digikam(19478)/KSharedDataCache: Unable to setup shared cache lock,
although it worked when created.
digikam(19478)/KSharedDataCache: Unable to unmap shared memory segment
0x116bcf000
Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
digikam(19478)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start
/opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from kdeinit
sock_file=/Users/g/Library/Preferences/KDE/socket-gayeveur.local/kdeinit4__tmp_launch-c3dVab_org.x_0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start
/opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly
QProcess: Destroyed while process is still running.
drkonqi(19481)/KSharedDataCache ensureFileAllocated: This system misses
support for posix_fallocate() -- ensure this partition has room for at
least 10547296 bytes.
drkonqi(19481)/KSharedDataCache: Creating shell of a lock!
drkonqi(19481)/KSharedDataCache: Unable to setup shared cache lock,
although it worked when created.
drkonqi(19481)/KSharedDataCache: Unable to unmap shared memory segment
0x109aca000
Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
drkonqi(19481)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

Any idea ?

I think I'm not so far...

Thanks,

G.

--
--
G
Yet another no work time e-identity
mailto:[hidden email]
web : http://g.is.free.fr

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DIGIKAM on Mac, attempt #3...

Gerard Milhaud

Oooops, little more night googling give me the solution, via
https://trac.macports.org/ticket/19804

The right command to fix my situation is
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
AND NOT
sudo launchctl load -w
/Library/LaunchAgents/org.freedesktop.dbus-session.plist

I can check this by
launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET
which return the good value for root and nothing for me
before I enter :
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

IT FINALLY WORKS !!!!!!!!

but without french interface... It's not a big problem, but if someone
could knowns the trick to compile digikam from git with french langage,
I'm interested :-)

Thanks,

G.

--
--
G
Yet another no work time e-identity
mailto:[hidden email]
web : http://g.is.free.fr

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DIGIKAM on Mac, attempt #3...

Gilles Caulier-4
2012/2/13 G <[hidden email]>:

>
> Oooops, little more night googling give me the solution, via
> https://trac.macports.org/ticket/19804
>
> The right command to fix my situation is
> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
> AND NOT
>
> sudo launchctl load -w
> /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>
> I can check this by
> launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET
> which return the good value for root and nothing for me
> before I enter :
> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>
> IT FINALLY WORKS !!!!!!!!

README.MACOSX is now fixed in git/master...


>
> but without french interface... It's not a big problem, but if someone could
> knowns the trick to compile digikam from git with french langage, I'm
> interested :-)

This not very complicated, but need some technical stuff to get french
program object (.po) to convert to machine object (.mo) with right
translations strings.

Again README.MACOSX must be patched in this way. It's in my TODO list

Gilles Caulier

>
>
> Thanks,
>
> G.
>
> --
> --
> G
> Yet another no work time e-identity
> mailto:[hidden email]
> web : http://g.is.free.fr
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users