httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39469] - Apache 2.2.2 compilation issue
Date Wed, 03 May 2006 13:46:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39469>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39469





------- Additional Comments From fraga@abusar.org  2006-05-03 13:46 -------
The problem is that it's looking into the /usr/local/apache2/include directory.
If I remove this directory, it complains about missing APR... non sense, since
apache comes with apr. I never had to install APR separately.

Below is the requested output:

fraga@abusar ~/httpd-2.2.2$ cd server/

fraga@abusar ~/httpd-2.2.2/server$ rm export*
rm: remove regular file `export_files'? y
rm: remove regular file `exports.c'? y
rm: remove regular file `exports.loT'? y

fraga@abusar ~/httpd-2.2.2/server$ make exports.lo
tmp=export_files_unsorted.txt; \
        rm -f $tmp && touch $tmp; \
        for dir in /home/fraga/httpd-2.2.2/include
/home/fraga/httpd-2.2.2/os/unix /home/fraga/httpd-2.2.2/modules/http; do \
            ls $dir/*.h >> $tmp; \
        done; \
        for dir in /usr/local/apache2/include /usr/local/apache2/include; do \
            (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); \
        done; \
        sort -u $tmp > export_files; \
        rm -f $tmp
gawk -f /home/fraga/httpd-2.2.2/build/make_exports.awk `cat export_files` >
exports.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -pthread  -O2
-march=athlon-xp -pipe -ftree-vectorize  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE    -I/home/fraga/httpd-2.2.2/srclib/pcre -I.
-I/home/fraga/httpd-2.2.2/os/unix -I/home/fraga/httpd-2.2.2/server/mpm/prefork
-I/home/fraga/httpd-2.2.2/modules/http -I/home/fraga/httpd-2.2.2/modules/filters
-I/home/fraga/httpd-2.2.2/modules/proxy -I/home/fraga/httpd-2.2.2/include
-I/home/fraga/httpd-2.2.2/modules/generators
-I/home/fraga/httpd-2.2.2/modules/mappers
-I/home/fraga/httpd-2.2.2/modules/database -I/usr/local/apache2/include
-I/usr/local/BerkeleyDB.4.3/include -I/usr/local/include
-I/home/fraga/httpd-2.2.2/modules/proxy/../generators -I/usr/local/ssl/include
-I/home/fraga/httpd-2.2.2/modules/ssl -I/home/fraga/httpd-2.2.2/modules/dav/main
 -prefer-non-pic -static -c exports.c && touch exports.lo
In file included from exports.c:73:
/usr/local/apache2/include/apr_lock.h:83: error: redeclaration of enumerator
'APR_LOCK_FCNTL'
/usr/local/apache2/include/apr_proc_mutex.h:45: error: previous definition of
'APR_LOCK_FCNTL' was here
/usr/local/apache2/include/apr_lock.h:83: error: redeclaration of enumerator
'APR_LOCK_FLOCK'
/usr/local/apache2/include/apr_proc_mutex.h:46: error: previous definition of
'APR_LOCK_FLOCK' was here
/usr/local/apache2/include/apr_lock.h:83: error: redeclaration of enumerator
'APR_LOCK_SYSVSEM'
/usr/local/apache2/include/apr_proc_mutex.h:47: error: previous definition of
'APR_LOCK_SYSVSEM' was here
/usr/local/apache2/include/apr_lock.h:84: error: redeclaration of enumerator
'APR_LOCK_PROC_PTHREAD'
/usr/local/apache2/include/apr_proc_mutex.h:48: error: previous definition of
'APR_LOCK_PROC_PTHREAD' was here
/usr/local/apache2/include/apr_lock.h:84: error: redeclaration of enumerator
'APR_LOCK_POSIXSEM'
/usr/local/apache2/include/apr_proc_mutex.h:49: error: previous definition of
'APR_LOCK_POSIXSEM' was here
/usr/local/apache2/include/apr_lock.h:85: error: redeclaration of enumerator
'APR_LOCK_DEFAULT'
/usr/local/apache2/include/apr_proc_mutex.h:51: error: previous definition of
'APR_LOCK_DEFAULT' was here
/usr/local/apache2/include/apr_lock.h:85: error: conflicting types for
'apr_lockmech_e'
/usr/local/apache2/include/apr_proc_mutex.h:51: error: previous declaration of
'apr_lockmech_e' was here
make: *** [exports.lo] Error 1


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message