bug-hurd
[Top][All Lists]
Advanced

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

glibc 'make install' fails when built apart from source tree - libc.info


From: Stephen Gilles
Subject: glibc 'make install' fails when built apart from source tree - libc.info
Date: Sat, 19 Nov 2011 13:54:50 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

I was packaging glibc for the Arch Hurd yesterday, and I noticed that the `make 
install' command aborts for the latest git version.  In particular, the 
following section of my generated manual/Makefile was problematic.

install: $(inst_infodir)/libc.info
        @if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \
         test -f $(inst_infodir)/dir || $(INSTALL_DATA) dir $(inst_infodir);\
         $(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info;\
        else : ; fi

install-info complained that libc.info was an empty file.  I'm not sure whether 
this is an issue with my system, with the ./confgure script, with some 
component of my system, with libc.info, etc., but I know that changing the 
fourth line to 

         $(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info; 
true \

allowed make to skip the broken section and continue.

After investigation, I believe that this was caused by me configuring and 
making glibc out of tree (our install script creates works in directory 
src/build, while the git repo is cloned to src/glibc).  Within the source 
directory (src/glibc) libc.info was present, but within the build directory 
(src/build) it was absent.

So I guess the error, in brief, is that building and installing glibc from a 
non-source directory succeeds - except for the manual/libc.info file.

Thanks,
Stephen Gilles



Attachment: pgpXo7uKzTRhW.pgp
Description: PGP signature


reply via email to

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