httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Fellows <lfell...@4lane.com>
Subject Re: Problem compiling Apache 2.0.39
Date Thu, 27 Jun 2002 16:37:19 GMT
  The problem would seem to be you are attempting to build and install
into the same directory.  --prefix should be set to where you want the
binaries based, your build directory should be anywhere but there.



On Thu, 2002-06-27 at 12:20, Gudmund Berggren wrote:
> Ok, tried that but :-(
> 
> Moved into /tmp/buildtest/httpd-2.0.39
> Standing in this directory:
> #  ./configure --prefix=/tmp/buildtest/httpd-2.0.39
> # make
> # make install
> but the same error appears when doing 'make install'
> [..
> make[2]: Entering directory `/tmp/buildtest/httpd-2.0.39/server'
> Found newer headers. Will rebuild exports.c.
> rm -f exports.c
> ..]
> 
> Feels like something fundamental is wrong with my environment (?)
> More ideas are welcome !!
> 
> /// Gudmund
> 
> ----- Original Message -----
> From: "Jeff Beard" <jeff@cyberxape.com>
> To: <users@httpd.apache.org>
> Sent: Thursday, June 27, 2002 2:25 AM
> Subject: Re: Problem compiling Apache 2.0.39
> 
> 
> I'm thinking that's the case. Try building from somewhere else
> and see if that doesn't fix it. It quite possible that the
> configure script does a recursive search for header files
> from .. which would cause it to find the one for the deployed
> instance.
> 
> --Jeff
> 
> On Wed, 26 Jun 2002, Gudmund Berggren wrote:
> 
> > Actually, the 2.0.36 deployment resides at /usr/local/apache2.
> > The 2.0.39 build tree in located at /usr/local/apache2/2.0.39.
> > Can this cause problems..?
> >
> > Gudmund
> >
> > -----Ursprungligt meddelande-----
> > Från: Jeff Beard [mailto:jeff@cyberxape.com]
> > Skickat: den 26 juni 2002 22:50
> > Till: users@httpd.apache.org
> > Ämne: Re: Problem compiling Apache 2.0.39
> >
> >
> > Is /usr/local/apache2 the deployment tree as well as
> > the build tree?
> >
> > --Jeff
> >
> >
> > On Wed, 26 Jun 2002, Gudmund Berggren wrote:
> >
> > > Hi all,
> > >
> > > I have successfully compiled and installed 2.0.36 a few months ago.
> > > Installation works fine.
> > >
> > > Upgrading to 2.0.39 fails on my Linux machine (Intel, Suse Linux) What
> >
> > > happens is that 'configure' and 'make' finishes without problems, but
> > > 'make install' stops after trying to recompile exports.c. Previous
> > > declared symbols are found which gives compilation error.
> > >
> > > My 2.0.39 installation is done in a directory tree not equal to
> > > 2.0.36.
> > >
> > > Can anyone give me a clue ?
> > > Thanks ;-)
> > >
> > > Regards
> > > G Berggren
> > >
> > > -------------
> > >
> > > >configure --prefix=./usr/local/apache2/2.0.39
> > > >make
> > > >make install
> > > Making install in prefork
> > > make[3]: Entering directory
> > > `/usr/local/apache2/2.0.39/server/mpm/prefork'
> > > make[4]: Entering directory
> > `/usr/local/apache2/2.0.39/server/mpm/prefork'
> > > make[4]: Leaving directory
> > `/usr/local/apache2/2.0.39/server/mpm/prefork'
> > > make[3]: Leaving directory
> > `/usr/local/apache2/2.0.39/server/mpm/prefork'
> > > make[3]: Entering directory `/usr/local/apache2/2.0.39/server/mpm'
> > > make[3]: Leaving directory `/usr/local/apache2/2.0.39/server/mpm'
> > > make[2]: Leaving directory `/usr/local/apache2/2.0.39/server/mpm'
> > > make[2]: Entering directory `/usr/local/apache2/2.0.39/server'
> > > Found newer headers. Will rebuild exports.c.
> > > rm -f exports.c
> > > gawk -f /usr/local/apache2/2.0.39/build/make_exports.awk
> > > /usr/local/apache2/2.0.39/include/*.h
> > /usr/local/apache2/2.0.39/os/unix/*.h
> > > /usr/local/apache2/2.0.39/srclib/apr/include/*.h
> > > /usr/local/apache2/2.0.39/srclib/apr-util/include/*.h
> > > /usr/local/apache2/2.0.39/modules/http/*.h > exports.c
> > > /bin/sh /usr/local/apache2/2.0.39/srclib/apr/libtool --silent
> > --mode=compile
> > > gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
> > -D_BSD_SO
> > > URCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER
> > -I/usr/
> > > local/apache2/2.0.39/srclib/apr/include
> > -I/usr/local/apache2/2.0.39/srclib/a
> > > pr-util/include
> > -I/usr/local/apache2/2.0.39/srclib/apr-util/xml/expat/lib -I
> > > . -I/usr/local/apache2/2.0.39/os/unix
> > -I/usr/local/apache2/2.0.39/server/mpm
> > > /prefork -I/usr/local/apache2/2.0.39/modules/http
> > -I/usr/local/apache2/2.0.3
> > > 9/modules/filters -I/usr/local/apache2/2.0.39/modules/proxy
> > -I/usr/local/apa
> > > che2/2.0.39/include -I/usr/local/apache2/2.0.39/modules/dav/main
> > -prefer-non
> > > -pic -static -c exports.c && touch exports.lo
> > > exports.c:1408: redefinition of `ap_hack_apr_allocator_create'
> > > exports.c:168: `ap_hack_apr_allocator_creat
> > > [...etc ...]
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> > --
> > Jeff Beard | Systems Architect, Programmer, Sysadmin
> > Contact    | jeff at cyberxape dot com
> > Location   | In front of the computer, Boulder, CO, USA
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> 
> --
> Jeff Beard | Systems Architect, Programmer, Sysadmin
> Contact    | jeff at cyberxape dot com
> Location   | In front of the computer, Boulder, CO, USA
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message