This is my compilation step:
This compile is for Solaris 10.
I used a prefix within myhome dir for configure instead of the default which is /usr/local(to avoid the sudo part)
$ ./configure --prefix=/export/home/myhome/gambit CC="gcc -Dctid_t=id_t -Dzoneid_t=id_t" --enable-single-host --enable-gcc-opts
$ make
$ make test
$ make install
The make install fails with the error message below(last few lines) :
---------------------------------<cut here>-----------------------------------------------
for file in _gambc.c "_kernel\#.scm" "_system\#.scm" "_num\#.scm" "_std\#.scm" "_eval\#.scm" "_io\#.scm" "_nonstd\#.scm" "_thread\#.scm" "_repl\#.scm" "_gambit \#.scm" "gambit\#.scm" "r5rs\#.scm" "r4rs\#.scm" "digest\#.scm" digest.scm synt ax-case.scm; do \
../install-sh -c -m 644 $file $t_libdir/$file; \
done; \
for file in libgambc.a; do \
../install-sh -c -m 644 $file $t_libdir/$file; \
done; \
if test "$t_libdir" != "$i_libdir"; then \
r_libdir=`../relpath "$t_libdir" "$i_libdir" no`; \
for file in _gambc.c "_kernel\#.scm" "_system\#.scm" "_num\#.scm" "_std\#.scm" "_eval\#.scm" "_io\#.scm" "_nonstd\#.scm" "_thread\#.scm" "_repl\#.scm" "_gambit\#.scm" "gambit\#.scm" "r5rs\#.scm" "r4rs\#.scm" "digest\#.scm" digest.scm sy ntax-case.scm libgambc.a; do \
(cd $i_libdir && ln -s $r_libdir$file $file); \
done; \
fi
install: _kernel\#.scm does not exist
*** Error code 1
make: Fatal error: Command failed for target `install-post'
Current working directory /export/home/myhome/gamb/gamb/lib
*** Error code 1
The following command caused the error:
for subdir in include lib gsi gsc bin misc doc tests examples prebuilt; do \
target=`echo install-recursive | sed 's/-recursive//'`; \
echo making $target in $subdir; \
(cd $subdir && make $target) || exit 1; \
done
make: Fatal error: Command failed for target `install-recursive'
-----------------------------------< cut here>----------------------------------------------------------------
This compilation itself looks good.
I can run the gambit intepreter just fine:
/export/home/myhome/gamb/gamb/gsc/gsc
Gambit v4.5.3
>
*** EOF again to exit
Its only the 'make install' part which fails
Might be a silly question, but did you do a "sudo make install"?
Also, you might want to post the full command line you typed to the mailing list (including the "configure" command).
Cheers,
Guillaume
-----Original Message-----
From: joe tex <joetex1@gmail.com>
Date: Tue, 1 Dec 2009 09:33:41
To: <gambit-list@iro.umontreal.ca>
Subject: [gambit-list] Running make install for Gambit v4.5.3 in Solaris
10/SPARC
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list