... from google:
"This kind of error can happen when there is an existing installation
of httpd in the prefix for which this build is configured.  Remove the
existing installations completely, and start again from scratch...."

hth

Camilo Rostoker wrote:
> Hi,
> 
> I am trying to compile httpd 2.2.4 on a Mac OSX 10.4.9 running Darwin Kernel 
> Version 8.9.1, but keep getting an error related to redefinitions in the 
> exports.c file.
> 
> First I configure using only:
> ./configure --prefix=/usr/local/apache2
> 
> Then make stops abruptly with the errors:
> 
> [snipped]
> awk -f /Users/camilo/httpd-2.2.4/build/make_exports.awk `cat export_files` > 
> exports.c
> /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2    -DDARWIN 
> -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp    
> -I/Users/camilo/httpd-2.2.4/srclib/pcre -I. 
> -I/Users/camilo/httpd-2.2.4/os/unix 
> -I/Users/camilo/httpd-2.2.4/server/mpm/prefork 
> -I/Users/camilo/httpd-2.2.4/modules/http 
> -I/Users/camilo/httpd-2.2.4/modules/filters 
> -I/Users/camilo/httpd-2.2.4/modules/proxy -I/Users/camilo/httpd-2.2.4/include 
> -I/Users/camilo/httpd-2.2.4/modules/generators 
> -I/Users/camilo/httpd-2.2.4/modules/mappers 
> -I/Users/camilo/httpd-2.2.4/modules/database -I/usr/local/apr/include/apr-1 
> -I/usr/local/apr//include/apr-1 
> -I/Users/camilo/httpd-2.2.4/modules/proxy/../generators 
> -I/Users/camilo/httpd-2.2.4/modules/ssl 
> -I/Users/camilo/httpd-2.2.4/modules/dav/main  -prefer-non-pic -static -c 
> exports.c && touch exports.lo
> exports.c:1712: error: redefinition of 'ap_hack_apr_allocator_create'
> exports.c:727: error: previous definition of 'ap_hack_apr_allocator_create' 
> was here
> exports.c:1713: error: redefinition of 'ap_hack_apr_allocator_destroy'
> exports.c:728: error: previous definition of 'ap_hack_apr_allocator_destroy' 
> was here
> [snipped]
> 
> Any ideas?  Some older discussions mentioned this problem due to symlinks, 
> but I have checked that already.
> 
> Thanks in advance.
> 
> cheers,
> Cam.
> 
> 
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live Spaces. 
> It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to