[MacPorts] #20264: port and gnucash problem
MacPorts
noreply at macports.org
Sat Jul 11 11:04:54 PDT 2009
#20264: port and gnucash problem
----------------------------------+-----------------------------------------
Reporter: jose.castro@… | Owner: snc@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port:
----------------------------------+-----------------------------------------
Changes (by snc@…):
* owner: macports-tickets@… => snc@…
* status: new => assigned
Comment:
Replying to [ticket:20264 jose.castro@…]:
> I am a newbie with a new MacBook. I read previous tickets but they were
too technical for me.
>
> On one user in the computer I installed MacPorts and then installed
gnucash.
> These commands will not run in another user unless I run them like:
> `/opt/local/bin/port` or `/opt/local/bin/gnucash`
>
> Is there a way to fix this?
Yes, you need to edit the new user's `~/.profile` to
[http://guide.macports.org/#installing.shell.postflight set their PATH to
include MacPorts].
> Then I have a second problem. When trying to run gnucash I get:
> {{{
> Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
> }}}
> If I run `launchctl load -F /Library/LaunchAgents/org.freedesktop.dbus-
session.plist`
> then I have no problems, but I don't want to run this everytime.
>
> What can I do?
The command you're running forces a load each time. What you want to run
is `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
session.plist`
From `man launchctl` you'll see that:
1. -w removes the disabled key and write the configuration files back out
to disk.
1. -F forces the loading of the plist. Ignore the Disabled key.
--
Ticket URL: <http://trac.macports.org/ticket/20264#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list