problem reinstalling apache on linux
Date: 01/06/05
(Apache) Keywords: linux, apache
i'm trying to reinstall apache2 on fedora 3 because i failed to compile it with mod_rewrite. i configure it with:
./configure -prefix=/usr/local/apache2 \
--enable-cgi \
--enable-info \
--enable-rewrite \
--enable-speling \
--enable-usertrack \
--enable-deflate \
--enable-ssl \
--enable-so \
--enable-mime-magic \
--enable-mods-shared=most
now you may be wondering why that last line is there. primarily because i don't know what i'm doing. ;) i don't know what mods-shared=most includes, and i want to make sure it includes those that were explicitly stated.
when i do a make, it terminates after a minute with Error 1
os/unix/.libs/libos.a(unixd.o)(.text+0x202): In function `unixd_pre_config':
/usr/src/httpd-2.0.52/os/unix/unixd.c:206: undefined reference to `ap_uname2id'
os/unix/.libs/libos.a(unixd.o)(.text+0x213):/usr/src/httpd-2.0.52/os/unix/unixd.c:207: undefined reference to `ap_gname2id'
os/unix/.libs/libos.a(unixd.o)(.text+0x2ce): In function `unixd_set_rlimit':
/usr/src/httpd-2.0.52/os/unix/unixd.c:255: undefined reference to `ap_log_error'
os/unix/.libs/libos.a(unixd.o)(.text+0x2ea):/usr/src/httpd-2.0.52/os/unix/unixd.c:246: undefined reference to `ap_getword_conf'
os/unix/.libs/libos.a(unixd.o)(.text+0x350):/usr/src/httpd-2.0.52/os/unix/unixd.c:268: undefined reference to `ap_log_error'
os/unix/.libs/libos.a(unixd.o)(.text+0x38e):/usr/src/httpd-2.0.52/os/unix/unixd.c:260: undefined reference to `ap_getword_conf'
os/unix/.libs/libos.a(unixd.o)(.text+0x7ed): In function `unixd_accept':
/usr/src/httpd-2.0.52/os/unix/unixd.c:585: undefined reference to `ap_log_error'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.52'
make: *** [all-recursive] Error 1
now, i did not 'uninstall' the previous version of apache because it didn't have a make uninstall and i thought it would just overwrite the necessary files when i did a make install. any help is appreciated!
x:linuxsupport
Source: http://www.livejournal.com/community/apache/15490.html