[pcre-dev] Problems with latest autotools

Página Principal
Apagar esta mensagem
Autor: ph10
Data:  
Para: pcre-dev
Assunto: [pcre-dev] Problems with latest autotools
I am in the process of replacing a Gentoo Linux OS (which is so old it
has now become unmaintainable) with Arch Linux on my workstation. This
has, I believe, installed more recent autotools. When I try to build
PCRE, I have two problems:

(1) Running ./autogen.sh gives a lot of warnings, which I reproduce
below, but it seems to work. However, it installs something called
test-driver, which I don't think was there before. This is

automake (GNU automake) 1.13.1

(2) More worryingly, although PCRE builds without problems, and I can
run ./RunTest, ./RunGrepTest, pcre_jit_test, and pcrecpp_unittest
without problems, "make check" no longer works. It seems to go into some
kind of loop in the Makefile, which I have not yet been able to debug.

Can anybody help, please?

Philip

Here is the output from automake:

+ automake -a -c -f -W all
Makefile.am:801: warning: coverage_quiet_$(V: non-POSIX recursive variable expansion
Makefile.am:802: warning: coverage_quiet_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpcre.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:221: while processing Libtool library 'libpcre.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpcre16.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:261: while processing Libtool library 'libpcre16.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpcre32.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:300: while processing Libtool library 'libpcre32.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpcrecpp.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:440: while processing Libtool library 'libpcrecpp.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpcreposix.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:424: while processing Libtool library 'libpcreposix.la'
parallel-tests: installing './test-driver'
+ rm -rf autom4te.cache
+ exit 0

--
Philip Hazel