bug-gnulib
[Top][All Lists]
Advanced

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

wctype failure


From: Karl Berry
Subject: wctype failure
Date: Mon, 8 Jan 2007 11:30:40 -0600

After gnulib-tool --update, texinfo cvs fails to build:

gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -g -MT mbchar.o -MD -MP -MF 
.deps/mbchar.Tpo -c -o mbchar.o mbchar.c
In file included from mbchar.h:158,
                 from mbchar.c:22:
./wctype.h:50:30: error: does/not/matter.h: No such file or directory
make[3]: *** [mbchar.o] Error 1

Looking at the generated gnulib/lib/wctype.h, I see
/* Include the original <wctype.h> if it exists.
   BeOS 5 has the functions but no <wctype.h>.  */
#if 1
# include "does/not/matter.h"
#endif

I am not on BeOS :), but GNU/Linux (Red Hat WS 4.1, using gcc 4.1.1).


Then, make clean fails with:

rmdir sys
rmdir: sys: Directory not empty
make[1]: *** [mostlyclean-local] Error 1
make[1]: Leaving directory `/u/karl/gnu/src/texinfo/gnulib/lib'

(Because gnulib/lib/sys/stat.h is in the dir.)

If I clean up everything by hand and start from scratch, I get the same
problems.  Before I dig into this to the bitter end, any obvious advice?

Thanks,
Karl

P.S. The creation of wctype.h looked like this:

rm -f wctype.h-t wctype.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's/@''HAVE_WCTYPE_H''@/1/g' \
              -e 's|@''ABSOLUTE_WCTYPE_H''@|"does/not/matter.h"|g' \
              -e 's/@''HAVE_WCTYPE_CTMP_BUG''@//g' \
              -e 's/@''HAVE_WINT_T''@//g' \
              < ./wctype_.h; \
        } > wctype.h-t




reply via email to

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