On Oct 11, 2010, at 5:26 AM, Geert Janssens wrote:

> On Monday 11 October 2010, Geert Janssens wrote:
>> On Tuesday 28 September 2010, David Reiser wrote:
>>> On Sep 28, 2010, at 8:00 AM, Geert Janssens wrote:
>>>> I'm not sure what goes wrong.
>>>> 
>>>> I can only think of these things:
>>>> * either the source is not fully up to date
>>>> * the build chain is not picking up all the necessary changes, it
>>>> continues to work with some obsolete files
>>>> * GnuCash at runtime is picking up the wrong libraries
>>>> 
>>>> The first two are easy to eliminate:
>>>> * do a fresh checkout
>>>> * in this fresh checkout, do
>>>> - ./autogen.sh
>>>> - configure --prefix <dir-to-install-in>
>>>> <your-other-configure-options> - make && make install
>>>> * and see if this gnucash runs or not
>>> 
>>> No.
>>> 
>>>> Use a prefix different from your existing working copy, so you're sure
>>>> not to mix up installed files between the two.
>>> 
>>> In general, I run 'rm -rf $PREFIX/*' before make install, so I shouldn't
>>> be seeing any cross talk. But I'll try another prefix.
>>> 
>>>> This takes some time, but should help eliminate the cause.
>>>> 
>>>> If GnuCash still doesn't work, it's very likely it picks up the wrong
>>>> shared libraries and we should work from there.
>>>> 
>>>> Geert
>>> 
>>> Thanks for the help.
>> 
>> Dave, I'm still trying to discover where this goes wrong.
>> 
>> Two questions:
>> - Do you have multiple GnuCash installations on your system (either fink or
>> other macports or the Quartz integrated version) ? If so, could you
>> (temporarily) eliminate all of them except the one you are building ?
>> - What prefix are you using for the installation ?
>> 
> Also, what is the output of
> otool -L $PREFIX/bin/gnucash
> 
> Geert
Yes, I generally do have the fink version of gnucash installed (it hasn't 
interfered in the past). And I do use fink for all the dependencies when I 
build my svn versions.

It turns out that having the stable version of gnucash (or the 2.3.x from 
tarballs) installed in the fink tree interferes with running my out-of-path svn 
gnucash builds. It doesn't matter if they are present during the svn build, 
just if they are present when I run the svn versions. I can: 
remove the fink build
make and install trunk
run trunk (it works)
install the fink packaged gnucash
try to run trunk (it fails)
remove fink package
run trunk (it works again)

I can also:
leave fink package installed
build and install trunk
try to run trunk (it fails)
remove fink package without touching trunk install
run trunk (it works)

Since trunk seems to be failing when core-utils.scm is loading, does that mean 
that guile is looking in-path before it looks in the out-of-path install 
directories?

