building from SVN on MacOS -- make check fails?

2006-12-26 Thread Derek Atkins
Hi to all you MacOS developers.

I decided to help Andreas test some code on MacOS so I pulled
down his branch, built it, and was trying to run a make check.
But it failed!  So I tried trunk.  make check failed there, too!
So I wanted to try 2.0, and it even failed THERE, too!

So now I'm confused...

I'm using MacPorts; I installed 2.0.2 via macports, and I had
to install a few extra packages to build from SVN, but not too many.
But I'm wondering if I'm missing something to get make check
working?

When I run make check I get dlopen failures.  For example:

** (process:5220): WARNING **: Failed to dlopen() 
'../../../src/gnc-module/test/mod-foo/libgncmodfoo.la': 
dlopen(../../../src/gnc-module/test/mod-foo/libgncmodfoo.0.dylib, 9): image not 
found

Obviously here it's looking in the wrong place; the .dylib is in
...test/mod-foo/.libs/libgncmodfoo.0.dylib, but I don't know
why it's missing the .libs path.

Building from trunk is even stranger!  I get:

ERROR: In procedure dynamic-link:
ERROR: file: libguile-srfi-srfi-13-14-v-1, message: 
dlopen(libguile-srfi-srfi-13-14-v-1.so, 9): image not found

Strange that in trunk it's looking for a .so and not a .dylib!

Any MacOS help would be greatly appreciated!

Thanks,

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: building from SVN on MacOS -- make check fails?

2006-12-26 Thread Derek Atkins
Okay, an update...

Quoting Derek Atkins [EMAIL PROTECTED]:

 ERROR: In procedure dynamic-link:
 ERROR: file: libguile-srfi-srfi-13-14-v-1, message: 
 dlopen(libguile-srfi-srfi-13-14-v-1.so, 9): image not found

1) the .so is just a test output here.  It's really looking for the right
   thing.

2) This libguile-srfi issue is due to a missing DYLD_LIBRARY_PATH setting
   from MacPorts.  The gnc-test-env script was dying, and that was causing
   lots of other issues.  When I set DYLD_LIBRARY_PATH then all is well here.

Now, I'm getting real GNC failures from trunk.  :)  Now I see:

ERROR: In procedure dynamic-func:
ERROR: dysym(0x1013f0, scm_init_sw_gnc_module_module): symbol not found
FAIL: test-load-scm

At least progress is being made.

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available

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