Re: Errors Compiling PHP 4.3.1 with Apache 2
| From: | Gerald Buckmaster | Date: | Sat, 17 May 2003 05:21:28 +0000 |
| Subject: | Re: Errors Compiling PHP 4.3.1 with Apache 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148005@lists.php.net to get a copy of this message | ||
Jeremy,
I don't have a solution, either. I do know the same errors are showing up
when I attempt to compile PHP 4.3.1 on Mandrake 9.1 system. my configure
arguments were different:
./configure --with-system-regex
Did you ever successfully build php 4.3.1?
Gerald
On Wednesday 07 May 2003 06:34 am, Jeremy N.E. Proffitt wrote:
> I have just installed Red hat Linux 9 (Shike). I removed the php and httpd
> (apache) rpm packages with rpm -e. I have compiled and built Apache httpd
> version 2.0.45 without problems. I followed the instructions from the php
> documentation:
>
> ..snip..
> 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> 11. make
>
> And get this error message (compiling php 4.3.1) :
>
> /home/mysql/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference
> to `errno' ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function
> `my_malloc': /home/mysql/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24:
> undefined reference to `errno'
> ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
> /home/mysql/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined
> reference to `errno' ext/mysql/libmysql/my_delete.lo(.text+0x86): In
> function `my_delete':
> /home/mysql/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined
> reference to `errno'
> ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/home/mysql/php-4.3.1/ext/mysq
>l/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> Any ideas?
>
> Thanks
> Jeremy