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 01-11-2011, 11:12 PM   #1
SoupFlies
LQ Newbie
 
Registered: Jan 2011
Distribution: Maverick Ubuntu
Posts: 5

Rep: Reputation: 0
Post LFS 6.7 6.20 Util-Linux-ng-2.18 Error on make.


I have been working along and have finally come an error that I am unable to solve myself. I have no clue what this error means, or how to work with it. I have tried the build 3 times just to be sure I did not mess up a command somewhere, any help, or pointers would be greatly appreciated!

Code:
make[2]: Leaving directory `/sources/util-linux-ng-2.18/misc-utils'
Making all in po
make[2]: Entering directory `/sources/util-linux-ng-2.18/po'
test -z "ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo hu.gmo id.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo" || make ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo hu.gmo id.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory `/sources/util-linux-ng-2.18/po'
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
: --update ca.po util-linux-ng.pot
rm -f da.gmo && : -c --statistics -o da.gmo da.po
: --update de.po util-linux-ng.pot
mv: cannot stat `t-da.gmo': No such file or directory
make[3]: *** [da.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv: cannot stat `t-cs.gmo': No such file or directory
make[3]: *** [cs.gmo] Error 1
: --update et.po util-linux-ng.pot
rm -f es.gmo && : -c --statistics -o es.gmo es.po
mv: cannot stat `t-es.gmo': No such file or directory
make[3]: *** [es.gmo] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/util-linux-ng-2.18'
make: *** [all] Error 2
 
Old 01-12-2011, 02:44 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Haven't seen this one before.

This line looks out of place: make[3]: *** Waiting for unfinished jobs....

Are you setting the CFLAGS and CXXFLAGS options or, more probable, a MAKEFLAGS="-j X" option where X is larger then 2? If so unset CFLAGS and CXXFLAGS and set MAKEFLAGS to -j 2.

Hope this helps.
 
Old 01-13-2011, 03:32 AM   #3
SoupFlies
LQ Newbie
 
Registered: Jan 2011
Distribution: Maverick Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Well that did help a little, I didn't realize I had set my flags to 4 (tired mistake I suppose) But I still receive an error much like the original, yet still quite different, I hope you can shed a little light on this guy, it seems to be a little bit more clean.
Code:
make[3]: Entering directory `/sources/util-linux-ng-2.18/po'
: --update ca.po util-linux-ng.pot
rm -f ca.gmo && : -c --statistics -o ca.gmo ca.po
mv: cannot stat `t-ca.gmo': No such file or directory
make[3]: *** [ca.gmo] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/util-linux-ng-2.18'
make: *** [all] Error 2
 
Old 01-13-2011, 03:44 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Did you fully remove the util-linux-ng-2.18 directory before your retry?

Also: I just noticed you had another problem and I'm not sure if that one was fixed. I really doubt if the stated solution (post #2 of that thread) works. In general: If you have to change the commands in the book (or have to add other commands) to make it work: Something is wrong!

Hope this helps.
 
Old 01-13-2011, 03:55 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
t-ca.gmo'

It seems that everything is refering to "gettext"
gettext run time

http://forum.videolan.org/viewtopic....=12446&start=0
http://www.mail-archive.com/fink-beg.../msg20606.html
http://news.gmane.org/group/gmane.os...ion=--Action--

Last edited by EDDY1; 01-13-2011 at 03:57 AM.
 
Old 01-13-2011, 04:16 AM   #6
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

EDDY is probably right. I very faintly remember running into a similar problems. IIRC then it was a problem with gettext package that somehow was not properly installed in my toolchain.
You should check your toolchain if this package is correctly installed.
 
Old 01-13-2011, 05:44 AM   #7
SoupFlies
LQ Newbie
 
Registered: Jan 2011
Distribution: Maverick Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Well I am quite unsure of exactly what to do then, I found gettext on page 83 and I figured I could install it as per the instructions? But I am unsure if this is the correct route. Could I please get some guidance in the route to take?
 
Old 01-13-2011, 06:00 AM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by SoupFlies View Post
Well I am quite unsure of exactly what to do then, I found gettext on page 83 and I figured I could install it as per the instructions? But I am unsure if this is the correct route. Could I please get some guidance in the route to take?
Ok,

it has been a while since I had to troubleshoot a messed up toolchain. So let's take small steps. First of all, post which host system you are using. If you are using the liveCD then you will have to recreate user lfs first.

[EDIT]
It is very important that you make a backup of your toolchain first, just in case something goes wrong. After that you can recreate user lfs and then change owner of $LFS/tools to user lfs.

On second thoughts, it should be possible to simply install gettext right now. All the dependencies should be satisfied by the toolchain.

Last edited by crts; 01-13-2011 at 06:12 AM.
 
Old 01-13-2011, 07:13 AM   #9
SoupFlies
LQ Newbie
 
Registered: Jan 2011
Distribution: Maverick Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
so just fully install gettext without any configure, is that what you mean?
 
Old 01-13-2011, 09:28 AM   #10
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by SoupFlies View Post
so just fully install gettext without any configure, is that what you mean?
I mean to install it in the chrooted environment, not correcting the toolchain. According to this
http://www.linuxfromscratch.org/lfs/...endencies.html

it should be ok. Correcting a corrupted toolchain is not a trivial task. So I would try to install gettext first and leave the toolchain "broken". If gettext installs on the system ok there won't be any need to have it in the toolchain, too. However, I have never tried it. Both options yield risks. Worst case scenario you will have to start building your toolchain from scratch.
 
  


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
LFS version 6.5, chapter 6.19 util-linux-ng-2.16 lunatik3904 Linux From Scratch 1 05-18-2010 02:51 PM
LFS version 6.5, chapter 6.19 util-linux-ng-2.16 lunatik3904 Linux - Distributions 0 05-18-2010 01:21 PM
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b arougen02 Linux From Scratch 5 03-19-2008 02:15 PM
lfs:/mnt/lfs/sources/util-linux-2.12r$ cp -v mount/{,u}mount text-utils/more /tools/b arougen02 Linux - Newbie 2 03-16-2008 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration