GnuCash and guile
Michael Hart
mhart at baselinesolutions.com.au
Tue Dec 18 20:40:58 PST 2007
FWIW, I managed to get around this problem by commenting out the
G_INLINE_FUNC declaration in SplitP.h and then reinstalling GnuCash.
So, line 152 of /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.1/src/
engine/SplitP.h becomes:
/*G_INLINE_FUNC*/ void mark_split (Split *s);
So far it seems to be running fine (finally!)
Cheers,
Michael
On 11/12/2007, at 2:49 PM, Michael Hart wrote:
> Hmmm... Well, GnuCash 2.2.1 builds fine, loads fine, but I get this
> when entering a new transaction:
>
> dyld: lazy symbol binding failed: Symbol not found: _mark_split
> Referenced from: /opt/local/lib/gnucash/libgncmod-engine.dylib
> Expected in: flat namespace
>
> dyld: Symbol not found: _mark_split
> Referenced from: /opt/local/lib/gnucash/libgncmod-engine.dylib
> Expected in: flat namespace
>
> Trace/BPT trap
>
> And then it bombs...
>
> Maybe some more symlinking required...? Not sure.
>
> On 11/12/2007, at 2:40 PM, Michael Hart wrote:
>
>> There's actually a couple of small typos in the Trac Ticket comment
>> re the symlinks (the /bin/* files incorrectly named). This worked
>> for me:
>>
>> ln -s /opt/local/include/libguile16 /opt/local/include/libguile && \
>> ln -s /opt/local/include/libguile16.h /opt/local/include/libguile.h
>> && \
>> ln -s /opt/local/include/guile16 /opt/local/include/guile && \
>> ln -s /opt/local/bin/guile16 /opt/local/bin/guile && \
>> ln -s /opt/local/bin/guile16-config /opt/local/bin/guile-config && \
>> ln -s /opt/local/bin/guile16-snarf /opt/local/bin/guile-snarf && \
>> ln -s /opt/local/bin/guile16-tools /opt/local/bin/guile-tools && \
>> ln -s /opt/local/lib/libguile16.a /opt/local/lib/libguile.a && \
>> ln -s /opt/local/lib/libguile16.dylib /opt/local/lib/libguile.dylib
>> && \
>> ln -s /opt/local/lib/libguile16.la /opt/local/lib/libguile.la
>>
>> (trying to add this to Trac too, but having problems logging in)
>>
>> On 11/12/2007, at 2:16 PM, Michael Hart wrote:
>>
>>> And then you'll no doubt run into the problem outlined in Ticket
>>> #13472:
>>>
>>> http://trac.macports.org/projects/macports/ticket/13472
>>>
>>> I haven't tried the solution listed there, but hopefully that
>>> works for you.
>>>
>>> Cheers,
>>>
>>> Michael
>>>
>>> On 11/12/2007, at 1:57 PM, Ryan Schmidt wrote:
>>>
>>>>
>>>> On Dec 10, 2007, at 20:45, Todd O'Bryan wrote:
>>>>
>>>>> I was trying to install GnuCash and it said I didn't have guile.
>>>>> So I
>>>>> installed guile manually
>>>>
>>>> Define manually. Did you "sudo port install guile"? Or did you
>>>> manually download the guile source code and compile it and
>>>> install it somewhere? (where?)
>>>>
>>>>> and now it apparently thinks the guile that
>>>>> got installed isn't good enough.
>>>>>
>>>>> Any hints about where to go from here? I tried installing slib,
>>>>> but it
>>>>> says it's already installed.
>>>>>
>>>>> Thanks,
>>>>> Todd
>>>>>
>>>>> doug-spauldings-imac:~ dougspaulding$ sudo port -vf install
>>>>> gnucash
>>>>> ---> Configuring gnucash
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> ...
>>>>> checking for guile-config... yes
>>>>> checking whether guile-config works... yes
>>>>> checking for sin in -lm... yes
>>>>> checking for guile libraries... -D_THREAD_SAFE -lguile -lltdl
>>>>> -L/opt/local/lib -L/opt/local/lib -lgmp -lm -lltdl
>>>>> checking for guile headers... -I/opt/local/include -D_THREAD_SAFE
>>>>> checking whether guile works... yes
>>>>> checking for guile... /opt/local/bin/guile
>>>>> checking for guile - 1.6.0 <= version < 99.99.99... yes: 1.8.3
>>>>> checking for guile - 1.8.0 <= version < 99.99.99... yes: 1.8.3
>>>>> checking for SLIB support... configure: error:
>>>>>
>>>>> Cannot find SLIB. Are you sure you have it installed?
>>>>> See http://bugzilla.gnome.org/show_bug.cgi?id=347922
>>>>
>>>> [snip]
>>>>
>>>> So you have guile 1.8.3. According to the long description of the
>>>> gnucash port, "Variant +guile16 is enabled by default because
>>>> newer guile versions do not yet work correctly with MacPorts." So
>>>> gnucash apparently currently only works with guile 1.6.x not
>>>> guile 1.8.x.
>>>>
>>>> So, you should uninstall guile 1.8.3. Then you should sudo port
>>>> install gnucash, which should install guile16, slib and slib-
>>>> guile16 for you.
>>>>
>>>> Before you begin, make sure you have the latest ports by using
>>>> "sudo port selfupdate"
>>>>
>>>> _______________________________________________
>>>> macports-users mailing list
>>>> macports-users at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>
>
More information about the macports-users
mailing list