On Sun, Jul 13, 2003 at 01:00:36PM -0400, Phil Barnett wrote:
> I get this when I try to emerge either php or mod_php...
>
> checking for unistd.h... yes
> checking for unix.h... no
> checking for utime.h... yes
> checking for sys/utsname.h... yes
> 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
If you look in
/var/tmp/portage/mod_php-4.3.2-r3/work/mod_php-4.3.2-r3/config.log,
you'll see that it's having problems with
/usr/lib/libxmlparse.so. A qpkg -f tells me that's part of
net-libs/libwww, which depends on dev-db/mysql (not sure
why, but it does). Re-emerge net-libs/libwww, and you
should be good to go.
/jgt
--
People say, "I'm going to sleep now," as if it were nothing. But it's really a
bizarre activity. "For the next several hours, while the sun is gone, I'm
going to become unconscious, temporarily losing command over everything I know
and understand. When the sun returns, I will resume my life."
-- George Carlin, _Brain Droppings_
pgp0.pgp
Description: PGP signature