View previous topic :: View next topic |
Author |
Message |
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Fri Aug 15, 2003 1:11 pm Post subject: emerge apache2 problems |
|
|
Hi, I've been trying for a week to get apache2 running again
I had 1.3, and when I upgraded mysql, I noticed that apache 1.3 couldn't find some mysql libraries. Rather than fixing that problem, I just decided to jump to apache 2.0 I've unmerged apache 1.3 and mod_php and mod_ssl (if that helps).
BTW, how can I find which apps depended on apache 1.3?
I'm looking for ideas. I'm getting really frustrated. Thanks.
rj
/bin/sh /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/libtool --silent --mode=compile gcc -pthread -O2 -mcpu=i686 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/include -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr-util/include -I. -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/os/unix -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/server/mpm/prefork -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/http -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/filters -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/proxy -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/include -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/dav/main -prefer-non-pic -static -c htdbm.c && touch htdbm.lo
/bin/sh /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/libtool --silent --mode=link gcc -pthread -O2 -mcpu=i686 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/include -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr-util/include -I. -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/os/unix -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/server/mpm/prefork -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/http -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/filters -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/proxy -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/include -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/dav/main -export-dynamic -L/usr/lib -o htpasswd htpasswd.lo -lz /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/pcre/libpcre.la /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr-util/libaprutil-0.la -lldap -llber -lgdbm -ldb -lexpat /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
/bin/sh /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/libtool --silent --mode=link gcc -pthread -O2 -mcpu=i686 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/include -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr-util/include -I. -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/os/unix -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/server/mpm/prefork -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/http -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/filters -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/proxy -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/include -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/modules/dav/main -export-dynamic -L/usr/lib -o htdigest htdigest.lo -lz /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/pcre/libpcre.la /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr-util/libaprutil-0.la -lldap -llber -lgdbm -ldb -lexpat /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkrb4
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkrb4
collect2: ld returned 1 exit status
make[2]: *** [htdigest] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/support'
make: *** [all-recursive] Error 1
!!! ERROR: net-www/apache-2.0.47 failed.
!!! Function src_compile, Line 163, Exitcode 2
!!! problem compiling Apache2
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss 3dnow apm avi foomaticdb mad mikmod nls pdflib xv slang guile sdl gpm pam esd opengl acpi -apache apache2 berkdb cdr crypt cups encode evo flash gb gdbm gif -gnome -gtk gtkhtml imap imlib innodb ipv6 java jikes jpeg kde kerberos lcms ldap libg++ libgda libwww mbox mmx motif mozilla mpeg mule mysql ncurses odbc oggvorbis pda perl pic png python postgres qt qtmt quicktime readline ruby samba scanner spell ssl svga tcltk tcpd truetype X xml xml2 xmms zeo x86 zlib arts"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache" |
|
Back to top |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Fri Aug 15, 2003 3:32 pm Post subject: why doesn't apache2 emerge? |
|
|
Sorry, that last post was a bit confused.
1)Can someone suggest a solution to make apache2 emerge?
2)whtat things should I check? I unmerged apache 1.3, mod_php, mod_dav, mod_ssl ?
Any other ideas? Is this a genuine bug? rj |
|
Back to top |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
|
Back to top |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
Posted: Fri Aug 15, 2003 9:43 pm Post subject: kerberos -lkrb4 + apache2: emerge fail |
|
|
2.0.47/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkrb4
Doing a google search, I find that -lkrb4 has to do with kerberos. It's looking for some kerberos library?
Things I've tried.
1. remerging openssl and mit-krb5
2. removing ldap from my USE variables
Was thinking of removing the "kerberos" keyword from my USE keywords for the apache emerge. Anybody have other ideas?
Is removing kerberos from my USE keywords a good idea or bad idea?
rj |
|
Back to top |
|
|
idiotprogrammer Apprentice
Joined: 29 Jul 2002 Posts: 179 Location: Texas
|
|
Back to top |
|
|
Mongoose5 n00b
Joined: 29 Jan 2003 Posts: 71
|
Posted: Thu Aug 21, 2003 7:54 pm Post subject: |
|
|
Just quick update, but I had to add both kerberos and krb4 to my make.conf USE flags and then I needed to emerge mit-krb5 again before trying apache to get apache to compile. |
|
Back to top |
|
|
|