public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] mod_php 4.3.x merge issues?
@ 2003-07-21 21:01 Blake Watters
  2003-07-21 21:09 ` Matthew Walker
  2003-07-21 21:14 ` Max Kalika
  0 siblings, 2 replies; 6+ messages in thread
From: Blake Watters @ 2003-07-21 21:01 UTC (permalink / raw
  To: gentoo-dev

I'm maintaining about five gentoo boxen of various x86 persuasions. Over the last several weeks I've encountered identical build problems across the board with merging mod_php. The error I'm encountering is:

checking for fopencookie... yes
configure: error: can not run test program while cross compiling
 
!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed

When the system checks are executing. Obviously I'm not cross compiling, so I'm unsure what is triggering the error. Am I alone in encountering this error? Anyone have any ideas?

Thanks,
Blake
ibiblio.org, The Public's Library
http://www.ibiblio.org/sbw/

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] mod_php 4.3.x merge issues?
  2003-07-21 21:01 [gentoo-dev] mod_php 4.3.x merge issues? Blake Watters
@ 2003-07-21 21:09 ` Matthew Walker
  2003-07-21 21:14 ` Max Kalika
  1 sibling, 0 replies; 6+ messages in thread
From: Matthew Walker @ 2003-07-21 21:09 UTC (permalink / raw
  To: gentoo-dev

I've got a box with this problem too. I've solved it in the past with an
emerge -e mod_php, to force a rebuild of all dependencies, but I haven't
taken the time to do that yet on this box.

Here's the 'emerge info' for the box with the problem...

arsenic root # emerge info
Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow crypt gif imlib jpeg mmx ncurses pdflib spell truetype xml2
gdbm libwww mysql nls pam perl python readline slang tcpd tiff apache2
innodb sse xml zlib -oss -apm -arts -avi -cups -encode -gtk -java -kde
-libg++ -mikmod -motif -mpeg -oggvorbis -opengl -qt -quicktime -sdl -svga -X
-xmms -xv -berkdb -gpm -png -ssl"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"



Blake Watters said:
> I'm maintaining about five gentoo boxen of various x86 persuasions. Over the
> last several weeks I've encountered identical build problems across the
> board with merging mod_php. The error I'm encountering is:
>
> checking for fopencookie... yes
> configure: error: can not run test program while cross compiling
>
> !!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
> !!! Function econf, Line 320, Exitcode 1
> !!! econf failed
>
> When the system checks are executing. Obviously I'm not cross compiling, so
> I'm unsure what is triggering the error. Am I alone in encountering this
> error? Anyone have any ideas?
>
> Thanks,
> Blake
> ibiblio.org, The Public's Library
> http://www.ibiblio.org/sbw/
>
> --
> gentoo-dev@gentoo.org mailing list
>
>


-- 
 Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=utoxin&p=main

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] mod_php 4.3.x merge issues?
  2003-07-21 21:01 [gentoo-dev] mod_php 4.3.x merge issues? Blake Watters
  2003-07-21 21:09 ` Matthew Walker
@ 2003-07-21 21:14 ` Max Kalika
  2003-07-21 21:28   ` mike wakerly
  2003-07-21 21:34   ` Matthew Walker
  1 sibling, 2 replies; 6+ messages in thread
From: Max Kalika @ 2003-07-21 21:14 UTC (permalink / raw
  To: Blake Watters, gentoo-dev

Quoting Blake Watters <sbw@ibiblio.org>:

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

This is due to the mysql 3 -> 4 migration.  Quick fix: Re-emerge libwww
first. Then php should install ok.

---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] mod_php 4.3.x merge issues?
  2003-07-21 21:14 ` Max Kalika
@ 2003-07-21 21:28   ` mike wakerly
  2003-07-21 21:34   ` Matthew Walker
  1 sibling, 0 replies; 6+ messages in thread
From: mike wakerly @ 2003-07-21 21:28 UTC (permalink / raw
  To: gentoo-dev, sbw

On Monday 21 July 2003 02:14 pm, Max Kalika wrote:
> This is due to the mysql 3 -> 4 migration.  Quick fix: Re-emerge libwww
> first. Then php should install ok.

There is also a lot of information about this problem on the forums. In 
particular:

http://forums.gentoo.org/viewtopic.php?t=64713
http://forums.gentoo.org/viewtopic.php?t=66626

There's some 'creative' fixes in there as well, but as max suggests, a 
re-emerge of libwww is the quickest. (A revdep-rebuild would catch this as 
well.) I've also found that removing the 1.x series of apache installs makes 
things much nicer. Someone has taken great pains to let apache1 and apache2 
run side-by-side in portage, but you might find that just using apache2 is 
remarkably painless.

Cheers,
Mike





--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] mod_php 4.3.x merge issues?
  2003-07-21 21:14 ` Max Kalika
  2003-07-21 21:28   ` mike wakerly
@ 2003-07-21 21:34   ` Matthew Walker
  2003-07-21 21:52     ` Robin H.Johnson
  1 sibling, 1 reply; 6+ messages in thread
From: Matthew Walker @ 2003-07-21 21:34 UTC (permalink / raw
  To: gentoo-dev


Max Kalika said:
> Quoting Blake Watters <sbw@ibiblio.org>:
>
>> !!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
>> !!! Function econf, Line 320, Exitcode 1
>> !!! econf failed
>
> This is due to the mysql 3 -> 4 migration.  Quick fix: Re-emerge libwww
> first. Then php should install ok.

This fixed it for me! Thinks for the tip. I could have sworn I ran
revdep-rebuild on that machine, but maybe not.

Matthew

-- 
 Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=utoxin&p=main

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] mod_php 4.3.x merge issues?
  2003-07-21 21:34   ` Matthew Walker
@ 2003-07-21 21:52     ` Robin H.Johnson
  0 siblings, 0 replies; 6+ messages in thread
From: Robin H.Johnson @ 2003-07-21 21:52 UTC (permalink / raw
  To: Matthew Walker; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

On Mon, Jul 21, 2003 at 03:34:05PM -0600, Matthew Walker wrote:
> 
> Max Kalika said:
> > Quoting Blake Watters <sbw@ibiblio.org>:
> >
> >> !!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
> >> !!! Function econf, Line 320, Exitcode 1
> >> !!! econf failed
> >
> > This is due to the mysql 3 -> 4 migration.  Quick fix: Re-emerge libwww
> > first. Then php should install ok.
> 
> This fixed it for me! Thinks for the tip. I could have sworn I ran
> revdep-rebuild on that machine, but maybe not.
The revdep-rebuild in gentoolkit before 0.1.30 didn't work 100% in
getting the entire rebuild done properly. In 0.1.30 the only thing
it doesn't catch is libwww sometimes, but only because libwww has a
circular dependancy with MySQL via one of MySQL's dependancies.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-21 21:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-21 21:01 [gentoo-dev] mod_php 4.3.x merge issues? Blake Watters
2003-07-21 21:09 ` Matthew Walker
2003-07-21 21:14 ` Max Kalika
2003-07-21 21:28   ` mike wakerly
2003-07-21 21:34   ` Matthew Walker
2003-07-21 21:52     ` Robin H.Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox