[PHP-DEV] PHP 4.0 Bug #3577: Invalid "#define" directive in crypt.c From: agm30 <email protected>
Date: 02/23/00

From: agm30 <email protected>
Operating system: sparc-sun-solaris2.5.1
PHP version: 4.0 Beta 4
PHP Bug Type: Compile Failure
Bug description: Invalid "#define" directive in crypt.c

Hi.

  Trying to install PHP4b4 with these options:

configure --enable-debug --enable-shared --enable-static --enable-track-vars --enable-xml --with-apxs=/d1/apache1.3/sbin/apxs --with-config-file-path=/d1/apache1.3/conf --with-ftp --with-gd=/usr/local --with-gdbm=/opt/gnu/lib --with-java=/d1/Java/J2SE --with-jpeg-dir=/d1/PHP/Libs/jpeg/jpeg-6b --with-ldap=/usr/local/ldapsdk --with-oci8=/d1/oracle805 --with-oracle=/d1/oracle805 --with-pdflib=/usr/local --with-png-dir=/d1/PHP/Libs/PNG/libpng-1.0.5 --with-png=yes --with-tiff-dir=/d1/PHP/Libs/tiff/tiff-v3.5.4 --with-xml --with-zlib-dir=/d1/PHP/Libs/zLib/zlib-1.1.3 --with-zlib=/usr/local

  and these environ variables:

LDFLAGS="-L/opt/gnu -L/opt/gnu/lib -L/usr/local -L/usr/local/lib -L/usr/lib -L/usr/ucblib -L/d1/apache1.3/libexec"
CPPFLAGS="-I/opt/gnu -I/opt/gnu/include -I/usr/local -I/usr/local/include -I/usr/include -I/usr/ucbinclude"

  I returned this from "make":

.../...
Making all in standard
.../...
crypt.c: In function `php_if_crypt':
crypt.c:120: `PHP3_MAX_SALT_LEN' undeclared (first use in this function)
crypt.c:120: (Each undeclared identifier is reported only once
crypt.c:120: for each function it appears in.)
crypt.c:120: size of array `salt' has non-integer type
crypt.c: At top level:
crypt.c:111: warning: `php_to64' defined but not used
.../...

  Any ideas?
  Many thanks.

  Arturo Garcia
  agm30 <email protected>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>