* [gentoo-amd64] what causes this? @ 2006-10-17 6:33 Steve Herber 2006-10-17 7:47 ` Neil Bothwick 2006-10-17 11:30 ` [gentoo-amd64] " Christoph Mende 0 siblings, 2 replies; 4+ messages in thread From: Steve Herber @ 2006-10-17 6:33 UTC (permalink / raw To: gentoo-amd64 configure: error: There is something wrong. Please check config.log for more information. !!! ERROR: dev-lang/php-5.1.6-r6 failed. Call stack: ebuild.sh, line 1564: Called dyn_compile ebuild.sh, line 937: Called src_compile php-5.1.6-r6.ebuild, line 173: Called src_compile_normal php-5.1.6-r6.ebuild, line 323: Called php5_1-sapi_src_compile php5_1-sapi.eclass, line 575: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. Some of my major packages get this error and I wonder what causes it? I am not interested in a solution for php, but a guideline to help me fix any package with this problem. Thanks, Steve Herber herber@thing.com work: 206-221-7262 Security Engineer, UW Medicine, IT Services home: 425-454-2399 -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] what causes this? 2006-10-17 6:33 [gentoo-amd64] what causes this? Steve Herber @ 2006-10-17 7:47 ` Neil Bothwick 2006-10-17 9:29 ` [gentoo-amd64] " Duncan 2006-10-17 11:30 ` [gentoo-amd64] " Christoph Mende 1 sibling, 1 reply; 4+ messages in thread From: Neil Bothwick @ 2006-10-17 7:47 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 847 bytes --] On Mon, 16 Oct 2006 23:33:06 -0700 (PDT), Steve Herber wrote: > configure: error: There is something wrong. Please check config.log for > more information. > > !!! ERROR: dev-lang/php-5.1.6-r6 failed. > Some of my major packages get this error and I wonder what causes it? > I am not interested in a solution for php, but a guideline to help me > fix any package with this problem. The lines before the error should give some clues. The config.log it mentions can be found in $PORT_TMPDIR/dev-lang/php-5.1.6/work in this instance, that should give a more detailed error message. This isn't necessarily a single problem for all the affected packages; the configure script carries out a large number of tests, any one of which could have failed. -- Neil Bothwick KPLA: Warrior's Radio! All the glory, all the time! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-amd64] Re: what causes this? 2006-10-17 7:47 ` Neil Bothwick @ 2006-10-17 9:29 ` Duncan 0 siblings, 0 replies; 4+ messages in thread From: Duncan @ 2006-10-17 9:29 UTC (permalink / raw To: gentoo-amd64 Neil Bothwick <neil@digimed.co.uk> posted 20061017084723.500c31ca@krikkit.digimed.co.uk, excerpted below, on Tue, 17 Oct 2006 08:47:23 +0100: > On Mon, 16 Oct 2006 23:33:06 -0700 (PDT), Steve Herber wrote: > >> configure: error: There is something wrong. Please check config.log for >> more information. >> >> !!! ERROR: dev-lang/php-5.1.6-r6 failed. > >> Some of my major packages get this error and I wonder what causes it? >> I am not interested in a solution for php, but a guideline to help me >> fix any package with this problem. > > The lines before the error should give some clues. The config.log it > mentions can be found in $PORT_TMPDIR/dev-lang/php-5.1.6/work in this > instance, that should give a more detailed error message. > > This isn't necessarily a single problem for all the affected packages; the > configure script carries out a large number of tests, any one of which > could have failed. Additionally, note that with some tests, any warnings (even if they are harmless) can cause the test to fail. A common example would be unsupported CFLAGS -- CFLAGS that your currently configured version of GCC doesn't recognize and so ignores, but spits a warning about. Maybe you setup your CFLAGS with a different version of GCC that recognized different flags, or whatever you followed suggesting those CFLAGS was based on a different GCC version. Particularly if whatever they are testing is only a gcc-warning as well, guess what, they usually fail on any warning. As it happens, the Gentoo/amd64 arch team had enough problems reported due to this that they instituted a filter in their profiles that removes most flags the currently configured version of gcc doesn't recognize, so the problem happens less frequently than it did, but the unrecognized CFLAG warning isn't the only one gcc has by far, and if one of the others pops up in a test, it could trigger a test failure and ultimately a configure error as well. In ordered to properly troubleshoot the general problem (a configure error as reported in config.log), one really needs to know bash (well sh, which on Gentoo is normally bash) scripting, since that's what the configure script is written in. The config.log file references line numbers in the actual configure script, and if it's not immediately apparent from config.log what the problem is, the next step is to open the configure script to that line and figure out what it's doing, duplicating the process by hand or adding echo debugs to the configure script where necessary to see what's going on. With a decent grasp of bash and at least a vague idea of what all those tests in the configure script are all about (note, knowing C/C++ is generally NOT necessary), one can usually figure out what's going on and why, either correcting the problem (such as CFLAGS that are choking the test in question) or bugging either with Gentoo or very occasionally upstream, as appropriate. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] what causes this? 2006-10-17 6:33 [gentoo-amd64] what causes this? Steve Herber 2006-10-17 7:47 ` Neil Bothwick @ 2006-10-17 11:30 ` Christoph Mende 1 sibling, 0 replies; 4+ messages in thread From: Christoph Mende @ 2006-10-17 11:30 UTC (permalink / raw To: gentoo-amd64 On Mon, 2006-10-16 at 23:33 -0700, Steve Herber wrote: > configure: error: There is something wrong. Please check config.log for > more information. Please do this ;) If you still need help with the information in config.log give us the relevant part of it. The file is in somewhere /var/tmp/portage/php-5.1.6-r6/work/ -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-17 11:35 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-10-17 6:33 [gentoo-amd64] what causes this? Steve Herber 2006-10-17 7:47 ` Neil Bothwick 2006-10-17 9:29 ` [gentoo-amd64] " Duncan 2006-10-17 11:30 ` [gentoo-amd64] " Christoph Mende
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox