Re: make install fails: #error "Please include config.h first."

Stephen Berman via clisp-list <[email protected]> Sun, 03 Nov 2024 20:17:07 +0100
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
On Sat, 02 Nov 2024 19:38:06 +0100 Stephen Berman via clisp-list <[email protected]> wrote:

> Today I updated my local git repo of clisp to the latest commit
> 0e67ff47e and successfully configured and built clisp, but install
> failed with many errors like this (I've attached a file with the full
> shell output of make install):
>
> In file included from /usr/include/string.h:462,
>                  from /home/steve/src/clisp/build_20241102/gllib/string.h:41,
>                  from clisp.c:23:
> /home/steve/src/clisp/build_20241102/gllib/strings.h:42:3: error: #error "Please include config.h first."
>    42 |  #error "Please include config.h first."
>       |   ^~~~~
>
> A web search found many reports with this error, but I could not find
> anything that made make install succeed.  My system is GNU/Linux with
> gcc-14.2.0 and glibc-2.40.  My last build of clisp, where make install
> also succeeded, was last May 21, using the latest git commit at that
> time; that system was with gcc-13.2.0 and glibc-2.39.
>
> I'd be grateful for any help in solving this issue.

I just updated again and now make install succeeded too.  Perhaps the
problem I had yesterday was fixed by this commit?

* 79d82fcb6..: Bruno Haible 2024-11-03 build: Build the clisp driver program without gnulib, part 2.

Steve Berman


_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list