On Sun, Jul 10, 2011 at 07:12:08PM -0400, Bill Cunningham wrote:
> >
> > If you can't see the problem, try replying with the lines showing
> > what code was used, and what error was initially reported.
>
> Ok the lines that are in config.log? Or in the error report?
>
The *relevant* lines from config.log. For example, I've just
run configure for a native build of binutils [ nowadays, the
subdirectories seem to be configured when you execute make ]. This
is what it shows from the test for 'ppl' (not an error, but the
principles are the same).
configure:5658: checking for version 0.10 (or later revision) of PPL
configure:5675: gcc -c -g -O2 conftest.c >&5
That shows the test, with a test program being compiled.
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
compilation terminated.
And this is the important error message explaining why the test
failed. You need to look for the equivalent error message from your
error.
The test program itself is then shown (occasionally helpful) :
configure:5675: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
| choke me
| #endif
|
| ;
| return 0;
| }
And then, because the ppl test can happily fail, configure reports
the answer, and continues:
configure:5679: result: no
Your error will have the 'cannot compile executables' error after
the equivalent code, I guess, and may stop soon after.
HTH
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page