Re: ext/crack/libcrack/src/cracklib.h:41:3: #error not available yet
| From: | imacat | Date: | Sat, 22 Oct 2005 18:24:32 +0000 |
| Subject: | Re: ext/crack/libcrack/src/cracklib.h:41:3: #error not available yet | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3137@lists.php.net to get a copy of this message | ||
On Sat, 22 Oct 2005 18:45:39 +0200 (MEST)
"Sascha Kettler" <kettler@gmx.net> wrote:
> that error should only occur when trying to use a locally installed cracklib
> (which at this time is not supported, as the bundled version should work
> fine and has better PHP support - thread-safety and no exit() calls to name
> the important ones).
>
> Could you try configuring with "--with-crack=yes" (which should be the
> default value in the first place). I will have a look at the problem during
> the weekend and hope to have a fix on monday.
Thank you for taking care of this issue. I followed your
instruction and tried to build it again, but unfortunately it failed at
the same place. The result is below.
I forgot to mention: My system is Debian GNU/Linux 3.1r0a, kernel
2.4.30, gcc 3.4.4, glibc 2.3.5.
Please tell me if I can be of any help.
imacat@rinse local/src % tar xzf php-5.0.5.tar.gz
imacat@rinse local/src % cd php-5.0.5
imacat@rinse src/php-5.0.5 % cd ext
imacat@rinse php-5.0.5/ext % tar xzf crack-0.4.tgz
imacat@rinse php-5.0.5/ext % mv crack-0.4/ crack
imacat@rinse php-5.0.5/ext % rm -f package.xml package2.xml
imacat@rinse php-5.0.5/ext % cd ..
imacat@rinse src/php-5.0.5 % rm -f configure
imacat@rinse src/php-5.0.5 % ./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
imacat@rinse src/php-5.0.5 % ./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=yes --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.
imacat@rinse src/php-5.0.5 % make
gcc -Iext/libxml/ -I/usr/local/src/php-5.0.5/ext/libxml/ -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/libxml/libxml.c -o ext/libxml/libxml.o && echo >
ext/libxml/libxml.lo
gcc -Iext/zlib/ -I/usr/local/src/php-5.0.5/ext/zlib/ -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/zlib/zlib.c -o ext/zlib/zlib.o && echo > ext/zlib/zlib.lo
gcc -Iext/zlib/ -I/usr/local/src/php-5.0.5/ext/zlib/ -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/zlib/zlib_fopen_wrapper.c -o ext/zlib/zlib_fopen_wrapper.o &&
echo > ext/zlib/zlib_fopen_wrapper.lo
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/crack.c -o ext/crack/crack.o && echo >
ext/crack/crack.lo
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
imacat@rinse src/php-5.0.5 %
--
Best regards,
imacat ^_*' <imacat@mail.imacat.idv.tw>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt
<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]