You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/04/30 07:16:37 UTC
[Bug 53162] New: Cannot compile Apache 2.2.22
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
Priority: P2
Bug ID: 53162
Assignee: bugs@httpd.apache.org
Summary: Cannot compile Apache 2.2.22
Severity: critical
Classification: Unclassified
OS: Linux
Reporter: dontripp@gmail.com
Hardware: PC
Status: NEW
Version: 2.2.22
Component: Build
Product: Apache httpd-2
Linux RHEL 5.8 2.6.18-308.el5xen #1 SMP Fri Jan 27 17:26:57 EST 2012 x86_64
x86_64 x86_64 GNU/Linux
While building 2.2.22, compile fails with following error. I have not been able
to find anything on the internet relevant to this. Compiling with gcc version
4.1.2 20080704 (Red Hat 4.1.2-52)
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_dir.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_dir.lo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_actions.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_actions.lo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_speling.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_speling.lo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_userdir.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_userdir.lo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_alias.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_alias.lo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread
-L/usr/kerberos/lib64 -o mod_rewrite.la -rpath /usr/lib64/httpd/modules
-module -avoid-version mod_rewrite.lo
make[4]: Leaving directory
`/usr/src/redhat/BUILD/httpd-2.2.22/prefork/modules/mappers'
make[3]: Leaving directory
`/usr/src/redhat/BUILD/httpd-2.2.22/prefork/modules/mappers'
make[2]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.2.22/prefork/modules'
make[2]: Entering directory
`/usr/src/redhat/BUILD/httpd-2.2.22/prefork/support'
make[2]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.2.22/prefork/support'
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.2.22/prefork'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.97040 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97040 (%build)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #1 from Donald Tripp <do...@gmail.com> ---
modules/http/.libs/libmod_http.a(byterange_filter.o): In function
`ap_set_byterange':
byterange_filter.c:(.text+0x130d): undefined reference to `apr_array_clear'
collect2: ld returned 1 exit status
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #4 from Donald Tripp <do...@gmail.com> ---
I applied the CVE-2011-3368.patch patch to the 2.2.21 source and compiled and
it compiled fine.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #7 from Serge Knystautas <se...@lokitech.com> ---
Awesome Stefan, that worked! I guess I thought that was the default since APR
was bundled with the download.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
Serge Knystautas <se...@lokitech.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sergek@lokitech.com
--- Comment #5 from Serge Knystautas <se...@lokitech.com> ---
I have the same issue on CentOS 5.8. I've been building apache by hand for a
while... I can compile 2.2.21 and earlier, but 2.2.22 introduces this bug.
Exact same issue... modules/http/.libs/libmod_http.a(byterange_filter.o): In
function `ap_set_byterange': byterange_filter.c:(.text+0x12c1): undefined
reference to `apr_array_clear'
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #6 from Stefan Fritsch <sf...@sfritsch.de> ---
It seems apr_array_clear has been introduced in apr 1.3.x. I guess you are
trying to compile with apr 1.2.x. You can use --with-included-apr as a
work-around.
Not sure if we should just document the apr 1.3 dependency or try to restore
apr 1.2 compatibility in 2.2.23.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Eric Covener <co...@gmail.com> ---
this dep was removed in 2.2.24
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #3 from Donald Tripp <do...@gmail.com> ---
As a test, I was just able to build 2.2.21 fine.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #2 from Donald Tripp <do...@gmail.com> ---
Created attachment 28695
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28695&action=edit
Build output
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53162] Cannot compile Apache 2.2.22
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53162
--- Comment #8 from yakative <ks...@ksimp.org> ---
Created an account just to say thanks on this. worked for me 2. I should add
that I had a yum installed httpd which no doubt was where the compile was
looked for the apr.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org