$otool -L /opt/gnucash-aq5/bin/gnucash
/opt/gnucash-aq5/bin/gnucash:
        /opt/gnucash-aq5/lib/libgnc-qof.1.dylib (compatibility version 2.0.0, 
current version 2.4.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-engine.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/libgnc-gnome.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-ledger-core.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-register-gnome.dylib 
(compatibility version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-register-core.dylib 
(compatibility version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-report-gnome.dylib 
(compatibility version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-report-system.dylib 
(compatibility version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-gnome-search.dylib 
(compatibility version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-html.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-gnome-utils.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /sw/lib/libgoffice-0.8.8.dylib (compatibility version 9.0.0, current 
version 9.10.0)
        /sw/lib/libwebkit-1.0.2.dylib (compatibility version 14.0.0, current 
version 14.3.0)
        /sw/lib/libsoup-2.4.1.dylib (compatibility version 5.0.0, current 
version 5.0.0)
        /opt/gnucash-aq5/lib/libgnc-backend-xml-utils.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.3)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-app-utils.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /sw/lib/libgnomeui-2.0.dylib (compatibility version 2401.0.0, current 
version 2401.2.0)
        /usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current 
version 7.0.0)
        /usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current 
version 10.0.0)
        /sw/lib/libbonoboui-2.0.dylib (compatibility version 1.0.0, current 
version 1.0.0)
        /sw/lib/gnome-vfs2.16/libgnomevfs-2.0.dylib (compatibility version 
2401.0.0, current version 2401.2.0)
        /sw/lib/libgnomecanvas-2.0.dylib (compatibility version 2601.0.0, 
current version 2601.0.0)
        /sw/lib/libgnome-2.0.dylib (compatibility version 2801.0.0, current 
version 2801.0.0)
        /sw/lib/libpopt.0.dylib (compatibility version 1.0.0, current version 
1.0.0)
        /sw/lib/libbonobo-2.0.dylib (compatibility version 1.0.0, current 
version 1.0.0)
        /sw/lib/libbonobo-activation.4.dylib (compatibility version 5.0.0, 
current version 5.0.0)
        /sw/lib/libORBit-2.0.dylib (compatibility version 2.0.0, current 
version 2.0.0)
        /sw/lib/libart_lgpl_2.2.dylib (compatibility version 6.0.0, current 
version 6.21.0)
        /sw/lib/libglade-2.0.0.dylib (compatibility version 1.0.0, current 
version 1.7.0)
        /sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 
9.32.0)
        /usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current 
version 9.0.0)
        /opt/gnucash-aq5/lib/libgnc-module.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
        /opt/gnucash-aq5/lib/gnucash/libgncmod-calculation.dylib (compatibility 
version 0.0.0, current version 0.0.0)
        /sw/lib/libgtk-x11-2.0.0.dylib (compatibility version 1801.0.0, current 
version 1801.9.0)
        /sw/lib/libgdk-x11-2.0.0.dylib (compatibility version 1801.0.0, current 
version 1801.9.0)
        /sw/lib/libatk-1.0.0.dylib (compatibility version 2810.0.0, current 
version 2810.1.0)
        /sw/lib/libgio-2.0.0.dylib (compatibility version 2201.0.0, current 
version 2201.4.0)
        /sw/lib/pango-ft219/lib/libpangoft2-1.0.0.dylib (compatibility version 
2401.0.0, current version 2401.5.0)
        /sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 1801.0.0, 
current version 1801.9.0)
        /sw/lib/pango-ft219/lib/libpangocairo-1.0.0.dylib (compatibility 
version 2401.0.0, current version 2401.5.0)
        /sw/lib/libcairo.2.dylib (compatibility version 10803.0.0, current 
version 10803.10.0)
        /sw/lib/pango-ft219/lib/libpango-1.0.0.dylib (compatibility version 
2401.0.0, current version 2401.5.0)
        /sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 
11.0.0, current version 11.0.0)
        /usr/X11/lib/libfontconfig.1.dylib (compatibility version 6.0.0, 
current version 6.3.0)
        /opt/gnucash-aq5/lib/libgnc-core-utils.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
        /sw/lib/libgconf-2.4.dylib (compatibility version 6.0.0, current 
version 6.5.0)
        /sw/lib/libgthread-2.0.0.dylib (compatibility version 2201.0.0, current 
version 2201.4.0)
        /sw/lib/libgobject-2.0.0.dylib (compatibility version 2201.0.0, current 
version 2201.4.0)
        /sw/lib/libgmodule-2.0.0.dylib (compatibility version 2201.0.0, current 
version 2201.4.0)
        /sw/lib/libglib-2.0.0.dylib (compatibility version 2201.0.0, current 
version 2201.4.0)
        /sw/lib/libintl.8.dylib (compatibility version 9.0.0, current version 
9.2.0)
        /sw/lib/libguile.17.dylib (compatibility version 21.0.0, current 
version 21.1.0)
        /sw/lib/libgmp.3.dylib (compatibility version 9.0.0, current version 
9.2.0)
        /sw/lib/libltdl.7.dylib (compatibility version 10.0.0, current version 
10.2.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 125.2.0)

Dave
--
David Reiser
dbrei...@earthlink.net




_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to