View previous topic :: View next topic |
Author |
Message |
cookie n00b
Joined: 26 Feb 2003 Posts: 36 Location: Manchester England
|
Posted: Fri Sep 19, 2003 8:05 pm Post subject: error emerging mod_php |
|
|
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 |
|
|
jeffbuttars Tux's lil' helper
Joined: 23 May 2003 Posts: 79 Location: Boise, ID
|
Posted: Fri Sep 19, 2003 8:23 pm Post subject: install an mta |
|
|
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 |
|
|
jeffbuttars Tux's lil' helper
Joined: 23 May 2003 Posts: 79 Location: Boise, ID
|
Posted: Fri Sep 19, 2003 8:27 pm Post subject: ignore last post. |
|
|
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 |
|
|
cookie n00b
Joined: 26 Feb 2003 Posts: 36 Location: Manchester England
|
Posted: Fri Sep 19, 2003 8:32 pm Post subject: I made the link |
|
|
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 |
|
|
jeffbuttars Tux's lil' helper
Joined: 23 May 2003 Posts: 79 Location: Boise, ID
|
Posted: Fri Sep 19, 2003 8:40 pm Post subject: puzzling |
|
|
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 |
|
|
cookie n00b
Joined: 26 Feb 2003 Posts: 36 Location: Manchester England
|
Posted: Fri Sep 19, 2003 10:51 pm Post subject: I fixed the mail issue |
|
|
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 |
|
|
|