Re: Compile MySQL 3.23.39 problem after installing PHP 4.06
| From: | Andreas D. Landmark | Date: | Sun, 24 Jun 2001 18:45:34 +0000 |
| Subject: | Re: Compile MySQL 3.23.39 problem after installing PHP 4.06 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9796@lists.php.net to get a copy of this message | ||
At 24.06.2001 09:07, you wrote:
Hi:The normal order is mysql then PHP (as PHP with mysql support is dependant upon mysql headers and libs (or atleast the mysqlclient lib). However the error messages you received seems very strange, are you sure they're not munged in anyway ? There's not supposed to be any headerfiles in /boot/ and the errors you've received doesn't make much sense unless you're using a broken compiler or linux-source, has your stuff been tampered with in anyway? I suggest you try again with some fresh sources for the linux-source and check again that you pasted the complete error message, as a munged one would only be confusing. -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.After I have successfully installed PHP 4.06 then I want to upgrade myMySQL 3.23.37 to 3.23.39 using source method. After downloading and tar, Then I type "./configure --prefix=/usr/local/mysql" During make process.Error occurs.Here's some warning message: In file included from /usr/include/linux/rhconfig.h:13,from /usr/include/linux/autoconf.h:1, from /usr/include/linux/config.h:4, from /usr/include/asm/atomic.h:4, from ../include/global.h:203, from bfill.c:15:/boot/kernel.h:2:10: warning: extra tokens at end of #ifndef directive /boot/kernel.h:12:10: warning: ISO C requires whitespace after the macro name /boot/kernel.h:19:10: warning: extra tokens at end of #ifndef directive This message has repeatedly appear for more times during make.Finally make progress interrupt. So would anyone know what's the problem and how to solve it ?Is it related to mysql support during configure PHP installing (--with-mysql=/usr/local/mysql) Or we must install mysql and then PHP (There's a ordering of installing ? MySQL then PHP) Thx