[MacPorts] #27938: gnucash 2.4.0 fails to build +no_x11; missing gnucash-setup-env.in
MacPorts
noreply at macports.org
Fri Jan 14 02:57:51 PST 2011
#27938: gnucash 2.4.0 fails to build +no_x11; missing gnucash-setup-env.in
--------------------------------+-------------------------------------------
Reporter: chocodup@… | Owner: dports@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: gnucash
--------------------------------+-------------------------------------------
Comment(by chocodup@…):
Replying to [comment:4 dports@…]:
> Hmm. With the file added, it successfully builds, so that's definitely
an improvement.
>
> Unfortunately `gnucash` does not start up correctly. It looks like it
isn't setting up the environment correctly to find its modules. Previously
`gnucash` was a wrapper script that loaded `gnucash-setup-env` and
executed `gnucash-bin`; now it's just the binary which is supposed to set
up the environment itself, but apparently isn't doing that right. Appears
to work if I source `/opt/local/bin/gnucash-setup-env` and then run
`gnucash`.
>
> Also, `gnucash-setup-env-osx` tries to use dbus-launch, which isn't
necessary with our launchd-enabled dbus port, so we should patch that out.
>
I tried the the same things.
After I used the file from gnucash svn, gnucash succeeded to build, but it
failed to start (with no specific error message).
Then, I sourced /opt/local/bin/gnucash-setup-env before running gnucash :
it failed to start with the following error message
{{{
dyld: Symbol not found: _gll_noop
Referenced from:
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Expected in: /opt/local/lib/libGL.dylib
}}}
To make gnucash run successfully, I needed to deactivate mesa first :
{{{
sudo port deactivate mesa
}}}
Thanks for your help.
I agree with you : some patching is needed to build and run gnucash
flawlessly.
--
Ticket URL: <https://trac.macports.org/ticket/27938#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list