Date: Wed, 17 Nov 2004 14:50:23 -0800 From: Vincent Poy <vincepoy@gmail.com> To: ports@FreeBSD.ORG, clement@FreeBSD.org Subject: ports/www/apache2 problems with 6.0-CURRENT Message-ID: <429af92e0411171450a516ae0@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm having the following problems with ports/www/apache2 in FreeBSD 6.0-CURRENT: 1) If I tried to compile with the following: make WITH_AUTH_MODULES=yes WITH_DAV_MODULES=yes WITHOUT_EXPERIMENTAL_MODULES=yes WITH_LDAP_MODULES=yes WITH_MISC_MODULES=yes WITH_PROXY_MODULES=yes WITH_SSL_MODULES=yes WITH_SUEXEC_MODULES=yes WITH_THREADS_MODULES=yes /usr/ports/www/apache2/work/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile cc -O2 -fno-strict-aliasing -pipe -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/ports/www/apache2/work/httpd-2.0.52/srclib/apr/include -I/usr/ports/www/apache2/work/httpd-2.0.52/srclib/apr-util/include -I/usr/local/include -I. -I/usr/ports/www/apache2/work/httpd-2.0.52/os/unix -I/usr/ports/www/apache2/work/httpd-2.0.52/server/mpm/prefork -I/usr/ports/www/apache2/work/httpd-2.0.52/modules/http -I/usr/ports/www/apache2/work/httpd-2.0.52/modules/filters -I/usr/ports/www/apache2/work/httpd-2.0.52/modules/proxy -I/usr/ports/www/apache2/work/httpd-2.0.52/include -I/usr/ports/www/apache2/work/httpd-2.0.52/modules/generators -I/usr/include/openssl -I/usr/ports/www/apache2/work/httpd-2.0.52/modules/dav/main -prefer-pic -c mod_mem_cache.c && touch mod_mem_cache.slo mod_mem_cache.c:49:2: #error This module does not currently compile unless you have a thread-capable APR. Sorry! mod_mem_cache.c:89: error: syntax error before "apr_thread_mutex_t" mod_mem_cache.c: In function `decrement_refcount': mod_mem_cache.c:295: error: structure has no member named `lock' mod_mem_cache.c:296: error: structure has no member named `lock' mod_mem_cache.c:303: error: structure has no member named `lock' mod_mem_cache.c:304: error: structure has no member named `lock' mod_mem_cache.c: In function `cleanup_cache_mem': mod_mem_cache.c:326: error: structure has no member named `lock' mod_mem_cache.c:327: error: structure has no member named `lock' mod_mem_cache.c:341: error: structure has no member named `lock' mod_mem_cache.c:342: error: structure has no member named `lock' mod_mem_cache.c: In function `create_entity': mod_mem_cache.c:448: error: structure has no member named `lock' mod_mem_cache.c:449: error: structure has no member named `lock' mod_mem_cache.c:461: error: structure has no member named `lock' mod_mem_cache.c:462: error: structure has no member named `lock' mod_mem_cache.c: In function `open_entity': mod_mem_cache.c:500: error: structure has no member named `lock' mod_mem_cache.c:501: error: structure has no member named `lock' mod_mem_cache.c:529: error: structure has no member named `lock' mod_mem_cache.c:530: error: structure has no member named `lock' mod_mem_cache.c: In function `remove_entity': mod_mem_cache.c:555: error: structure has no member named `lock' mod_mem_cache.c:556: error: structure has no member named `lock' mod_mem_cache.c:570: error: structure has no member named `lock' mod_mem_cache.c:571: error: structure has no member named `lock' mod_mem_cache.c: In function `remove_url': mod_mem_cache.c:643: error: structure has no member named `lock' mod_mem_cache.c:644: error: structure has no member named `lock' mod_mem_cache.c:653: error: structure has no member named `lock' mod_mem_cache.c:654: error: structure has no member named `lock' mod_mem_cache.c: In function `store_body': mod_mem_cache.c:921: error: structure has no member named `lock' mod_mem_cache.c:922: error: structure has no member named `lock' mod_mem_cache.c:957: error: structure has no member named `lock' mod_mem_cache.c:958: error: structure has no member named `lock' mod_mem_cache.c: In function `mem_cache_post_config': mod_mem_cache.c:1027: error: structure has no member named `lock' mod_mem_cache.c:1027: error: `APR_THREAD_MUTEX_DEFAULT' undeclared (first use in this function) mod_mem_cache.c:1027: error: (Each undeclared identifier is reported only once mod_mem_cache.c:1027: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.52/modules/experimental. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.52/modules/experimental. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.52/modules. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.52. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.52. *** Error code 1 Stop in /usr/ports/www/apache2. root@bigbang [2:36pm][/usr/ports/www/apache2] >> Not compiling with the EXPERIMENTAL modules would compile fine but when I start apache, I would get the following error: root@bigbang [2:36pm][/usr/ports/www/apache2] >> apachectl start Syntax error on line 245 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/mod_deflate.so into server: /usr/local/libexec/apache2/mod_deflate.so: Undefined symbol "deflate" This is with the default httpd.conf that the port copies. Any ideas how to fix this as /usr/include/zlib.h (v1.2.1) after searching on Google and Yahoo is what's needed for the deflate to work but zlib.h is part of the FreeBSD world build. Thanks. Cheers, Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429af92e0411171450a516ae0>