Re: ext/crack/libcrack/src/cracklib.h:41:3: #er ror not available yet
| From: | Sascha Kettler | Date: | Sat, 22 Oct 2005 16:45:39 +0000 |
| Subject: | Re: ext/crack/libcrack/src/cracklib.h:41:3: #er ror not available yet | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3136@lists.php.net to get a copy of this message | ||
Hi,
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.
Yours,
Sascha Kettler
> --- Ursprüngliche Nachricht ---
> Von: imacat <imacat@mail.imacat.idv.tw>
> An: PECL Developers <pecl-dev@lists.php.net>
> Betreff: [PECL-DEV] ext/crack/libcrack/src/cracklib.h:41:3: #error not
> available yet
> Datum: Sat, 22 Oct 2005 22:16:09 +0800
>
> Sorry that I didn't notice crack 0.3/0.4 is released. I note that
> crack 0.4 is marked as "stable", but has this stable release been tested
> for "Compiling PECL extensions statically into PHP"? I ran into this
> error while compiling it statically, and cannot find a simple solution
> to fix it. I'm forced to reversed to crack 0.2 now. Did I made any
> mistake here? Please tell me so that I can correct my procedure. I
> really would like to use crack 0.4. Thank you.
>
> 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 --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 %
>
>
> On 21 Sep 2005 09:13:21 -0000
> "PECL Announce" <pecl-dev@lists.php.net> wrote:
>
> > The new PECL package crack-0.4 (stable) has been released at
> http://pecl.php.net/.
> >
> > Release notes
> > -------------
> > Updated to PEAR 1.4 (package2.xml format), added binary package for
> Win32, fixed compatibility with PHP 4.1
> >
> > Package Info
> > -------------
> > This package provides an interface to the cracklib (libcrack) libraries
> that come standard on most unix-like distributions. This allows you to
> check passwords against dictionaries of words to ensure some minimal level
of
> password security.
> >
> > >From the cracklib README
> > CrackLib makes literally hundreds of tests to determine whether you've
> > chosen a bad password.
> >
> > * It tries to generate words from your username and gecos entry to tries
> > to match them against what you've chosen.
> >
> > * It checks for simplistic patterns.
> >
> > * It then tries to reverse-engineer your password into a dictionary
> > word, and searches for it in your dictionary.
> >
> > - after all that, it's PROBABLY a safe(-ish) password. 8-)
> >
> > Related Links
> > -------------
> > Package home: http://pecl.php.net/package/crack
> > Changelog:
> > http://pecl.php.net/package-changelog.php?package=crack
> > Download: http://pecl.php.net/get/crack-0.4.tgz
> >
> > Authors
> > -------------
> > Joseph Tate <jtate@php.net> (lead)
> > Sascha Kettler <skettler@php.net> (lead)
> >
> > --
> > PECL development discussion Mailing List (http://pecl.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> 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
>