Heisan,

forwarding this...

---------- Forwarded message ----------
Date: Fri, 18 Mar 2005 09:53:13 +0800
From: imacat <[EMAIL PROTECTED]>
To: PECL Developers <[EMAIL PROTECTED]>
Subject: Re: [PECL-DEV] Building Crack Extension Statically with PHP 5.0.3

    It seems to be working fine now. *^_^*  Thank you.

    By the way, can someone update the "Compiling PECL extensions
statically 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
[EMAIL PROTECTED] 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:    [EMAIL PROTECTED]
To:      [EMAIL PROTECTED]

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.


To: [EMAIL PROTECTED]
    [EMAIL PROTECTED]

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- Best regards, imacat ^_*' <[EMAIL PROTECTED]> 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

Reply via email to