LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 08-07-2007, 02:01 PM   #1
m4mach
Member
 
Registered: Jul 2007
Location: Poland
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Problem compiling binutils


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

Last edited by m4mach; 08-07-2007 at 02:26 PM.
 
Old 08-07-2007, 04:33 PM   #2
m4mach
Member
 
Registered: Jul 2007
Location: Poland
Distribution: Debian
Posts: 45

Original Poster
Rep: Reputation: 15
I didn't have makeinfo, this caused errors. Sorry for dummy thread
 
Old 08-07-2007, 07:56 PM   #3
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 08-08-2007, 09:22 AM   #4
m4mach
Member
 
Registered: Jul 2007
Location: Poland
Distribution: Debian
Posts: 45

Original Poster
Rep: Reputation: 15
Yes I'm sure. I had installed texinfo package and the problem has disapeared
 
Old 09-18-2007, 12:23 AM   #5
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Rep: Reputation: 31
similar problem with 2.18

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:

make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/admin/binutils-obj/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/admin/binutils-obj'
make: *** [all] Error 2


Any ideas? What is info-recursive? is it something I need to install; if so how?
 
Old 09-18-2007, 05:24 AM   #6
m4mach
Member
 
Registered: Jul 2007
Location: Poland
Distribution: Debian
Posts: 45

Original Poster
Rep: Reputation: 15
You have to read a few lines earlier (before this error is shown), there is usually something about the reason of error. And read the config log file

Last edited by m4mach; 09-18-2007 at 05:29 AM.
 
Old 09-18-2007, 09:53 AM   #7
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Rep: Reputation: 31
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?
 
Old 09-18-2007, 10:18 AM   #8
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Rep: Reputation: 31
installing version binutils 2.17 works but not 2.18
 
Old 11-13-2007, 04:33 AM   #9
brislex
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Install flex and bison

I had the same error (on Ubuntu) and installed the texinfo, flex and bison packages.

These resolved an error that appeared cosmetically similar to what was described.

This was done on binutils 2.18
 
Old 11-13-2013, 05:20 PM   #10
romerorg
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
If you do not want to install texinfo make like this

make MAKEINFO=true
make install MAKEINFO=true

https://sourceware.org/bugzilla/show_bug.cgi?id=15345
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with compiling the binutils MabFan Linux From Scratch 0 07-31-2007 11:28 AM
errors while compiling binutils 2.16.1 sharathg786 Linux From Scratch 4 05-14-2007 04:32 AM
Compiling Binutils on FC6, with bison en flex installed DeJoos Linux From Scratch 2 02-05-2007 10:44 AM
Issue compiling binutils for the 2nd time crookt Linux From Scratch 2 03-26-2006 12:30 PM
almost finishied compiling binutils peok Linux From Scratch 2 10-14-2004 08:55 AM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration