bug-gnulib
[Top][All Lists]
Advanced

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

Missing $(LINK_WARNING_H) in test's Makefile causes error with Mac OS X


From: Pauli Miettinen
Subject: Missing $(LINK_WARNING_H) in test's Makefile causes error with Mac OS X 10.5.8's sed (GNU gnulib 2009-09-15 21:54:43)
Date: Mon, 21 Sep 2009 19:58:10 +0300

Building the gnulib's (GNU gnulib 2009-09-15 21:54:43) tests fail with Mac OS X 10.5.8 as follows:

              -e '/definition of GL_LINK_WARNING/r ' \
              < ./stdlib.in.h; \
        } > stdlib.h-t && \
        mv stdlib.h-t stdlib.h
sed: 1: "/definition of GL_LINK_ ...": filename expected
make[1]: *** [stdlib.h] Error 1
make: *** [all-recursive] Error 1

This happens when Makefile is building stdlib.h. It seems that this happens because the variable LINK_WARNING_H is not defined in tests/ Makefile.am, and Mac OS X's sed can't handle verb 'r' without file name (in contrast to GNU sed 4.1.5). This problem does not happen when building the library, as then LINK_WARNING_H is properly defined in Makefile.am.

The modules that were included were getopt-gnu and error (with dependencies). Importing link-warning module didn't help.


Best regards,

Pauli Miettinen






reply via email to

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