|
From: | Bruce Korb |
Subject: | Re: glob-libc.h not installed |
Date: | Wed, 25 May 2011 16:26:04 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 |
On 05/25/11 14:44, Reuben Thomas wrote:
On 9 May 2011 17:19, Bruce Korb<address@hidden> wrote:On 05/08/11 15:24, Reuben Thomas wrote:Still missing a header:...In file included from lposix.c:25:0: /usr/local/include/libposix/glob.h:381:23: fatal error: glob-libc.h: No such file or directoryThe derived file "glob.h" unconditionally sources "glob-libc.h". Therefore, whenever "glob.h" gets used, this file must be handled. The make file fragment does not ensure this:Ping? Or were you expecting me to do something?
Well, I don't know what needs to change in the Makefile fragment. I could figure it out by reverse engineering the mechanism, but I've not gotten to it. Either EXTRA_HEADERS or some flavor of *pkginclude_HEADERS (both?) needs to have glob-libc.h added to it. My focus on computing life right now is my new job......Sorry. Makefile.am: nodist_pkginclude_HEADERS += $(GLOB_H) EXTRA_HEADERS += glob.h BUILT_SOURCES += $(GLOB_H) # We need the following in order to create <glob.h> when the system # doesn't have one that works with the given compiler. if GL_GENERATE_GLOB_H glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f address@hidden $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/glob.in.h; \ } > address@hidden && \ mv -f address@hidden $@ else glob.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += glob.h glob.h-t
[Prev in Thread] | Current Thread | [Next in Thread] |