Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error emerging mod_php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cookie
n00b
n00b


Joined: 26 Feb 2003
Posts: 36
Location: Manchester England

PostPosted: Fri Sep 19, 2003 8:05 pm    Post subject: error emerging mod_php Reply with quote

I am trying to get mod_php install the emerge bombs out with the following error

!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function php_src_compile, Line 242, Exitcode 1
!!! You need a virtual/mta that provides /usr/sbin/sendmail!

The thing is im using qmail any ideas what I should do?
Back to top
View user's profile Send private message
jeffbuttars
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2003
Posts: 79
Location: Boise, ID

PostPosted: Fri Sep 19, 2003 8:23 pm    Post subject: install an mta Reply with quote

You need to install an mta(mail transfer agent).
More specifically you need to install one that provides the sendmail executable.

You can install sendmail itself, emerge sendmail, or you can choose an alternative like postfix, or qmail.

I don't recommend sendmail. It works well, but often succombs to security problems. I personally prefer qmail, it takes more to set up, but it's rock solid and is easy to manage.
Back to top
View user's profile Send private message
jeffbuttars
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2003
Posts: 79
Location: Boise, ID

PostPosted: Fri Sep 19, 2003 8:27 pm    Post subject: ignore last post. Reply with quote

Sorry, I didn't catch you had qmail installed until after I posted.

All is not lost.
I would try linking your qmail sendamil program to where mod_php wants it to be.
Something like this:
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

looking at my own installation it looks the qmail sendmail program was just copied over instead of linking it, so that should work as well.
Back to top
View user's profile Send private message
cookie
n00b
n00b


Joined: 26 Feb 2003
Posts: 36
Location: Manchester England

PostPosted: Fri Sep 19, 2003 8:32 pm    Post subject: I made the link Reply with quote

However emerge still insists I install ssmtp shouldnt it recognise qmail as a mail service?

pluto conf # emerge -p mod_php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] net-mail/mailbase-0.00-r5
[ebuild N ] net-mail/ssmtp-2.48
[ebuild R ] dev-php/mod_php-4.3.2-r4
Back to top
View user's profile Send private message
jeffbuttars
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2003
Posts: 79
Location: Boise, ID

PostPosted: Fri Sep 19, 2003 8:40 pm    Post subject: puzzling Reply with quote

I'm not sure why it doesn't think qmail will cut it.
You could go out on limb and inject mailbase and ssmtp into portage and see what happens.

emerge -i mailbase ssmtp
Back to top
View user's profile Send private message
cookie
n00b
n00b


Joined: 26 Feb 2003
Posts: 36
Location: Manchester England

PostPosted: Fri Sep 19, 2003 10:51 pm    Post subject: I fixed the mail issue Reply with quote

I edited /var/cache/edb/virtuals as it had both qmail and ssmtp listed.

However I now get

configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

When I emerge mod_php any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum