Re: [PHP4BETA] Ext and Error Compiling
| From: | Sascha Schumann | Date: | Tue, 11 May 1999 12:44:52 +0000 |
| Subject: | Re: [PHP4BETA] Ext and Error Compiling | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-765@lists.php.net to get a copy of this message | ||
On Tue, May 11, 1999 at 08:09:20AM -0400, AsianAvenue.com wrote:
> First, have been out of it for a while....please forgive if I have missed
> some messages which will answer my questions. Have been working with
> extensions again:
>
> mcrypt support? (
yes', no' or dir) [no] : yes
> shift: shift count must be <= $#
> Enter directory [] :
>
> Have found that the shift: line appears if you have the following in your
> setup.stub:
>
> define_option with-mcrypt 'mcrypt support?' yesnodir no \
> ' Whether to build the mcrypt extension.'
>
> the yesnodir is not really needed unless you are requiring that a path be
> specified. In this case, it seems NOT.......that instead just a yes or no
> answer is required.
Yes, the dir is optional. Is there a better way to specify that? If you want
mcrypt support, you only need to enter "yes" and hit return twice. That should
do it in the common case.
> I have changed this to:
>
> define_option with-mcrypt 'mcrypt support?' yesno no \
> ' Whether to build the mcrypt extension.'
>
> And I no longer get the shift: line anymore. Does that sound correct?
>
> ALSO, have checked out entirely new trees of PHP4 and libzend. Did the
> following:
You need to checkout TSRM as well. The procedure is the same as for libzend,
just substitute libzend with TSRM. Extract from Zeev's mail from 24 Apr 1999:
-----
Use cvs -d :pserver:username@cvs.zend.com:/repository co TSRM to check it out.
------
Then, cd into the php4 directory and make a symlink to the TSRM source
directory by issueing ln -s /path/to/checked/out/TSRM TSRM
Now, just run ./buildconf in your php4 tree. It will do all necessary things
for you. You can use configure and/or setup as usual.
--
Regards,
Sascha Schumann
Consultant
--
PHP 4 Beta