#4004: Texinfo clarification needed for Chapter 5 build
--------------------+------------------------
Reporter: Krejzi | Owner: lfs-book@…
Type: task | Status: new
Priority: normal | Milestone: 7.11
Component: Book | Version: SVN
Severity: normal | Keywords:
--------------------+------------------------
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.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4004>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page