From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 17:54:30 2005 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 02FF416A41F for ; Sun, 4 Sep 2005 17:54:30 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao04.coxmail.com (lakecmmtao04.coxmail.com [68.99.120.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72B8E43D46 for ; Sun, 4 Sep 2005 17:54:27 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao04.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050904175427.DPNB3140.lakecmmtao04.coxmail.com@dns1>; Sun, 4 Sep 2005 13:54:27 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Sun, 4 Sep 2005 10:50:18 -0700 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509041050.19307.vizion@vizion.occoxmail.com> Cc: fdrake@acm.com Subject: expat with php configuration 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: Sun, 04 Sep 2005 17:54:30 -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 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 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.