From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 5 00:44:20 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A90116A41F for ; Mon, 5 Sep 2005 00:44:20 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao05.coxmail.com (lakecmmtao05.coxmail.com [68.99.120.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id E705443D46 for ; Mon, 5 Sep 2005 00:44:19 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao05.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050905004419.HPAX2425.lakecmmtao05.coxmail.com@dns1> for ; Sun, 4 Sep 2005 20:44:19 -0400 From: Vizion Date: Sun, 4 Sep 2005 17:40:10 -0700 User-Agent: KMail/1.8 Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200509041740.11099.vizion@vizion.occoxmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: Undisclosed.Recipients: ; Subject: expat with php configuration X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 00:44:20 -0000 Hi Practical ignorance is driving the following question: I trying to configure php5 with expat (using latest port expat2 (version expat-1.95.8_3)) and have no experience with expat. I am also a comparative newcomer to php. I have compiled and installed expat2 and about to configuring php. An example configure command option for php with expat (taken from pro Apache by Peter Wainwright) is: --with-expat-dir=/usr/local/expat \ I cannot find any reference to the function of this expat-dir. Is this option there to create a working directory? If it is meant to be a working directory what security issues are involved? or Is it intended to point to the expat libraries? If so would appropriate dir be /usr/local/lib/ where libexpat.a and libexpat.so.5 are located? I am also confused because there seems, in the port a need for some clarity about the role of the files when on considers the following man page entry: ----- NAME libbsdxml -- eXpat XML parser library SYNOPSIS #include DESCRIPTION The libbsdxml library is a verbatim copy of the eXpat XML library version 1.95.5. To avoid version and autoconfiguration issues, the library has been renamed to libbsdxml rather than retain the original eXpat library and include file names to prevent confusion and autoconfiguration issues for 3rd party software. ----- It was only after installing expat that I found the only man pages is the brief reference page under libbsdxml. It seems that in addition to the expat libs I mentioned there are also the libbsdxml libraries: dns1# locate libbsdxml /lib/libbsdxml.so.1 /usr/lib/libbsdxml.a /usr/lib/libbsdxml.so /usr/lib/libbsdxml_p.a /usr/share/man/cat3/libbsdxml.3.gz /usr/share/man/man3/libbsdxml.3.gz /usr/src/lib/libexpat/libbsdxml.3 /usr/src/lib/libexpat/libbsdxml.3,v Can anyone please clarify things for me thanks David -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit.