From owner-freebsd-questions@FreeBSD.ORG Wed Sep 20 07:29:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F2B016A407 for ; Wed, 20 Sep 2006 07:29:22 +0000 (UTC) (envelope-from jhfoo-ml@extracktor.com) Received: from mail.extracktor.com (www.nexlabs.com [210.193.32.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E0B43D8F for ; Wed, 20 Sep 2006 07:29:15 +0000 (GMT) (envelope-from jhfoo-ml@extracktor.com) Received: (qmail 25064 invoked from network); 20 Sep 2006 07:27:33 -0000 Received: from 21.203-123-6.adsl.qala.com.sg (HELO ?192.168.1.116?) (jhfoo@trendicate.com@203.123.6.21) by www.nexlabs.com with SMTP; 20 Sep 2006 07:27:33 -0000 Message-ID: <4510EDE5.4040305@extracktor.com> Date: Wed, 20 Sep 2006 15:29:41 +0800 From: Foo JH User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, modperl_users List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Unable to compile libapreq2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 07:29:22 -0000 Hi guys, I'm using FBSD6.0. I've done the latest cvsup on the ports, installed apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install libapreq2-2.0.08. Halfway through the compilation, I get this error: 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/bin/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 I've tried recompiling expat, but that did not change the problem. Can any kind soul please drop some hints as to what may be the problem? Thanks.