It seems to be a shell quoting problem. Edit configure.ac and replace the
if test "$ENABLE_SHARED" = yes; then
case "$target_os" in ...
with
if test "$ENABLE_SHARED" = yes; then
case "$target_os" in
mingw*) GAMBCLIB="libgambc.dll" SETDLPATH="PATH=$(rootfromhere)/lib:${PATH}" ;;
darwin*) GAMBCLIB="libgambc.dylib" SETDLPATH="DYLD_LIBRARY_PATH=$(rootfromhere)/lib:$ {DYLD_LIBRARY_PATH}" ;;
hpux*) GAMBCLIB="libgambc.so" SETDLPATH="SHLIB_PATH=$(rootfromhere)/lib:${SHLIB_PATH}" ;;
aix*) GAMBCLIB="libgambc.so" SETDLPATH="LIBPATH=$(rootfromhere)/lib:${LIBPATH}" ;;
*) GAMBCLIB="libgambc.so" SETDLPATH="LD_LIBRARY_PATH=$(rootfromhere)/lib:$ {LD_LIBRARY_PATH}" ;; esac
That worked for me.
While I'm at it, does anyone know if there is a standard versioning scheme for shared libraries that I could use for libgambc.so ? Should I simply suffix with the Gambit version number, i.e. libgambc40066.so? What about Windows?
Marc
On 6-Jan-06, at 10:27 PM, Marc Feeley wrote:
I see... the problem is the --enable-shared. I have reproduced the bug on my machine and will investigate.
Marc
On 6-Jan-06, at 3:01 PM, Bradley Lucier wrote:
Try
[lindv2:~/programs/gambc40b16] lucier% env CC='gcc -mcpu=970 - m64' ./configure --enable-single-host --enable-shared checking build system type... powerpc-apple-darwin8.3.0 checking host system type... powerpc-apple-darwin8.3.0 checking target system type... powerpc-apple-darwin8.3.0 checking for gcc... gcc -mcpu=970 -m64
<lots of stuff deleted> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/ include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking whether ln -s works... yes checking for ranlib... ranlib ./configure: line 1: rootfromhere: command not found checking whether make sets $(MAKE)... yes configure: creating ./config.status <etc.>
(What? You object that I report a bug like a newbie?!? I'll try to do better ;-)
Brad
On Jan 6, 2006, at 12:22 PM, Marc Feeley wrote:
Brad, my main development environment is Mac OS X 10.4.3 and I never got that error message. Just to be sure I did a completely new build of Gambit and still the problem does not occur. Could you send me the exact output that you get? By the way, line 1 of configure does not contain "rootfromhere" so I don't see where that message comes from.
Marc
On 4-Jan-06, at 2:49 PM, Bradley Lucier wrote:
On Jan 4, 2006, at 12:48 PM, Marc Feeley wrote:
On 4-Jan-06, at 2:01 AM, Marc Feeley wrote:
Beta 16 of Gambit-C 4.0 is now available in source form at this address:
http://www.iro.umontreal.ca/~feeley/gambc40b16.tar.gz
Most of the bugs reported since the last release have been fixed.
Marc
I have corrected a few build problems (HPUX and Solaris). Please download the tar ball again.
What's this message about during configure of the new (and old) download on Mac OS X 10.4.3
./configure: line 1: rootfromhere: command not found
Gambit-list mailing list Gambit-list@iro.umontreal.ca http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list