apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Hauner <martin.hau...@gmx.net>
Subject build setup failure with 1.3.x (apr) branch on mingw
Date Sun, 02 May 2010 16:59:45 GMT
Me again ;-)

another build issue, this time on mingw. somehow configure doesn't properly 
replace libtools path and trying to find it at /libtool:

hauner@W7 /c/Development/mingw-build/apr-1.3.x-build
$ make
make[1]: Entering directory `/c/Development/mingw-build/apr-1.3.x-build'
/bin/sh /libtool --silent --mode=compile gcc -g -O0   -DHAVE_CONFIG_H 
-D_LARGEFILE64_SOURCE   -I./include 
-I/c/Development/mingw-build/apr-1.3.x/include/arch/win32 -I./include/arch/unix 
-I/c/Development/mingw-build/apr-1.3.x/include  -o passwd/apr_getpass.lo -c 
../apr-1.3.x/passwd/apr_getpass.c && touch passwd/apr_getpass.lo
/bin/sh: /libtool: No such file or directory
make[1]: *** [passwd/apr_getpass.lo] Error 127
make[1]: Leaving directory `/c/Development/mingw-build/apr-1.3.x-build'
make: *** [all-recursive] Error 1

which is caused by apr_rules.mk where top_builddir doesn't get replaced:

# Configuration variables

# Some layouts require knowing what version we are at.

LIBTOOL=$(SHELL) $(top_builddir)/libtool

buildconf looks ok and i have placed an echo of $(top_builddir)
into configure which is ok but it doesn't find its way to apr_rules.mk.

Any idea?

$ ./buildconf
buildconf: checking installation...
buildconf: python version 2.6.5 (ok)
buildconf: autoconf version 2.64 (ok)
buildconf: libtool version 2.2.7a (ok)
buildconf: copying libtool helper files using /mingw/bin/libtoolize
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
libtoolize: Consider adding `-I build' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
buildconf: creating include/arch/unix/apr_private.h.in ...
buildconf: creating configure ...
buildconf: generating 'make' outputs ...
buildconf: rebuilding rpm spec file

$ ../apr-1.3.x/configure --prefix=/C/Development/mingw-install --enable-threads
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
Configuring APR library
Platform: i686-pc-mingw32
srcdir: ../apr-1.3.x
apr_builddir: /c/Development/mingw-build/apr-1.3.x-build
top_builddir: /c/Development/mingw-build/apr-1.3.x-build
checking for working mkdir -p... yes
APR Version: 1.3.13


Subcommander 2.0.0 Beta 5 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.

View raw message