[Gnucash-changes] r12341 - gnucash/trunk - Using Derek's build-from-tree fix to fix the test-version check

Neil Williams linux at codehelp.co.uk
Fri Jan 13 16:03:46 EST 2006


On Friday 13 January 2006 8:43 pm, Derek Atkins wrote:
> it would also work if you ran:
>
>   exec ../overrides/gnucash-build-env ../gnucash --version

/opt/svn/gnucash/src/bin/test/../gnucash: line 29: exec: gnucash-bin: not 
found

> Without setting the PATH at all.  Another option is:
>
>   exec ../overrides/gnucash-build-env  ../gnucash-bin --version

** (lt-gnucash-bin:27683): WARNING **: Failed to dlopen() 
'/opt/svn/gnucash/src/bin/overrides/../../../src/business/dialog-tax-table/libgncmod-dialog-tax-table.la': 
/opt/svn/gnucash/src/bin/overrides/../../../src/business/dialog-tax-table/libgncmod-dialog-tax-table.so.0: 
cannot open shared object file: No such file or directory

GnuCash 1.9.0 development version

Ugly, but yes, it does work. Leaves a worry that it's not being called 
correctly. (It's even worse if you don't also export GUILE_DEPRECATED=no).

I DID test both of these.

> Have you tested this?  I mean, have you tested whether it's calling
> gnucash-build-env?

Well I have tested that gnucash-build-env is required to run this on a tree 
that has NOT been installed, I don't quite know what other tests you want.

> It might work.. I don't know.  It just feels 
> wrong.

Why? gnucash-build-env is the right script to call to run from the build tree 
and it is the copy of the script gnucash in overrides that is being run - the 
same script trying to call gnucash-bin fails:
/opt/svn/gnucash/src/bin/test/../overrides/gnucash-build-env: line 78: exec: 
gnucash-bin: not found

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060113/059b829f/attachment-0001.bin


More information about the gnucash-devel mailing list