Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88449

Summary: Apache 2..0.53 compile error
Product: Gentoo Linux Reporter: Krunch <krunchj>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Krunch 2005-04-09 03:07:10 UTC
Configuring Apache Portable Runtime library ERROR

Reproducible: Always
Steps to Reproduce:
1. emerge -C apache php mod_php
2. emerge apache
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/apache-2.0.53 to /
>>> md5 src_uri ;-) httpd-2.0.53.tar.bz2
>>> md5 src_uri ;-) gentoo-apache-2.0.53-20050303.tar.bz2
>>> Unpacking source...
>>> Unpacking httpd-2.0.53.tar.bz2 to /var/tmp/portage/apache-2.0.53/work
>>> Unpacking gentoo-apache-2.0.53-20050303.tar.bz2 to
/var/tmp/portage/apache-2.0.53/work
 * 7 patches to apply ...
 * Applying 00_all_gentoo_base.patch ...                                  [ ok ]
 * Applying 00_all_gentoo_path2perl.patch ...                             [ ok ]
 * Applying 03_all_redhat_xfsz.patch ...                                  [ ok ]
 * Applying 04_all_ssl_makefile.patch ...                                 [ ok ]
 * Applying 05_all_peruser-r8.patch ...                                   [ ok ]
 * Applying 06_all_mod_rewrite_ampescape.patch ...                        [ ok ]
 * Applying 07_all_mod_dir_incremental.patch ...                          [ ok ]
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.14 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in ../apr
Creating include/private/apu_config.h ...
Creating configure ...
Invoking xml/expat/buildconf.sh ...
Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ...
Copying libtool helper files ...
Creating config.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
rebuilding rpm spec file
copying build files
fixing timestamps for mod_ssl sources
rebuilding srclib/pcre/configure
rebuilding include/ap_config_auto.h.in
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
rebuilding configure
rebuilding rpm spec file
>>> Source unpacked.
 * DATADIR is set to: /var/www/localhost
 * USERDIR is set to: public_html
 * Using GNU config files from /usr/share/libtool
 *  Updating build/config.sub                                             [ ok ]
 *  Updating srclib/apr/build/config.sub                                  [ ok ]
 *  Updating srclib/pcre/config.sub                                       [ ok ]
 *  Updating srclib/apr-util/xml/expat/conftools/config.sub               [ ok ]
 *  Updating srclib/apr-util/build/config.sub                             [ ok ]
 *  Updating build/config.guess                                           [ ok ]
 *  Updating srclib/apr/build/config.guess                                [ ok ]
 *  Updating srclib/pcre/config.guess                                     [ ok ]
 *  Updating srclib/apr-util/xml/expat/conftools/config.guess             [ ok ]
 *  Updating srclib/apr-util/build/config.guess                           [ ok ]
 * /etc/apache2/apache2-builtin-mods options:
 --disable-example --enable-access=shared --enable-auth=shared
--enable-auth_dbm=shared --enable-auth_anon=shared --enable-auth_digest=shared
--enable-alias=shared --enable-file-cache=shared --enable-echo=shared
--enable-charset-lite=shared --enable-cache=shared --enable-disk-cache=shared
--enable-mem-cache=shared --enable-ext-filter=shared --enable-case_filter=shared
--enable-case-filter-in=shared --enable-deflate=shared
--enable-mime-magic=shared --enable-cern-meta=shared --enable-expires=shared
--enable-headers=shared --enable-usertrack=shared --enable-unique-id=shared
--enable-proxy=shared --enable-proxy-connect=shared --enable-proxy-ftp=shared
--enable-proxy-http=shared --enable-ssl=shared --disable-optional-hook-export
--disable-optional-hook-import --disable-optional-fn-import
--disable-optional-fn-export --disable-bucketeer --enable-info=shared
--enable-include=shared --enable-cgi=shared --enable-cgid=shared
--enable-dav=shared --enable-dav-fs=shared --enable-vhost-alias=shared
--enable-speling=shared --enable-rewrite=shared --enable-log_config=shared
--enable-logio=shared --enable-env=shared --enable-setenvif=shared
--enable-mime=shared --enable-status=shared --enable-autoindex=shared
--enable-asis=shared --enable-negotiation=shared --enable-dir=shared
--enable-imap=shared --enable-actions=shared --enable-userdir=shared --enable-so=yes
 * No MPM style was specified, defaulting to mpm-prefork.
make: *** No hay ninguna regla para construir el objetivo `clean'.  Alto.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache
/var/tmp/portage/apache-2.0.53/work/httpd-2.0.53/config.cache
checking for chosen layout... Gentoo
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CPP to "gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE"
  setting LDFLAGS to " "
  setting INCLUDES to " -I/usr/include/apr-0 "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... configure: error:
The directory given to --with-apr-util does not specify a prefix for an
installed APU, nor an APR-util build directory.

!!! ERROR: net-www/apache-2.0.53 failed.
!!! Function src_compile, Line 123, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your
config.layout and config.log
!!! If you need support, post the topmost build error, NOT this status message.



emerge info
Portage 2.0.51.19 (hardened/x86, gcc-3.3.4, glibc-2.3.4.20050125-r0,
2.6.11-rc4-mm1 i686)
=================================================================
System uname: 2.6.11-rc4-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 10 2005, 21:10:07)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 arts avi bash-completion berkdb bonobo cdr crypt
curl dba directfbi dlloader dvd esd fam fbcon flac flash gbm gd gd-external gdbm
gif gnome gphoto2 gpm gstreamer gtk gtkhtml guile imagemagick imap imlib java
jpeg jpg junit libg++ libwww lirc mad mikmod motif mozilla mpeg mysql ncurses
nls oggvorbis opengl pam pdflib perl php php5 png python qt readline samba sd1
sdl session slang spell svga tcltk tcpd tetex tiff truetype x86 xml xml2 xmms xv
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Christian Parpart (RETIRED) gentoo-dev 2005-04-09 06:22:48 UTC
This is the important part of your emerge output:

checking for APR-util... configure: error:
The directory given to --with-apr-util does not specify a prefix for an
installed APU, nor an APR-util build directory.

Now, let us see what *EXACT* version of dev-util/apr and dev-util/apr-util you have installed.

$ emerge -pv dev-util/apr dev-util/apr-util
Comment 2 Christian Parpart (RETIRED) gentoo-dev 2005-04-09 06:29:15 UTC
hmm... there's another bug report (already existing) reporting the same error.

please answer my question over there. (thanks)

*** This bug has been marked as a duplicate of 87660 ***