[php install] PHP compilen gaat fout...

Pagina: 1
Acties:

  • ddofborg
  • Registratie: Augustus 2000
  • Laatst online: 26-02 09:52
Ik wou gisteren nieuwe PHP installeren, na het uitvoegen van make krijg ik dit:
Making all in Zend
make[1]: Entering directory `/root/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
In file included from zend_API.h:28,
from zend_language_parser.c:152:
zend_operators.h: In function `is_numeric_string':
zend_operators.h:78: `ERANGE' undeclared (first use in this function)
zend_operators.h:78: (Each undeclared identifier is reported only once
zend_operators.h:78: for each function it appears in.)
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/root/php-4.1.2/Zend'
make: *** [all-recursive] Error 1
ik heb halve dag op google lopen zoeken voor uitleg van deze error, maar kon niets vinden... er zijn wel meer mensen die er last van hebben gehad...


weet iemand van jullie iets hierover?

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 14:47

Kees

Serveradmin / BOFH / DoC
Welke ./configure regel gebruik je? etc
iets meer info is welkom ;)

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • ddofborg
  • Registratie: Augustus 2000
  • Laatst online: 26-02 09:52
deze:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql/ --with-gd=../gd/

edit:
Slackware 8 (Kernel 2.2.20)
PHP 4.1.2
Apache 1.3.23
Mysql 3.23.40

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 14:47

Kees

Serveradmin / BOFH / DoC
als je se sources even helemaal verwijderd en opnieuw uitpakt en dan configure-regel && make doet, gaat het dan weer fout iow is het repliceerbaar?

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • ddofborg
  • Registratie: Augustus 2000
  • Laatst online: 26-02 09:52
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql/ --with-gd=../gd-1.8.4/ && make

output:
[...knip]
Thank you for using PHP.

Making all in Zend
make[1]: Entering directory `/root/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
In file included from zend_API.h:28,
from zend_language_parser.c:152:
zend_operators.h: In function `is_numeric_string':
zend_operators.h:78: `ERANGE' undeclared (first use in this function)
zend_operators.h:78: (Each undeclared identifier is reported only once
zend_operators.h:78: for each function it appears in.)
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/root/php-4.1.2/Zend'
make: *** [all-recursive] Error 1
ik heb voor de rest nooit problemen gehad met PHP compilen... heel vreemd