Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4004 closed task (fixed)

Texinfo clarification needed for Chapter 5 build

Reported by: Armin Owned by: lfs-book@…
Priority: normal Milestone: 8.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

When building texinfo in Chapter 5, the configure script outputs the following:

make[1]: Leaving directory '/home/armin/src/texinfo-6.3/tp/Texinfo/Convert/XSParagraph'
/usr/bin/xsubpp -typemap /tools/lib/perl5/5.24.0/ExtUtils/typemap TestXS.xs > TestXS.xsc && mv TestXS.xsc TestXS.c
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I. -I./lib -I./lib  -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"6.3\" -DXS_VERSION=\"6.3\" "-I/tools/lib/perl5/5.24.0/x86_64-linux/CORE"  -MT TestXS_la-TestXS.lo -MD -MP -MF .deps/TestXS_la-TestXS.Tpo -c -o TestXS_la-TestXS.lo `test -f 'TestXS.c' || echo './'`TestXS.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I./lib -I./lib -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"6.3\" -DXS_VERSION=\"6.3\" -I/tools/lib/perl5/5.24.0/x86_64-linux/CORE -MT TestXS_la-TestXS.lo -MD -MP -MF .deps/TestXS_la-TestXS.Tpo -c TestXS.c  -fPIC -DPIC -o .libs/TestXS_la-TestXS.o
TestXS.xs:4:20: fatal error: EXTERN.h: No such file or directory
 #include "EXTERN.h"
                    ^
compilation terminated.
make: *** [Makefile:957: TestXS_la-TestXS.lo] Error 1
checking whether we can build Perl extension (XS) modules... no

I've had an user misinterpret this and think of it as an error (probably due to Makefile part), trying to rebuild chapter 5 and perl countless times, just so I could verify that same happens here and that it isn't an issue.

I think it would be nice to either explicitly disable this test using --disable-perl-xs or note that it isn't an issue.

Change History (2)

comment:1 by bdubbs@…, 5 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11152.

comment:2 by bdubbs@…, 5 years ago

Milestone: 7.118.0

Milestone renamed

Note: See TracTickets for help on using tickets.