bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: integrating gnulib into GNU clisp


From: Sam Steingold
Subject: Re: integrating gnulib into GNU clisp
Date: Tue, 16 Oct 2007 20:49:17 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070719)

Bruno Haible wrote:
If you just need to copy some files (such as config.guess, config.sub -
these are not part of any module), copy them. 'depcomp', 'install-sh', 'missing'
come from "automake --add-missing".

yes, I have this in Makefile.devel:

GNULIB_HOME=../../gnulib/gnulib
AUX_REQ=config.guess config.rpath config.sub depcomp install-sh missing
gnulib-update : force
for f in $(AUX_REQ); do cp -afuv $(GNULIB_HOME)/build-aux/$$f src/build-aux; done
        ln -sv src/configure.in configure.ac
        $(GNULIB_HOME)/gnulib-tool --import --source-base=src/gllib \
                --m4-base=src/glm4 --aux-dir=src/build-aux --no-changelog \
                stdint stdbool regex fnmatch-gnu
        rm -fv configure.ac

$ make -f Makefile.devel gnulib-update
for f in config.guess config.rpath config.sub depcomp install-sh missing; do cp -afuv ../../gnulib/gnulib/build-aux/$f src/build-aux; done
ln -sv src/configure.in configure.ac
create symbolic link `configure.ac' to `src/configure.in'
../../gnulib/gnulib/gnulib-tool --import --source-base=src/gllib \
                --m4-base=src/glm4 --aux-dir=src/build-aux --no-changelog \
                stdint stdbool regex fnmatch-gnu
gnulib-tool: module config.guess doesn't exist
gnulib-tool: module config.rpath doesn't exist
gnulib-tool: module config.sub doesn't exist
gnulib-tool: module depcomp doesn't exist
gnulib-tool: module install-sh doesn't exist
gnulib-tool: module missing doesn't exist
Module list with included dependencies:
  absolute-header
  alloca
  alloca-opt
  configmake
.....

so, why is gnulib-tool talking about config.guess et al?

now to the even weirder part:
./configure --build build-O
created gllib with a circular symlink:
$ ls -l gllib/
total 80
28 -rw-rw-r-- 1 sds sds 28161 Oct 16 19:01 Makefile
 4 -rw-rw-r-- 1 sds sds  1877 Oct 16 19:02 alloca.h
 4 -rw-rw-r-- 1 sds sds   211 Oct 16 19:02 charset.alias
 4 -rw-rw-r-- 1 sds sds   670 Oct 16 19:02 configmake.h
 4 -rw-rw-r-- 1 sds sds   745 Oct 16 19:02 libgnu.la
 4 -rw-rw-r-- 1 sds sds   327 Oct 16 19:02 localcharset.lo
 4 -rw-rw-r-- 1 sds sds  2544 Oct 16 19:02 localcharset.o
 4 -rw-rw-r-- 1 sds sds   162 Oct 16 19:02 ref-add.sed
 4 -rw-rw-r-- 1 sds sds   120 Oct 16 19:02 ref-del.sed
 4 -rw-rw-r-- 1 sds sds   306 Oct 16 19:02 regex.lo
0 lrwxrwxrwx 1 sds sds 50 Oct 16 19:09 regex.o -> /usr/local/src/clisp/current/build-O/gllib/regex.o
 8 -rw-rw-r-- 1 sds sds  5324 Oct 16 19:02 stdlib.h
 8 -rw-rw-r-- 1 sds sds  8060 Oct 16 19:02 unistd.h
$

so I blew it away and recreated it and now I get this:

$ make gllib
mkdir -p gllib
if test ! -f gllib/Makefile; then sh config.status --file=gllib/Makefile; fi
config.status: creating gllib/Makefile
make -C gllib
make[1]: Entering directory `/usr/local/src/clisp/current/build-O/gllib'
Makefile:374: .deps/alloca.Plo: No such file or directory
Makefile:375: .deps/alloca.Plo: No such file or directory
Makefile:376: .deps/fnmatch.Plo: No such file or directory
Makefile:377: .deps/fnmatch_loop.Plo: No such file or directory
Makefile:378: .deps/localcharset.Plo: No such file or directory
Makefile:379: .deps/malloc.Plo: No such file or directory
Makefile:380: .deps/regcomp.Plo: No such file or directory
Makefile:381: .deps/regex.Plo: No such file or directory
Makefile:382: .deps/regex_internal.Plo: No such file or directory
Makefile:383: .deps/regexec.Plo: No such file or directory
make[1]: *** No rule to make target `.deps/regexec.Plo'.  Stop.
make[1]: Leaving directory `/usr/local/src/clisp/current/build-O/gllib'
make: *** [gllib] Error 2
$ ls -a gllib/
total 48
 4 ./  16 ../  28 Makefile
$

there is no .deps in either build-O or build-O/gllib






reply via email to

[Prev in Thread] Current Thread [Next in Thread]