Russel Thanks: I was acctually finally able to get PHP to install --with-apxs --with-gettext
I downloaded gettext via FINK and then ran its ./confgire make and make install. Then tried the PHP ./configure and it worked! Of course now I have to figure out how to go about setting up a Database table? For mySQL. What im trying to achieve here is a running copy of NAG by www.horde.org If anyone is familiar with that let me know. Im not certain if a Database Table is a general thing or somthing that will be NAG/HORDE specific? Thanks! Ian > I have successfully installed PHP 4.3.0 on MacOS X, but it took a bit of > work and a lot of 'under the hood' knowlege of the OS. > > However, now that it has been done, and I know what packages are needed > and what versions are compatable with MacOS X, I can help you with > step-by-step instructions. > > I am not able to compile the instructions at this time, but will throw > something together tomorrow, and give the URL to the list. > > ** Somewhat off-topic ** > > MacOS X is less like a normal *NIX than many would initially suspect. > There are often many 'standard' libraries that are simply not present, or > certianly not the development files (header files, etc) that are needed to > compile *NIX packages. Most of these packages (PHP for example) can be > hacked together with the right expertise. I'm sure Apple Engineers spend > many hours getting everything together and patching source to get binaries > to work with the next release. > > Sadly, this leaves many out in the cold when needed compile-time options > are not used. (Gettext in mod_php) This is helped by people that post > instructions and/or patched sources files on the internet. For example, > Marc Liyange (http://www.entropy.ch/software/macosx/) has done a bit of > this type of work. > > ** end rant ** > > Anyway, I'll get some instructions and source packages that helped me to > the list tomorrow. (BTW: I'm working with 10.2.4) > > HTH, > -Russell > > On Sat, 22 Feb 2003, EOS Technologies wrote: > > > Anyone knowledgeable about OS X? > > > > Im trying to install PHP with -gettext and --axps but running intro > > problems. > > Im running the latest OS X and have installed the developer tools. But it > > seems like im still missing somthing... > > > > When I run ./configure I get somewhere. > > About to here: > > > > checking for the location of libXpm... no > > checking for FreeType 1.x support... no > > checking for FreeType 2... no > > checking for T1lib support... no > > checking whether to enable truetype string function in GD... no > > checking for GNU gettext support... yes > > configure: error: Cannot locate header file libintl.h > > [Jezebel:/apps/php-4.3.0] root# > > > > I was using the command line: > > ./configure --with-apxs --with-gettext > > > > When I do the configure without add get text the configure runs smoothly but > > I get this error on the Sudo Make Install > > > > Installing PHP SAPI module > > [activating module `php4' in /private/etc/httpd/httpd.conf] > > cp libs/libphp4.so /usr/libexec/httpd/libphp4.so > > cp: libs/libphp4.so: No such file or directory > > apxs:Break: Command failed with rc=1 > > make: *** [install-sapi] Error 1 > > > > If anyone can help me out. Please remeber I am a complete begginer step by > > step instructions! > > > > Thanks > > ian -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php