Re: [ANNOUNCEMENT] esmtp-0.3.0 (alpha) Released.
| From: | Derick Rethans | Date: | Mon, 06 Sep 2004 07:49:18 +0000 |
| Subject: | Re: [ANNOUNCEMENT] esmtp-0.3.0 (alpha) Released. | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1280@lists.php.net to get a copy of this message | ||
On Mon, 6 Sep 2004, Piotr Klaban wrote:
> On Sat, Sep 04, 2004 at 08:03:56PM +0200, Adam Gołębiowski wrote:
> > Trying to compile that one on php5 ends up with:
> >
> > i686-pld-linux-gcc -I. -I/home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0
> > -DPHP_ATOM_INC -I/home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0/include
> > -I/home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0/main
> > -I/home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0-I/usr/include/php
> > -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -O2
> > -march=i686 -pthreads -c /home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0/esmtp.c
> > -DPIC
> > i686-pld-linux-gcc: unrecognized option `-pthreads'
> > /home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0/esmtp.c: In function
> > `callback_esmtp_session_event':
> > /home/users/builder/rpm/BUILD/php-pecl-esmtp-0.3.0/esmtp-0.3.0/esmtp.c:711: error:
> > `SMTP_EV_NO_CLIENT_CERTIFICATE' undeclared (first use in this function)
>
> You have not provided any info about the libesmtp version.
> I think you can use the outdated libesmtp package:
> The command:
> libesmtp-config --version
> should display '1.0.3r1'; and you can have 1.0.1, since SMTP_EV_NO_CLIENT_CERTIFICATE
> is present in 1.0.2.
If that's the case then you need to fix your checks in config.m4. This
should warn for outdated versions.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org