Re: PHP_NEW_EXTENSION error?
| From: | Donghui Wen | Date: | Wed, 13 Nov 2002 22:47:05 +0000 |
| Subject: | Re: PHP_NEW_EXTENSION error? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2716@lists.php.net to get a copy of this message | ||
I used PHP 4.2.3, but I checked out mailparse from CVS .
That's reason why it reports error. If I use the CVS version PHP,
it works fine.
Thanks!
Donghui
----- Original Message -----
From: "Stig S. Bakken" <ssb@fast.no>
To: "Donghui Wen" <dhwen@bytealert.net>
Cc: <pear-general@lists.php.net>
Sent: Wednesday, November 13, 2002 1:36 PM
Subject: Re: [PEAR] PHP_NEW_EXTENSION error?
On Tue, 2002-11-12 at 09:03, Donghui Wen wrote:
> Hi,
> I tried to install mailparse extension,
> after I did "pearize, "phpize" and run "./configure",
> I got there errors:
>
> ./configure: line 1067: syntax error near unexpected token
> `PHP_NEW_EXTENSION(mailparse,'
> ./configure: line 1067: ` PHP_NEW_EXTENSION(mailparse,
> mailparse.c php_mailparse_mime.c php_mailparse_rfc822.c, $ext_shared)'
>
> Did I do something wrong? How can I fix it?
> Thanks!
It seems mailparse only supports newer versions of PHP. Which version
are you trying to build with? (php-config --version)
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb