On Fri, Mar 30, 2018 at 02:41:27PM -0400, miguel caldas wrote:
>    Hi,
>    I'm installing LFS 8.2 on a debian 9 host.
>    My host system requirements are these.
[snip most]
>    version-check.sh: line 47: makeinfo: command not found

Very unlikely to be related to your immediate problem, but you are
missing texinfo.

>    When I try to configure the package using this command:
>    ../configure                             \
>          --prefix=/tools                    \
>          --host=$LFS_TGT                    \
>          --build=$(../scripts/config.guess) \
>          --enable-kernel=3.2             \
>          --with-headers=/tools/include      \
>          libc_cv_forced_unwind=yes          \
>          libc_cv_c_cleanup=yes
>    I get this error message:
>    checking build system type... x86_64-pc-linux-gnu
>    checking host system type... x86_64-lfs-linux-gnu
>    checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc
>    checking for suffix of object files... configure: error: in
>    `/media/lfs/Root/sources/glibc-2.27/build':
>    configure: error: cannot compute suffix of object files: cannot compile
>    See `config.log' for more details
>    As suggested I went to config.log and saw the folowing information:
>    #define PACKAGE_TARNAME "glibc"
>    | #define PACKAGE_VERSION "(see version.h)"
>    | #define PACKAGE_STRING "GNU C Library (see version.h)"
>    | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/";
>    | #define PACKAGE_URL "http://www.gnu.org/software/glibc/";
>    | #define PKGVERSION "(GNU libc) "
>    | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
>    | /* end confdefs.h.  */
>    |
>    | int
>    | main ()
>    | {
>    |
>    |   ;
>    |   return 0;
>    | }
>    configure:2643: error: in `/media/lfs/Root/sources/glibc-2.27/build':
>    configure:2645: error: cannot compute suffix of object files: cannot
>    compile
>    See `config.log' for more details
>    I have no idea of what to do next, so any help would be greatly
>    appreciated.

I suggest you look around that part of config.log, there ought to be
a detailed error message for this somewhere nearby.  There might
also be a lot of other apparent error reports (configure builds and
runs program fragments, often to look for things specific to certain
operating systems, and their absence will initially be recorded as
an error).

So, if you are using vim or less, open config.log and use the / key
to search (repeatedly), e.g.

/cannot compute suffix

or if spaces cause trouble

/cannot\ compute\ suffix

It will probably mention an error with your (lfs) gcc or binutils.

ĸen
-- 
Before the universe began, there was a sound. It went: "One, two, ONE,
two, three, four" [...] The cataclysmic power chord that followed was
the creation of time and space and matter and it does Not Fade Away.
 - wiki.lspace.org/mediawiki/Music_With_Rocks_In


-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to