Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 02:45:48 +0000
From:      "Philip M. Gollucci" <philip@p6m7g8.net>
To:        "Sean O'Neill" <sean@seanoneill.info>
Cc:        questions@FreeBSD.org
Subject:   Re: Problems with compiling Apache2 on FreeBSD 4.8
Message-ID:  <200304190245.48614.philip@p6m7g8.net>
In-Reply-To: <5.2.0.9.0.20030418232652.0377f790@pop.swbell.yahoo.com>
References:  <5.2.0.9.0.20030418232652.0377f790@pop.swbell.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I've used the following on 4.7.x and 5.0-CURRENT several times.

=2E/buildconf
=2E/configure --prefix=3D$DIR_INSTALL/apache2-$HTTPD2_MPM --with-perl=3D$=
PERL
                --with-mpm=3D$HTTPD2_MPM --enable-mods-shared=3Dall \
                --enable-maintainer-mode --enable-debug \=20
                --with-port=3D$HTTPD2_PORT

$MAKE
$MAKE install

$CVS -d $CVSROOT co -R -r$HTTPD2_CVS_TAG   -d httpd2-$HTTPD2_CVS_TAG-dev=20
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=20
apr-util

All the $VARs are because I have it in a shell script.
Heres some of the values I used:
CVSROOT=3D:pserver:anoncvs@cvs.apache.org:/home/cvspublic
CVS=3D/usr/bin/cvs
MAKE=3D/usr/bin/make
DIR_INSTALL=3D/usr/local/apache
PERL=3D/usr/local/bin/perl5.9.0
HTTPD2_MPM=3Dprefork
HTTPD2_CVS_TAG=3DHEAD
HTTPD2_PORT=3D80
APR_CVS_TAG=3DHEAD
APR_UTIL_CVS_TAG=3DHEAD






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 a=
nd
> 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 cat=
ch
> up with subversion updates (and not have to wait another 1 million year=
s
> for libtool to be upgraded ... just poking fun !!!!)
>
> I'm using the following to configure it:
>
> ./configure --prefix=3D/home/soneill/i386-FreeBSD
> --with-perl=3D/usr/bin/perl5.8.0 --enable-so --with-mpm=3Dprefork
> --with-port=3D8000 --with-expat=3D/usr/local --enable-dav --enable-v4-m=
apped
> --with-ssl=3D/usr --enable-mods-shared=3D"all cgid deflate ext_filter p=
roxy
> 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 wh=
en
> 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 wo=
rk
> for now.
>
> Can someone tell me what I'm doing wrong to make mod_so.c not show up a=
s a
> compiled in module ?
>
> I've tried several different combinations of the configure script think=
ing
> 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.

--=20
END=20
-------------------------------------------------------------------------=
-----=20
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)=20

Science, Discovery, & the Universe (UMCP)=20
Webmaster & Webship Teacher=20
URL: http://www.sdu.umd.edu=20

eJournalPress=20
Database/PERL Programmer & System Admin=20
URL : http://www.ejournalpress.com=20

Resume : http://p6m7g8.net/Resume=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304190245.48614.philip>