Code: Select all
checking for sys/ipc.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
!!! ERROR: dev-php/mod_php-4.3.2-r3 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed
k27 libgtkhtml #
Code: Select all
USE="-java -X" emerge mod_php

I read that one too. The only problem is that it also fails due to mod_php not working correctly...Peregrine wrote:One other thing to note: I've just read the announcement for mysql/apache2, and one of the things you are told to do is run 'revdep-rebuild' - this is used to update all the packages that were using the old mysqlclient lib to use the new one. Its a part of the gentoolkit ebuild, if I read the announcement right

So far, it passed the configuring stage, so this seems to do the trick!Peregrine wrote:I was hit by the same error. To fix it, I ran "emerge libwww" again, since I compiled it with MySQL support and I had just emerge'd the new version of MySQL. This broke libwww, as it was trying to find the old .so file, and mod_php was using one of the libraries from libwww when performing the 'Configure' stage.
Code: Select all
foo root # emerge DBD-mysqlCode: Select all
foo root # /usr/portage/app-admin/gentoolkit/files/scripts/revdep-rebuildCode: Select all
foo root # emerge apache mod_ssl mod_phpCode: Select all
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your IMAP installation.
!!! ERROR: dev-php/mod_php-4.3.2-r3 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed
Code: Select all
foo root # locate libc-client.a
/usr/lib/libc-client.a
Code: Select all
emerge libwww
emerge mod_php
Code: Select all
emerge unmerge mod_php
revdep-rebuild
emerge -u --deep mod_phpCode: Select all
emerge unmerge mod_Php
Code: Select all
revdep-rebuild
Code: Select all
emerge -u --deep mod_php
I am loosing hair with this ¤¤¤checking if iconv is glibc's... yes
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your IMAP installation.
!!! ERROR: dev-php/mod_php-4.3.2-r3 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed
That's probably because the package is called "mod_php" ... not "mod_Php".Tuppu wrote:Tried this as well.... I still get the same error message as before (this thread on 14th July) about "configure: error: Cannot find imap library (libc-client.a). Please check your IMAP installation."This command results an error message as there is nothing to unmergeCode: Select all
emerge unmerge mod_Php![]()
Code: Select all
foo root # emerge unmerge mod_php
!!! Couldn't find match for mod_php
>>> unmerge: No packages selected for removal.
Code: Select all
USE="-imap" emerge mod_php