GnuCash and guile

Michael Hart mhart at baselinesolutions.com.au
Mon Dec 10 20:20:15 PST 2007


Damn - I did of course mean:

find /opt/local -name "*guile*"

On 11/12/2007, at 3:18 PM, Michael Hart wrote:

> Jesse - you're saying the installation's not working after removing  
> any manual or 1.8 installs of guile/slib-guile, installing guile16  
> and slib-guile16, creating the symlinks, and then installing gnucash  
> with +guile16?
>
> The install process worked for me (after removing some manual  
> leftover files in various bin directories from prior, botched guile  
> installations - doing a 'find /opt/local "*guile*"' helped with  
> that) - but yeah, as I said, GnuCash seems flaky afterwards. And I  
> agree with Ryan that this symlinking business is an ugly, purpose- 
> defeating hack in any case - I just wanted to get the thing up and  
> running again... and don't seem to be getting too far in the process.
>
> On 11/12/2007, at 2:56 PM, Jesse Sinclair wrote:
>
>> and it doesn't seem to work properly... After making the required  
>> symlinks, I still get the guile not found / guile not working  
>> properly errors and thus dumps the installation.
>>
>>
>> On Dec 10, 2007 7:49 PM, Michael Hart < mhart at baselinesolutions.com.au 
>> > 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
>> >
>>
>> _______________________________________________
>> 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