Re: "make install" doesn't seem to work on "downgrade" on OS X -- anyone else seen this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Weston C schreef:
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
Is there a particular reason you are downgrading?

I'm pretty happy with some of the features in 5.3, but have been asked
to work with a codebase that turned out to have some issues under 5.3
that didn't show up under 5.2.x. I'd love to have the time to dig and
give feedback on the issues for the improvement and quicker release of
5.3, but unfortunately work has to be a higher priority. :(

I hack on a Mac, and when Leopard first came out (I have no experience
on Mac prior to Leopard) even compiling php was nigh on impossible ... It took
me three days to get something compiling, problems were due to borked libs
like libxml IIRC ... I'm no expert on compiler/links environment variables and things of
that ilk. But theses days compiling and reinstalling php works fine
(at least on my Leopard install), seems all the crufty lib problems have been
fixed with updates.

the first thing I did was remove/disable the standard apache & php installs e.g. move /usr/bin/php
to something like /usr/bin/php-mac and disable the Personal Webserver (or whatever the frak its
called). you'll also need to install XCode (1.3Gigs) for some libs and use something
like macports to install some other libs ... depending on your requirements.

I must admit that the number one reason I rolled my own php is because I need the
firebird/interbase extension and that's never supplied as standard.

give us some more details on what you system setup is and exactly what your
trying to do. 'downgrading' is too vague.

in the mean time here is what my custom php configure line looks like, it might
provide some inspiration:

'./configure' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--prefix=/usr/local/php5' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-xsl=/usr' '--with-tidy=/opt/local' '--enable-mbstring' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--with-zlib-dir' '--enable-sockets' '--enable-exif' '--with-mcrypt=/opt/local' '--enable-soap' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/private/tmp/mysql.sock' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-pdo-mysql=/usr/local/mysql/bin/mysql_config' '--with-freetype-dir=/opt/local' '--with-xpm-dir=/Developer/SDKs/MacOSX10.5.sdk/usr/X11' '--with-ldap' '--with-xmlrpc' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--with-bz2' '--enable-zip' '--enable-pcntl' '--enable-sockets' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-bcmath' '--with-gettext=/opt/local' '--with-curl' '--with-mcrypt=/opt/local' '--with-interbase=/opt' '--without-iconv' '--enable-cli' '--with-sqlite' '--with-config-file-scan-dir=/etc/php.d'


-W



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux