|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56610 Statically compiling crack extension fails with error
Submitted: 2005-10-24 07:09 UTC Modified: 2008-07-17 06:27 UTC
From: Assigned: skettler (profile)
Status: Closed Package: crack (PECL)
PHP Version: 5.0.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2005-10-24 07:09 UTC]
When embedding the crack extension statically into PHP, build fails with an error in ext/crack/libcrack/src/cracklib.h.

Compiling as a module works fine.

Reproduce code:
$ tar xzf php-5.0.5.tar.gz
$ cd php-5.0.5
$ cd ext
$ tar xzf crack-0.4.tgz
$ mv crack-0.4 crack
$ rm -f package.xml package2.xml
$ cd ..
$ rm -f configure
$ ./buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
rebuilding configure
rebuilding main/
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--infodir=/usr/share/info --mandir=/usr/share/man --enable-force-cgi-redirect \
--with-config-file-path=/etc --disable-short-tags --enable-dba --with-gdbm \
--with-inifile --with-flatfile --with-zlib --with-crack --with-gd \
--with-jpeg-dir=/usr --with-gettext --enable-mbstring=all --with-mime-magic \
--with-mysql --with-pgsql
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for cracklib support... yes

Thank you for using PHP.

$ make
gcc -I/usr/local/src/php-5.0.5/ext/crack/libcrack/include -Iext/crack/ \
-I/usr/local/src/php-5.0.5/ext/crack/ -DPHP_ATOM_INC \
-I/usr/local/src/php-5.0.5/include -I/usr/local/src/php-5.0.5/main \
-I/usr/local/src/php-5.0.5 \
-I/usr/include/libxml2 -I/usr/local/src/php-5.0.5/ext/mbstring/oniguruma \
-I/usr/local/src/php-5.0.5/ext/mbstring/libmbfl \
-I/usr/local/src/php-5.0.5/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql \
-I/usr/local/src/php-5.0.5/TSRM \
-I/usr/local/src/php-5.0.5/Zend    -g -O2  -c \
/usr/local/src/php-5.0.5/ext/crack/libcrack/src/fascist.c -o \
ext/crack/libcrack/src/fascist.o \
&& echo > ext/crack/libcrack/src/fascist.lo \
In file included from
/usr/local/src/php-5.0.5/ext/crack/libcrack/src/cracklib.h:41:3: #error not available yet
make: *** [ext/crack/libcrack/src/fascist.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-31 17:03 UTC]
Fixed in current CVS, but additional cross-platform tests needed before releasing new version.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 14:03:36 2021 UTC