php.net |  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: skettler@php.net Assigned: skettler (profile)
Status: Closed Package: crack (PECL)
PHP Version: 5.0.5 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: skettler@php.net
New email:
PHP Version: OS:

 

 [2005-10-24 07:09 UTC] skettler@php.net
Description:
------------
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/php_config.h.in
$ ./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/fascist.c:16:
/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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-31 17:03 UTC] skettler@php.net
Fixed in current CVS, but additional cross-platform tests needed before releasing new version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC