Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi.
I'm getting errors while compilling Binutils-2.17 (+patches) for the first time. I've tried all ways to make it right. I think I'm making some trivial mistake, but I have no idea what is it. All sources are in $CLFS/souces (is this important?), all variables are set correctly.
I'm starting from $CLFS/sources/binutils-build. Configure is OK, but:
# make
Code:
...
make[3]: Entering directory `/mnt/linux/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/linux/sources/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/linux/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/linux/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/linux/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/linux/sources/binutils-build'
make: *** [all] Error 2
Always the same error. If needed I will add some more logs, but I think it is very common mistake. I'm using CLFS-Book 2.0 (svn), once with CLFS 1.0 I've made it without errors (as I remember I was using different location for sources). My system is Debian lenny
Are you sure that's the problem? binutils should just disable the info documentation if it doesn't find makeinfo. You shouldn't be getting make errors.
I have texinfo 4.11 install. I check by running:
makeinfo --version
I compiled texinfo from source using:
./configure --prefix=/usr
make
make install
I'm now trying to install binutils 2.18 from source. The configure works:
../binutils-2.18/configure --prefix=/usr
but when I run "make" I get the following error:
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/home/admin/binutils-obj/bfd/doc'
Making info in po
make[3]: Entering directory `/home/admin/binutils-obj/bfd/po'
I scrolled up 20 or 30 lines and saw this warning. But I have makeinfo on my system.
makeinfo --version
returns 4.11
I installed texinfo before binutils by running
./configure --prefix=/usr
make
make install
Am I missing a part of the makeinfo install process?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.