Date: Mon, 14 Aug 2006 10:40:40 GMT From: Rainer Duffner <rainer@ultra-secure.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/102003: Problem compiling libapreq2 Message-ID: <200608141040.k7EAeeRg072532@www.freebsd.org> Resent-Message-ID: <200608141050.k7EAoGBd061851@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102003 >Category: ports >Synopsis: Problem compiling libapreq2 >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 14 10:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rainer Duffner >Release: 6.1 >Organization: >Environment: FreeBSD mtest 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #1: Fri Jun 9 13:04:58 CEST 2006 root@mtest:/usr/obj/usr/src/sys/SMP i386 >Description: libapreq2 doesn't compile: c -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/apache2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -fno-strict-aliasing -c error.c -Wp,-MD,.deps/error.TPlo -fPIC -DPIC -o .libs/error.o cc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/apache2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -fno-strict-aliasing -c error.c -Wp,-MD,.deps/error.TPlo -o error.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link cc -O -pipe -fno-strict-aliasing -o libapreq2.la -rpath /usr/local/lib -version-info 8:0:6 /usr/local/lib/apache2/libapr-0.la /usr/local/lib/apache2/libaprutil-0.la -lexpat -liconv -lm -lcrypt util.lo version.lo cookie.lo param.lo parser.lo parser_urlencoded.lo parser_header.lo parser_multipart.lo module.lo module_custom.lo module_cgi.lo error.lo -L/usr/local cc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o .libs/module.o .libs/module_custom.o .libs/module_cgi.o .libs/error.o -Wl,--rpath -Wl,/usr/local/lib/apache2 -Wl,--rpath -Wl,/usr/local/lib/apache2 /usr/local/lib/apache2/libapr-0.so /usr/local/lib/apache2/libaprutil-0.so -lexpat -liconv -lm -lcrypt -L/usr/local -Wl,-soname -Wl,libapreq2.so.8 -o .libs/libapreq2.so.8 /usr/libexec/elf/ld: cannot find -lexpat gmake[2]: *** [libapreq2.la] Error 1 gmake[2]: Leaving directory `/usr/ports/www/libapreq2/work/libapreq2-2.08/library' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/www/libapreq2/work/libapreq2-2.08/library' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/www/libapreq2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall55569.0 env make PORT_UPGRADE=yes ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! www/libapreq2 (linker error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed But libexpat seems to be here: www# ll /usr/local/lib/libexpat.* -rw-r--r-- 1 root wheel 149588 Aug 11 15:30 /usr/local/lib/libexpat.a -rwxr-xr-x 1 root wheel 793 Aug 11 15:30 /usr/local/lib/libexpat.la lrwxr-xr-x 1 root wheel 13 Aug 11 15:30 /usr/local/lib/libexpat.so -> libexpat.so.6 -rwxr-xr-x 1 root wheel 130604 Aug 11 15:30 /usr/local/lib/libexpat.so.6 (portinstall, with WITH_MODPERL2). >How-To-Repeat: portinstall libapreq2 >Fix: The solution seems to be described here: http://marc2.theaimsgroup.com/?l=apreq-dev&m=112005716319909&w=2 Maybe a regression has slipped in - when I add the "--with-expat=/usr/local" to +CONFIGURE, it works for me. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608141040.k7EAeeRg072532>