r/linuxfromscratch • • Aug 25 '15

Can't compile binutils 2.24, chapter 5.4, version 7.5

hello everybody: I'm trying to build linux from scratch but I'm stuck on first compilation. I did everything as it requested and launched configured. then I write command make and it says that: make: *** No targets. Stop. Makefile is empty This is configure output: http://pastebin.com/e36fG5My and this is my version-check.sh: http://pastebin.com/GWKuxrDZ

can anybody help me?

4 Upvotes

13 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Aug 26 '15

maybe checkout if something of this thread applies to you:
http://comments.gmane.org/gmane.linux.lfs.beyond.support/45842

this is my /mnt/lfs dir (all files inside these 2 dirs should have lfs as owner & group):
drwxrwxrwt 7 lfs root 4,0K sources
drwxr-xr-x 8 lfs root 4,0K tools

after my configure command I get 4 files in binutils-build:
-rw-r--r-- 1 lfs lfs 376K Makefile
-rw-r--r-- 1 lfs lfs 26K config.log
-rwxr-xr-x 1 lfs lfs 32K config.status
-rw-r--r-- 1 lfs lfs 13 serdep.tmp

you could check if - except for the Makefile of course - configure does the same for you (pay attention to ownership,group and permissions). check the contents of your config.log against mine:

this is my config.log: http://pastebin.com/nFAkW20F

1

u/glukosio Aug 26 '15

I think I've solved!! :D My config log was identical to your, so I've read the thread and the guy solved reinstalling gawk. I reinstalled it and it just worked! :D Thank you again!! you made my day! :)

2

u/[deleted] Aug 26 '15 edited Aug 26 '15

Nice! Good luck with the rest of the guide, I think in your case the hardest part is done :)

1

u/glukosio Aug 26 '15

I hope so!! ;)