Building Crack Extension Statically with PHP 5.0.3
| From: | imacat | Date: | Thu, 17 Mar 2005 18:04:00 +0000 |
| Subject: | Building Crack Extension Statically with PHP 5.0.3 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2169@lists.php.net to get a copy of this message | ||
Dear all,
I tried to build the crack extension 0.2 statically into PHP 5.0.3,
but failed. The procedure in the PHP manual said I have to do,
% cd ext
% tar xzf crack-0.2.tgz
% mv crack-0.2 crack
% rm -f package.xml
% cd ..
% ./buildconf
% ./configure --help
% ./configure --with-crack
But I found that won't work. After some debugging I found that I
have to switch to autoconf 2.13 and do:
% cd ext
% tar xzf crack-0.2.tgz
% mv crack-0.2 crack
% rm -f package.xml
% cd ..
% ./buildconf --force
% autoconf
% ./configure --help
% ./configure --with-crack
Now crack is checked when running ./configure, complied as
ext/crack/crack.o, and then, it did not get into the PHP binary:
% echo '<?php var_dump(function_exists("crack_check")); ?>' | php
bool(false)
% echo '<?php var_dump(function_exists("crack_check")); ?>' |
php-cli-4.3.9
bool(true)
I'm stucked here. I searched the cracklib and found no
documentation on this. I searched for statically-linked extension but
all I got is the above not-working description in section "Compiling
PECL extensions statically into PHP" in the INSTALL file, and a lot of
same things on the internet. Did anyone successfully compiled crack
into PHP 5.0.3 statically? Did I miss something when I compiled it?
Thank you in advance.
--
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://www.linux.org.tw/mailman/listinfo/tlug
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]