php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57931 error: #error not available yet
Submitted: 2007-11-27 14:13 UTC Modified: 2008-07-17 06:27 UTC
From: campbell at on2 dot com Assigned:
Status: Closed Package: crack (PECL)
PHP Version: 5.2.1 OS: linux
Private report: No CVE-ID: None
 [2007-11-27 14:13 UTC] campbell at on2 dot com
Description:
------------
I get the following error message when trying to compile crack 0.4 with php 5.2.5 and apache 2.2.6

/bin/sh /usr/local/src/php-5.2.5/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/src/php-5.2.5/ext/crack/libcrack/include -Iext/crack/ -I/usr/local/src/php-5.2.5/ext/crack/ -DPHP_ATOM_INC -I/usr/local/src/php-5.2.5/include -I/usr/local/src/php-5.2.5/main -I/usr/local/src/php-5.2.5 -I/usr/include/libxml2 -I/usr/local/src/php-5.2.5/ext/date/lib -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/imap-2006k/include -I/usr/local/src/php-5.2.5/ext/mbstring/oniguruma -I/usr/local/src/php-5.2.5/ext/mbstring/libmbfl -I/usr/local/src/php-5.2.5/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/local/src/php-5.2.5/TSRM -I/usr/local/src/php-5.2.5/Zend    -I/usr/include -g -O2  -prefer-non-pic -c /usr/local/src/php-5.2.5/ext/crack/libcrack/src/packlib.c -o ext/crack/libcrack/src/packlib.lo 
In file included from /usr/local/src/php-5.2.5/ext/crack/libcrack/src/packlib.c:16:
/usr/local/src/php-5.2.5/ext/crack/libcrack/src/cracklib.h:41:3: error: #error not available yet
make: *** [ext/crack/libcrack/src/packlib.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/local/src/php-5.2.5/ext/crack/libcrack/src/fascist.c:16:
/usr/local/src/php-5.2.5/ext/crack/libcrack/src/cracklib.h:41:3: error: #error not available yet
make: *** [ext/crack/libcrack/src/fascist.lo] Error 1

Reproduce code:
---------------
compile php-5.2.5 with the following configure options on Slackware 12.0

--prefix=/usr --sysconfdir=/etc/apache --localstatedir=/var --with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc/apache --with-mysql=/usr --with-gettext --enable-mbstring=all --enable-mbregex --with-zlib=/usr \
--with-curl --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr \
--with-xpm-dir=/usr/X11R6 --with-freetype-dir=/usr/X11R6 --with-t1lib=/usr --with-openssl=/usr --with-ldap --with-mhash \
--with-imap=/usr/local/imap-2006k --with-imap-ssl=/usr --with-crack --with-gnupg

Expected result:
----------------
It should compile but doesn't

Actual result:
--------------
/bin/sh /usr/local/src/php-5.2.5/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/src/php-5.2.5/ext/crack/libcrack/include -Iext/crack/ -I/usr/local/src/php-5.2.5/ext/crack/ -DPHP_ATOM_INC -I/usr/local/src/php-5.2.5/include -I/usr/local/src/php-5.2.5/main -I/usr/local/src/php-5.2.5 -I/usr/include/libxml2 -I/usr/local/src/php-5.2.5/ext/date/lib -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/imap-2006k/include -I/usr/local/src/php-5.2.5/ext/mbstring/oniguruma -I/usr/local/src/php-5.2.5/ext/mbstring/libmbfl -I/usr/local/src/php-5.2.5/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/local/src/php-5.2.5/TSRM -I/usr/local/src/php-5.2.5/Zend    -I/usr/include -g -O2  -prefer-non-pic -c /usr/local/src/php-5.2.5/ext/crack/libcrack/src/packlib.c -o ext/crack/libcrack/src/packlib.lo 
In file included from /usr/local/src/php-5.2.5/ext/crack/libcrack/src/packlib.c:16:
/usr/local/src/php-5.2.5/ext/crack/libcrack/src/cracklib.h:41:3: error: #error not available yet
make: *** [ext/crack/libcrack/src/packlib.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/local/src/php-5.2.5/ext/crack/libcrack/src/fascist.c:16:
/usr/local/src/php-5.2.5/ext/crack/libcrack/src/cracklib.h:41:3: error: #error not available yet
make: *** [ext/crack/libcrack/src/fascist.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-17 06:27 UTC] tony at daylessday dot org
Fixed in CVS long ago.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jan 28 03:01:24 2020 UTC