Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41810 - Apache 1.3.29-r1 won't compile (or any of the 1.3 series)
Summary: Apache 1.3.29-r1 won't compile (or any of the 1.3 series)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 10:51 UTC by Chris Aniszczyk (RETIRED)
Modified: 2004-04-02 00:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-16 10:51:03 UTC
gcc -shared  -o mod_rewrite.so mod_rewrite.lo -L/usr/lib -lm -lcrypt -ldb1 -lmm -lexpat -lpthread
gcc -c  -I../../os/unix -I../../include  -O2 -march=pentium4 -pipe -DHARD_SERVER_LIMIT=512              -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM `../../apaci` -fpic -DSHARED_MODULE mod_digest.c && mv mod_digest.o mod_digest.lo
mod_auth_db.c: In function `get_db_pw':
mod_auth_db.c:175: warning: passing arg 2 of pointer to function from incompatible pointer type
mod_auth_db.c:175: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
mod_auth_db.c:175: error: too few arguments to function
make[4]: *** [mod_auth_db.so] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc -shared  -o mod_digest.so mod_digest.lo -L/usr/lib -lm -lcrypt -ldb1 -lmm -lexpat -lpthread
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-1.3.29-r1/work/apache_1.3.29/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/tmp/portage/apache-1.3.29-r1/work/apache_1.3.29'
make: *** [build] Error 2

!!! ERROR: net-www/apache-1.3.29-r1 failed.
!!! Function src_compile, Line 125, Exitcode 2
!!! compile problem
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-16 10:51:36 UTC
root@nova zx # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc2-gentoo)
=================================================================
System uname: 2.6.3-rc2-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

Comment 2 Tyler Eaves 2004-02-24 16:19:43 UTC
Occurs for me as well

root@darkstar apache # emerge info                     
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-gentoo)
=================================================================
System uname: 2.6.2-gentoo i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.57a-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-tbird -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-Os -march=athlon-tbird -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.ccccom.com http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache apm arts avi crypt cups encode esd fastcgi foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 3 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-24 16:42:45 UTC
Hey guys, fix this and I'll give you a cookie, I need to get mod_lisp running on some lab computers I recently converted to Gentoo :)
Comment 4 Markus Passerschröer 2004-03-05 05:37:43 UTC
same thing here!

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mcpu=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mcpu=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://194.83.57.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups directfb dvd dvdr encode esd foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
Comment 5 Sean 2004-03-25 04:59:54 UTC
I emergee db-4.0.14-r3 and then reemerged apache1.3.29, and it didn't fail on the mod_auth_db. 
Comment 6 Nahor 2004-03-25 10:52:27 UTC
Duplicate of bug #32223
Comment 7 Chuck Short (RETIRED) gentoo-dev 2004-04-01 17:45:16 UTC
Should be fixed now. Please use 1.3.29-r1
Comment 8 Markus Passerschröer 2004-04-02 00:13:16 UTC
It compiles now, but when I start apache, I get the following message:

* Starting apache...
Syntax error on line 48 of /etc/apache/conf/apache.conf:
Cannot load /etc/apache/modules/mod_auth_dbm.so into server: /etc/apache/modules/mod_auth_dbm.so: undefined symbol: __db_ndbm_open_4001