Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > configure still suggests apr 1.2.x instead of newer versions

subversion
Discussion topic

Back to topic list

configure still suggests apr 1.2.x instead of newer versions

Author jensseidel
Full name Jens Seidel
Date 2009-11-23 03:51:16 PST
Message Hi,

using 1.2.x branch of apr is a bad idea (see below). This is nervertheless
still suggested by configure in the 1.6.x branch:

$ ./configure:

The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

or

get it with SVN and put it in a subdirectory of this source:

   svn co \
    http://svn.apache.or​g/repos/asf/apr/apr/​branches/1.2.x \
    apr

Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.

Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:

   svn co \
    http://svn.apache.or​g/repos/asf/apr/apr-​util/branches/1.2.x \
    apr-util

configure: error: no suitable apr found

$ svn co http://svn.apache.or​g/repos/asf/apr/apr/​branches/1.2.x apr
$ cd apr && ./buildconf && cd -
buildconf: checking installation...
buildconf: python version 2.6 (ok)
buildconf: autoconf version 2.63 (ok)
buildconf: libtool version 2.2.6 (ok)
Copying libtool helper files ...
./buildconf: line 56: alias: -g: invalid option
alias: usage: alias [-p] [name[=value] ... ]
./buildconf: eval: line 133: syntax error near unexpected token `)'
./buildconf: eval: line 133: ` -*) progname=./$progname ;;'
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/ap​r_private.h.in ...
configure.in:143: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/s​pecific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/s​pecific.m4:459: AC_MINIX is expanded from...
configure.in:143: the top level
configure.in:143: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.in:181: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:181: the top level
configure.in:181: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:181: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:181: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
Creating configure ...
configure.in:143: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/s​pecific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/s​pecific.m4:459: AC_MINIX is expanded from...
configure.in:143: the top level
configure.in:143: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.in:181: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:181: the top level
configure.in:181: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:181: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:181: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure.in:200: error: possibly undefined macro: LT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:9831: error: possibly undefined macro: m4_ifval
configure:12429: error: possibly undefined macro: _LT_SET_OPTIONS
configure:12429: error: possibly undefined macro: LT_INIT
Generating 'make' outputs ...
rebuilding rpm spec file
/home/jens/Programme​/Subversion/1.6.x

$ ./configure
[snip]
performing libtool configuration...
/home/jens/Programme​/Subversion/1.6.x/ap​r/configure: line 9829: syntax error near unexpected token `lt_decl_varnames,'
/home/jens/Programme​/Subversion/1.6.x/ap​r/configure: line 9829: `lt_if_append_uniq(l​t_decl_varnames, SED, , ,'
configure failed for apr

My system:
automake (GNU automake) 1.10.1
autoconf (GNU Autoconf) 2.63
ltmain.sh (GNU libtool) 2.2.6

So I suggest to suggest 1.3.x, this works for me much better.

Jens

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

configure still suggests apr 1.2.x instead of newer versions jensseidel Jens Seidel 2009-11-23 03:51:16 PST
     Re: configure still suggests apr 1.2.x instead of newer versions hwright Hyrum K. Wright 2010-01-04 06:22:36 PST
Messages per page: