Problems with compiling Apache2 on FreeBSD 4.8
Sean O'Neill
sean at seanoneill.info
Sat Apr 19 08:13:19 PDT 2003
At 02:45 AM 4/19/2003 +0000, you wrote:
>Hi, I've used the following on 4.7.x and 5.0-CURRENT several times.
>
>./buildconf
>./configure --prefix=$DIR_INSTALL/apache2-$HTTPD2_MPM --with-perl=$PERL
> --with-mpm=$HTTPD2_MPM --enable-mods-shared=all \
> --enable-maintainer-mode --enable-debug \
> --with-port=$HTTPD2_PORT
>
>$MAKE
>$MAKE install
Hey Philip, thanks for the reply.
With these settings, what does "httpd -l" give you ? Is mod_so.c in the
list returned ? That's my problem. mod_so.c isn't showing up so my
subversion compile doesn't work as apxs wants to see mod_so.c in that
listing (or something like that).
>$CVS -d $CVSROOT co -R -r$HTTPD2_CVS_TAG -d httpd2-$HTTPD2_CVS_TAG-dev
>httpd-2.0
>$CVS -d $CVSROOT co -R -r$APR_CVS_TAG -d apr-$APR_CVS_TAG apr
>$CVS -d $CVSROOT co -R -r$APR_UTIL_CVS_TAG -d apr-util-$APR_UTIL_CVS_TAG
>apr-util
>
>All the $VARs are because I have it in a shell script.
>Heres some of the values I used:
>CVSROOT=:pserver:anoncvs at cvs.apache.org:/home/cvspublic
>CVS=/usr/bin/cvs
>MAKE=/usr/bin/make
>DIR_INSTALL=/usr/local/apache
>PERL=/usr/local/bin/perl5.9.0
>HTTPD2_MPM=prefork
>HTTPD2_CVS_TAG=HEAD
>HTTPD2_PORT=80
>APR_CVS_TAG=HEAD
>APR_UTIL_CVS_TAG=HEAD
>
>
>
>
>
>
>On Saturday 19 April 2003 04:38, Sean O'Neill wrote:
> > My problem isn't getting Apache2 to compile, the problem is how it
> > compiles.
> >
> > I trying to compile a Apache2 source tree from CVS (this includes apr and
> > apr-utils in the srclib directory which were also CVS'd over) so I can
> > build a subversion server without have to wait on the ports tree to catch
> > up with subversion updates (and not have to wait another 1 million years
> > for libtool to be upgraded ... just poking fun !!!!)
> >
> > I'm using the following to configure it:
> >
> > ./configure --prefix=/home/soneill/i386-FreeBSD
> > --with-perl=/usr/bin/perl5.8.0 --enable-so --with-mpm=prefork
> > --with-port=8000 --with-expat=/usr/local --enable-dav --enable-v4-mapped
> > --with-ssl=/usr --enable-mods-shared="all cgid deflate ext_filter proxy
> > proxy-connect proxy-ftp proxy-http ssl"
> >
> > Basically, straight from the apache2 port with the addition of the
> > --enable-dav. My problem is once the httpd is created, I get this:
> >
> > $ ./httpd -l
> > Compiled in modules:
> > core.c
> > prefork.c
> > http_core.c
> >
> > Notice mod_so.c doesn't show up. Well, subversion doesn't like this when
> > it pokes at apxs - apparently apxs won't work without mod_so.c showing up
> > in this listing. Why I don't know but I'll take the excuse it won't work
> > for now.
> >
> > Can someone tell me what I'm doing wrong to make mod_so.c not show up as a
> > compiled in module ?
> >
> > I've tried several different combinations of the configure script thinking
> > something might work. The only way I got mod_so.c to show up was to
> > basically remove all the --enable-<whatever> switches.
> >
> > Thanks in advance.
>
>--
>END
>------------------------------------------------------------------------------
>
>Philip M. Gollucci philip at p6m7g8.com 301.474.9294 301.646.3011 (cell)
>
>Science, Discovery, & the Universe (UMCP)
>Webmaster & Webship Teacher
>URL: http://www.sdu.umd.edu
>
>eJournalPress
>Database/PERL Programmer & System Admin
>URL : http://www.ejournalpress.com
>
>Resume : http://p6m7g8.net/Resume
--
Sean O'Neill
972-661-2232
More information about the freebsd-questions
mailing list