[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Perl's cc
From: |
Eli Zaretskii |
Subject: |
Re: Using Perl's cc |
Date: |
Sat, 04 Jul 2015 16:23:39 +0300 |
> Date: Sat, 4 Jul 2015 14:00:59 +0100
> From: Gavin Smith <address@hidden>
> Cc: address@hidden
>
> > $ autoreconf
> > Makefile.am:51: Libtool library used but `LIBTOOL' is undefined
> > Makefile.am:51: The usual way to define `LIBTOOL' is to add `LT_INIT'
> > Makefile.am:51: to `configure.ac' and run `aclocal' and `autoconf'
> > again.
> > Makefile.am:51: If `LT_INIT' is in `configure.ac', make sure
> > Makefile.am:51: its definition is in aclocal's search path.
> > autoreconf: automake failed with exit status: 1
>
> It might be because of the version of aclocal you are using. I ignored
> the advice:
>
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
>
> because ACLOCAL_AMFLAGS has been removed from the latest automake
> documentation and aclocal should be able to look at the use of
> AC_CONFIG_MACRO_DIR in configure.ac.
>
> I am using aclocal from automake 1.15.
You are probably right. I don't really understand what I'm doing
here, so here's the entire output, after adding
ACLOCAL_AMFLAGS = -I m4
to XSParagraph's Makefile.am:
$ libtoolize
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'.
libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'.
libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'.
libtoolize: You should add the contents of `m4/ltversion.m4' to `aclocal.m4'.
libtoolize: You should add the contents of `m4/lt~obsolete.m4' to
`aclocal.m4'.
$ aclocal
$ autoreconf
configure.ac:3: required file `./config.guess' not found
configure.ac:3: `automake --add-missing' can install `config.guess'
configure.ac:3: required file `./config.sub' not found
configure.ac:3: `automake --add-missing' can install `config.sub'
autoreconf: automake failed with exit status: 1
$ cd ../../../../
$ ./autogen.sh
Preparing Texinfo development infrastructure:
./tp/maintain/regenerate_file_lists.pl
(cd tp && ./maintain/regenerate_docstr.sh Makefile.docstr)
(cd tp/tests && ../maintain/regenerate_cmd_tests.sh Makefile.onetst . -base
'formatting' -long 'sectioning coverage indices nested_formats contents layout'
-tex_html 'tex_html')
(cd tp/tests/htmlxref && ../../maintain/regenerate_cmd_tests.sh
Makefile.onetst htmlxref -base .)
(cd tp/tests/htmlxref-only_mono && ../../maintain/regenerate_cmd_tests.sh
Makefile.onetst htmlxref-only_mono -base .)
(cd tp/tests/htmlxref-only_split && ../../maintain/regenerate_cmd_tests.sh
Makefile.onetst htmlxref-only_split -base .)
aclocal -I gnulib/m4 && autoconf && autoheader && automake
(cd tp/Texinfo/Convert/XSParagraph && autoreconf --install)
configure.ac:3: installing `./config.guess'
configure.ac:3: installing `./config.sub'
Now run configure with your desired options, for instance:
./configure CFLAGS='-g'
And the configure script now says at its end:
Getting Perl flags for ccflags
conf value is -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement
cleaned is -DPERL_USE_SAFE_PUTENV -DDEBUGGING
Getting Perl flags for cccdlflags
conf value is
cleaned is
Getting Perl conf value archlibexp
Getting Perl conf value cc
checking for perl... /bin/perl
checking for xsubpp... /bin/xsubpp
But the build fails:
Making all in tp
make[2]: Entering directory `/d/gnu/svn/texinfo/trunk/tp'
Making all in Texinfo/Convert/XSParagraph
make[3]: Entering directory
`/d/gnu/svn/texinfo/trunk/tp/Texinfo/Convert/XSParagraph'
/bin/xsubpp XSParagraph.xs > XSParagraph.xsc && mv XSParagraph.xsc
XSParagraph.c
Error: 'HV *' not in typemap in XSParagraph.xs, line 18
Error: 'HV *' not in typemap in XSParagraph.xs, line 22
Error: 'SV *' not in typemap in XSParagraph.xs, line 32
Error: 'HV *' not in typemap in XSParagraph.xs, line 33
Error: 'SV *' not in typemap in XSParagraph.xs, line 51
Error: 'HV *' not in typemap in XSParagraph.xs, line 56
Error: 'int' not in typemap in XSParagraph.xs, line 62
Error: 'HV *' not in typemap in XSParagraph.xs, line 66
Error: 'HV *' not in typemap in XSParagraph.xs, line 74
Error: 'char *' not in typemap in XSParagraph.xs, line 80
Error: 'HV *' not in typemap in XSParagraph.xs, line 84
Error: 'char *' not in typemap in XSParagraph.xs, line 90
Error: 'HV *' not in typemap in XSParagraph.xs, line 95
Error: 'SV *' not in typemap in XSParagraph.xs, line 115
Error: 'HV *' not in typemap in XSParagraph.xs, line 119
Error: 'SV *' not in typemap in XSParagraph.xs, line 130
Error: 'HV *' not in typemap in XSParagraph.xs, line 153
Error: 'SV *' not in typemap in XSParagraph.xs, line 154
Error: 'SV *' not in typemap in XSParagraph.xs, line 180
Error: 'HV *' not in typemap in XSParagraph.xs, line 184
Error: 'SV *' not in typemap in XSParagraph.xs, line 185
Error: 'SV *' not in typemap in XSParagraph.xs, line 225
Error: 'HV *' not in typemap in XSParagraph.xs, line 230
Error: 'HV *' not in typemap in XSParagraph.xs, line 238
Error: 'HV *' not in typemap in XSParagraph.xs, line 247
Error: 'SV *' not in typemap in XSParagraph.xs, line 248
Error: 'char *' not in typemap in XSParagraph.xs, line 288
Please specify prototyping behavior for XSParagraph.xs (see perlxs manual)
Makefile:851: recipe for target `XSParagraph.c' failed
make[3]: *** [XSParagraph.c] Error 1
make[3]: Leaving directory
`/d/gnu/svn/texinfo/trunk/tp/Texinfo/Convert/XSParagraph'
Makefile:2997: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/gnu/svn/texinfo/trunk/tp'
Makefile:1446: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/gnu/svn/texinfo/trunk'
Makefile:1386: recipe for target `all' failed
make: *** [all] Error 2
What now?
- Re: Using Perl's cc, (continued)
- Re: Using Perl's cc, Gavin Smith, 2015/07/03
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/03
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc,
Eli Zaretskii <=
- Message not available
- Message not available
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/25
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/26
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05