Re: [gentoo-user] php 4.3.2 virtual/mta

2003-06-08 Thread Robin H . Johnson
On Sun, Jun 08, 2003 at 09:29:36AM -0400, Mike Arrison wrote:
> Well, for the record... "ln -s /usr/bin/nbsmtp /usr/sbin/sendmail" did
> the job.  Are we saying that the ebuild should be modified to provide
> this linkage automatically?
Yes it should.

-- 
Robin Hugh Johnson
E-Mail : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#   : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgp0.pgp
Description: PGP signature


RE: [gentoo-user] php 4.3.2 virtual/mta

2003-06-08 Thread Bjorn Sodergren
I think the php eclass should have information to detect what mta is
actually in use and where the proper sendmail compatible binary is and
during postinstall, modify the php.ini. Or simply not have the check for
/usr/sbin/sendmail. 

It makes sense on doing the check for /usr/sbin/sendmail as it would resolve
some 'I cant send mail via php' issues. However actually trying to emerge
php seems to have caused a new problem that doesn't need to be.


> Well, for the record... "ln -s /usr/bin/nbsmtp 
> /usr/sbin/sendmail" did the job.  Are we saying that the 
> ebuild should be modified to provide this linkage automatically?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] php 4.3.2 virtual/mta

2003-06-08 Thread Mike Arrison
--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 07, 2003 at 05:32:51PM -0700, Robin H. Johnson wrote:
> On Sat, Jun 07, 2003 at 09:24:00AM -0400, Mike Arrison wrote:
> > Gentooers,
> > Anybody else see this recently?
> >=20
> > !!! ERROR: dev-php/php-4.3.2 failed.
> > !!! Function php_src_compile, Line 211, Exitcode 1
> > !!! You need a virtual/mta that provides /usr/sbin/sendmail
> >=20
> > My /var/cache/edb/virtuals contains an mta line as follows:
> >=20
> > virtual/mta net-mail/nbsmtp net-mail/ssmtp   =20
> >=20
> > Don't tell me that php _needs_ sendmail in particular.
> The check originated because of some people that had custom MTA
> installs, and forgot to create a symlink for /usr/bin/sendmail, and
> then wondered why the PHP compile was failing.
Well, for the record... "ln -s /usr/bin/nbsmtp /usr/sbin/sendmail" did
the job.  Are we saying that the ebuild should be modified to provide
this linkage automatically?

-Mike Arrison

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+4zpA1NmL0av6/DARAjytAJ9O3ioy4YdyuQu6x1APnE74XlTG3gCguTSQ
2a3xnaT7pPU/HSgYdgjbekk=
=Jc9X
-END PGP SIGNATURE-

--TRYliJ5NKNqkz5bu--



Re: [gentoo-user] php 4.3.2 virtual/mta

2003-06-07 Thread Robin H . Johnson
On Sat, Jun 07, 2003 at 09:24:00AM -0400, Mike Arrison wrote:
> Gentooers,
> Anybody else see this recently?
> 
> !!! ERROR: dev-php/php-4.3.2 failed.
> !!! Function php_src_compile, Line 211, Exitcode 1
> !!! You need a virtual/mta that provides /usr/sbin/sendmail
> 
> My /var/cache/edb/virtuals contains an mta line as follows:
> 
> virtual/mta net-mail/nbsmtp net-mail/ssmtp
> 
> Don't tell me that php _needs_ sendmail in particular.
It doesn't.
/usr/bin/sendmail is NOT the same as the Sendmail package.

/usr/bin/sendmail is a generic program that is can be used from the
commandline to send emails. ALL virtual/mta packages should provide it.
If they don't, then they are broken. I personally know that both
Sendmail and Qmail ebuilds do provide it (I have confirmed it myself I
mean). If somebody could point out a virtual/mta that doesn't then we
will see about getting it fixed.

The check originated because of some people that had custom MTA
installs, and forgot to create a symlink for /usr/bin/sendmail, and
then wondered why the PHP compile was failing.

-- 
Robin Hugh Johnson
E-Mail : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#   : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgp0.pgp
Description: PGP signature


RE: [gentoo-user] php 4.3.2 virtual/mta

2003-06-07 Thread Bjorn Sodergren
Php does not require sendmail, you can use Qmail, postfix, exim or any other
sendmail compatible mailer. You would then need to change the php.ini to
reflect the location of the sendmail compatible binary (Qmail automaticly
(or should) symlinks /var/qmail/bin/sendmail to /usr/lib/sendmail).

You can also configure PHP to use SMTP as its mailer. Even though the
php.ini file says that is a win32 setting, it does work in Linux.

That said, a look in eclass/php.eclass we find 
 [ -x "/usr/sbin/sendmail" ] || die "You need a virtual/mta that provides
/usr/sbin/sendmail!"

Perhaps the issues are not php related but a problem with the MTA ebuild we
are using.

Creating a the correct symlink should fix the problem

> -Original Message-
> From: Paul de Vrieze [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 07, 2003 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] php 4.3.2 virtual/mta
> 
> 
> On Saturday 07 June 2003 15:24, Mike Arrison wrote:
> > Gentooers,
> > Anybody else see this recently?
> >
> > !!! ERROR: dev-php/php-4.3.2 failed.
> > !!! Function php_src_compile, Line 211, Exitcode 1
> > !!! You need a virtual/mta that provides /usr/sbin/sendmail
> >
> > My /var/cache/edb/virtuals contains an mta line as follows:
> >
> > virtual/mta net-mail/nbsmtp net-mail/ssmtp
> >
> > Don't tell me that php _needs_ sendmail in particular.
> 
> For the mail functionality of php (and many other 
> applications) sendmail is 
> needed indeed. If you don't care about mail capability in php 
> you could use 
> --nodeps to have php build anyway.
> 
> Paul
> 
> ps. Not that dev-php/php is the standalone php interpreter, 
> NOT the apache 
> module
> 
> -- 
> Paul de Vrieze
> Researcher
> Mail: [EMAIL PROTECTED]
> Homepage: http://www.devrieze.net
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] php 4.3.2 virtual/mta

2003-06-07 Thread Paul de Vrieze
On Saturday 07 June 2003 15:24, Mike Arrison wrote:
> Gentooers,
> Anybody else see this recently?
>
> !!! ERROR: dev-php/php-4.3.2 failed.
> !!! Function php_src_compile, Line 211, Exitcode 1
> !!! You need a virtual/mta that provides /usr/sbin/sendmail
>
> My /var/cache/edb/virtuals contains an mta line as follows:
>
> virtual/mta net-mail/nbsmtp net-mail/ssmtp
>
> Don't tell me that php _needs_ sendmail in particular.

For the mail functionality of php (and many other applications) sendmail is 
needed indeed. If you don't care about mail capability in php you could use 
--nodeps to have php build anyway.

Paul

ps. Not that dev-php/php is the standalone php interpreter, NOT the apache 
module

-- 
Paul de Vrieze
Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgp0.pgp
Description: signature