I am attempting to build php on Mac OS X.2.3 without the use of fink for php, however I am trying to use Fink for other packages (for example I updated to a new version of CURL using Fink). Now, I understand that Fink maintains its own repository for software that it installs and that I need to tell php in the configure script as to where the software is. But how do I know if Mac OS X already has the software required for a particular with... option, or whether I need to download and install with fink? Here is the list of options I am after with php:

./configure
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--mandir=/usr/share/man
--disable-cli
--enable-dbase
--enable-dbx
--enable-exif
--enable-ftp
--enable-mbstring
--enable-trans-sid
--enable-wddx
--enable-xslt
--with-apxs
--with-curl=/sw/bin
--with-dom=/sw/bin
--with-freetype-dir=/sw/bin
--with-gd=/sw/bin
--with-imap
--with-iodbc=/sw/bin
--with-jpeg-dir=/sw/bin
--with-ldap
--with-mcrypt=/sw/bin
--with-mysql
--with-pdflib=/sw/bin
--with-pgsql
--with-png-dir=/sw/bin
--with-t1lib=/sw/bin
--with-xml=/sw/bin
--with-xpm-dir=no
--with-xslt-sablot=/sw/bin
--with-zlib
--with-zlib-dir

BTW is /sw/bin the correct path for binaries installed by Fink?

These instructions seem to indicate that I should put =/sw:

http://www.onlamp.com/pub/a/php/2003/01/17/phpcookbook.html?page=1

"PHP tries to locate libraries no matter where they're stored on your hard drive. But, if your package manager places its files in a special location, tell PHP where to find them by placing an equal sign and the path after the command name:

--with-gd=/sw

This lets PHP find the GD graphics library in the /sw directory, which is where fink places files."

--
Michael
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA http://michaelcollins.net


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to