note 63665 added to install.unix.sun
| From: | ericbackstrom at hotmail dot com | Date: | Mon, 27 Mar 2006 23:09:50 +0000 |
| Subject: | note 63665 added to install.unix.sun | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106795@lists.php.net to get a copy of this message | ||
Using gcc 3.3 I had problems compiling PHP for 64 bits, I had to replace mysql/64 bits with mysql/32
bits (Solaris cannot mix 32 bits and 64 bits libraries), so I specified the following compiler flag:
CFLAGS="-m32";export CFLAGS;
I also had problems with PHP 5.1.2 in sapi/nsapi/nsapi.c source code, It had incorrect comments and
file paths :S
When trying to install PHP with mysql support I found I had these problems too: http://bugs.php.net/bug.php?id=34516... So
don't mix sun ld and gcc ld because you will get into troubles. I built mysql libraries myself
in a separated directory.
And don't forget to set your LD_LIBRARY_PATH to something like:
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib"
----
Server IP: 203.202.10.60
Probable Submitter: 200.34.175.154
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/install.unix.sun.php
Edit -- http://master.php.net/note/edit/63665
Del: integrated -- http://master.php.net/note/delete/63665/integrated
Del: useless -- http://master.php.net/note/delete/63665/useless
Del: bad code -- http://master.php.net/note/delete/63665/bad+code
Del: spam -- http://master.php.net/note/delete/63665/spam
Del: non-english -- http://master.php.net/note/delete/63665/non-english
Del: in docs -- http://master.php.net/note/delete/63665/in+docs
Del: other reasons-- http://master.php.net/note/delete/63665
Reject -- http://master.php.net/note/reject/63665
Search -- http://master.php.net/manage/user-notes.php