cosmoharrigan / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 0 forks source link

TestSuite causes distcheck to fail on OS X (autotools or OS X expert required) #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In r775, on my macbook, if I do NOT have RL-Glue installed in /usr/local, I
get this error when I make distcheck:

dyld: Library not loaded:
/Users/btanner/Documents/Java-Projects/rl-glue/rlglue-3.0-beta-b775:798M/_inst/l
ib/librlglue-3:0:0.3.dylib
  Referenced from:
/Users/btanner/Documents/Java-Projects/rl-glue/rlglue-3.0-beta-b775:798M/_build/
tests/.libs/test1
  Reason: image not found
/bin/sh: line 1:  6423 Trace/BPT trap          ${dir}$tst
FAIL: test1

It seems like its not building or linking to librlglue the right way.

I have tried many combinations of things with the configure and makefiles,
and I can't seem to escape this problem.

If I make install first (so librlglue is in /usr/local/lib) make distcheck
works fine.  Make distcheck ALSO works fine on the RLAI machine (linux).

So, I think this is a Mac idiosyncracy, and I don't want to keep fighting
this battle for now.

If we have a Mac or autotools expert, please pipe up.

Original issue reported on code.google.com by brian.ta...@gmail.com on 11 Sep 2008 at 8:42

GoogleCodeExporter commented 9 years ago
I think that should have been r799.

Original comment by brian.ta...@gmail.com on 11 Sep 2008 at 8:44

GoogleCodeExporter commented 9 years ago
I seem to have fixed this, I wasn't doing enough make distclean and ./bootstrap 
I Guess.

Original comment by brian.ta...@gmail.com on 12 Sep 2008 at 5:10