Vicki Brown wrote:
At 14:05 +1100 2003-02-09, Stas Bekman wrote:what happens if you do: cd ../apache_1.3.27/src makeAt this point, I get a "probably harmless" note and a make error. I ran: configure \ --server-uid=www \ --server-gid=www \ --with-perl=/usr/bin/perl \ --with-layout=Apache \ --enable-module=most \ --enable-shared=max \ --enable-module=auth_db \ --enable-module=mmap_static \ --activate-module=src/modules/perl/libperl.a \ --disable-module=auth_dbm \ --disable-rule=EXPAT I may have things wrong with the shared libraries. My instructions for the package I ultimately want to run (Bricolage) tell me to build mod_perl in statically, not as a DSO. So I removed "--enable-shared=perl" The configure worked except I got a complaint: Note (probably harmless): No library found for -lbind Suggestions for solving this would be appreciated. In my experience, things that are 'probably" harmless often bite anyway.
You don't have libbind installed (neither do I), I see that src/Configure has: *-BeOS*) PLATOSVER=`uname -r` case "$PLATOSVER" in 5.0.4*) OS="BeOS BONE" LIBS="-lbind -lsocket -lbe -lroot" CFLAGS="$CFLAGS -DBONE" ;; *) and you seem to be on FreeBSD, no BeOS.
can you normally build Apache (without mod_perl) when --enable-module=auth_db is in?The make then ran to here: gcc -c -I../.. -I/usr/local/lib/perl5/5.6.1/i386-freebsd/CORE -I../../os/unix -I../../include -funsigned-char -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include `../../apaci` -fpic -DSHARED_MODULE mod_auth_db.c && mv mod_auth_db.o mod_auth_db.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: too few arguments to function *** Error code 1 Stop in /ad4/ENV/common/src/WWW/apache_1.3.27/src/modules/standard.
Sigh. This was following the mod_perl instructions in the _Apache_ INSTALL file, which say to configure mod_perl make make install ... configure Apache
of course, you have just overwritten the mod_perl install.
when you complete building mod_perl (static) enabled httpd, you should be able to see it:make make install Said instructions leave out the test steps entirely, which doesn't give me warm fuzzies anywhere...
% apache_1.3.27/src/httpd -l | grep mod_perl
mod_perl.c
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com