Re: bug on web interface and compiling

[email protected] (Niels Möller) 10 Dec 2003 13:41:56 +0100
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
"hormel" <[email protected]> writes:

> The CVS repository on the web
> (http://www.lysator.liu.se/~nisse/lsh/) page is listed as: "cvs -d
> :pserver:[email protected] co lsh"
> that's incorrect, it should be listed as
> "cvs -d:pserver:[email protected]:/cvsroot/lsh co lsh"

Thanks, fixed now.

> and make, make runs fine, but upon make install, I get
> 
> make[3]: Entering directory `/home/testbuild/lsh-1.5.2/src'
> false -l /home/testbuild/lsh-1.5.2/src/scm/false-compat.scm -e main -l
> /home/testbuild/lsh-1.5.2/src/scm/compiler.scm \
>   -s /home/testbuild/lsh-1.5.2/src/scm/gaba.scm <lsh.c >lsh.c.xT
> make[3]: *** [lsh.c.x] Error 1

There seems to be several problems here. First, it seems that before
you ran make, you already had automatically generated files like
lsh.c.x lying around (if not, you would have got compilation errors
from the first make), but you didn't have the corresponding dependency
files, like .deps/lsh.Po (if you did have that, make should have tried
to rebuild the lsh.c.x file the first time you ran make).

> It looks like this is telling me I'm missing or it can't find
> guile+slib or /scsh. (guile+slib are installed).

Right, you must have guile or scsh installed. The configure script
looks for them. So there might be a configure bug, check config.log to
see what happened.

And at last, the recommended way to build lsh from cvs is to check out
the source, then write

  ./.bootstrap && configure --your-favourite-flags && make bootstrap
  make

The first line makes sure that you have all the automatically
generated files which are included in the lsh distributions, but not
in CVS. The second line compiles the source, and creates 
dependency files which are used the next time you run make.

Regards,
/Niels