Summary: | emerge apache fails (HAVE_PTHREAD_KEY_DELETE no defined correctly) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | marcus <m.scotti> |
Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
using linux-2.6.x and/or that new threading library? In order for us to debug your problem more, we need to have more information. IE emerge info, kernel, if you are using the new threading library thanks. chuck No response, closing bug. Closing. |
emerge apache stops with [all-recursive] Error 1 the version of apache I had this problem with is 2.0.47 > cd /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/ > make now the error message is more specific: in libmain.al(exports.lo) undefined symbol apr_threadkey_private_delete It turns out that configure doesn't set HAVE_PTHREAD_KEY_DELETE correctly my bodged fix is to: 1. comment out the #ifdef HAVE_PTHREAD_KEY_DELETE in httpd-2.0.47/srclib/apr/threadproc/unix/threadpriv.c, 2. tar everything back up to /usr/portage/distfiles/httpd-2.0.47.tar.gz, 3. generate a new checksum for /usr/portage/net-www/apache/files/digest-apache-2.0.47 and 4. rerun emerge apache. Now everything works fine, but it was a bit of a hassle.