note 51200 added to install.unix

From: Date: Wed, 23 Mar 2005 12:17:52 +0000
Subject: note 51200 added to install.unix
Groups: php.notes 
Request: Send a blank email to php-notes+get-86838@lists.php.net to get a copy of this message
after a long night of wrestling with mysql4.0 under linux compiled with the intel compiler, i've gotten php5.0.3 to compile with mysql libraries for this flavor of mysql: 1: download the mysql for linux/intel compiler and install 2: download the rpm for the intel compiler libraries and install 3: configure php with LDFLAGS="-lirc -lgcc_s" and EXTRA_LIBS="-lirc -lgcc_s" Example: LDFLAGS="-lirc -lgcc_s" LD_LIBRARY_PATH="-L/usr/lib64" LD_PATH="-L/usr/lib64" LDPATH="-L/usr/lib64" EXTRA_LIBS="-lirc -lgcc_s" ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-ssl=/usr/local/ssl --without-sqlite --with-zlib-dir=/usr --with-mysql=/usr/local/mysql of course this is on a xeon system that has half of its modules in the /usr/lib64 directory, so on a normal system, without the other kruft, it would look something more like this: LDFLAGS="-lirc -lgcc_s" EXTRA_LIBS="-lirc -lgcc_s" ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql Hopefully this will save someone the 6 hour headache it caused me.. ---- Manual Page -- http://www.php.net/manual/en/install.unix.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51200 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51200&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51200&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51200&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51200&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51200&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51200&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86838) next »