Re: Re: Building Crack Extension Statically with PHP 5.0.3(fwd)
| From: | Nuno Lopes | Date: | Fri, 18 Mar 2005 20:10:03 +0000 |
| Subject: | Re: Re: Building Crack Extension Statically with PHP 5.0.3(fwd) | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367018@lists.php.net to get a copy of this message | ||
I've fixed the docs and removed the user notes about this.
Nuno
----- Original Message -----
Heisan, forwarding this... ---------- Forwarded message ---------- Date: Fri, 18 Mar 2005 09:53:13 +0800 From: imacat <imacat@mail.imacat.idv.tw> To: PECL Developers <pecl-dev@lists.php.net> Subject: Re: [PECL-DEV] Building Crack Extension Statically with PHP 5.0.3It seems to be working fine now. *^_^* Thank you.By the way, can someone update the "Compiling PECL extensionsstatically into PHP" secion in INSTALL and other PHP documents for this? It's quite time-wasting for stupid questions like this. ^^; On Thu, 17 Mar 2005 21:26:05 +0000 skettler@php.net wrote:Hi, could you please try the following procedure (works fine for me whenenver buildconf does not correctly regenerate files): % cd ext % tar xzf crack-0.2.tgz % mv crack-0.2 crack % rm -f package.xml % cd .. % rm -f configure % ./buildconf --force % ./configure --help % ./configure --with-crack Hope this helps. Cheers, Sascha -------- Original Message -------- Subject: [PECL-DEV] Building Crack Extension Statically with PHP 5.0.3 (17-Mrz-2005 19:04)From: imacat@mail.imacat.idv.tw To: kettler@gmx.netDear 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-crackBut I found that won't work. After some debugging I found that Ihave 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-crackNow crack is checked when running ./configure, complied asext/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 nodocumentation 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.