LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-27-2011, 07:30 PM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 444

Rep: Reputation: Disabled
Book 6.8 -6.42- Installing Gettext


I'm getting this error during the make check.

PHP Code:
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  --O2   -o msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o libgettextsrc.la  -lm  
libtool
linkcannot find the library `/mnt/lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib/libgettextlib.la' or unhandled argument `/mnt/lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib/libgettextlib.la'
make[3]: *** [msgcmp] Error 1
make[3]: Leaving directory `/sources/gettext-0.18.1.1/gettext-tools/src'
make[2]: *** [checkError 2
make
[2]: Leaving directory `/sources/gettext-0.18.1.1/gettext-tools/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory 
`/sources/gettext-0.18.1.1/gettext-tools
make
: *** [check-recursiveError 1
root
:/sources/gettext-0.18.1.1# ^C
root:/sources/gettext-0.18.1.1

Of course I already check to make sure the actual file is there. Any ideas?
 
Old 09-28-2011, 12:43 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

You say you are doing chapter 6.42, but I do see the following: /mnt/lfs/sources/gettext-0.18.1.1/gettext-tools/gnulib-lib/libgettextlib.la.

$LFS (/mnt/lfs) isn't used any more once you start chapter 6 (from 6.4 - Entering the Chroot Environment onward) .

I'm not sure how that got in there and why it shows up this far into chapter 6, but that is the problem you need to solve.

Hope this helps.
 
Old 09-28-2011, 06:25 AM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 444

Original Poster
Rep: Reputation: Disabled
really? thats odd.

well then I guess I'll just skip it and move on.
 
Old 09-28-2011, 06:34 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,
Quote:
Originally Posted by mreff555 View Post
well then I guess I'll just skip it and move on.
Skip it? Don't you want to fix the problem?
 
Old 09-29-2011, 06:38 AM   #5
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 444

Original Poster
Rep: Reputation: Disabled
I guess I'm misunderstanding the previous post. I thought it wasn't used anymore.
 
Old 09-29-2011, 07:06 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

I was talking about $LFS. It ($LFS) is used up to chapter 6.4. In chapter 6.4 you enter the chrooted environment, which eliminates the /mnt/lfs part.

Although I don't know how, I'm guessing you provided it yourself somewhere down the line. You either set and used LFS or provided /mnt/lfs by hand.

Hope this helps.
 
Old 09-29-2011, 04:13 PM   #7
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 444

Original Poster
Rep: Reputation: Disabled
Whoops, my bad I must have configured it in the wrong terminal.

regardless I started get again from scratch. I'm still getting one error

PHP Code:
SKIPxgettext-glade-1
Skipping test
xgettext was built without Glade support
SKIP
xgettext-glade-2
Skipping test
xgettext was built without Glade support
SKIP
xgettext-glade-3
xgettext
Language "glade" is not supportedxgettext relies on expat.
          
This version was built without expat.
FAILxgettext-glade-
I installed expat and I still run in to the same problems. I just did the default config for expat. Do I need to specify where the libraries are?
 
Old 09-29-2011, 09:40 PM   #8
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 444

Original Poster
Rep: Reputation: Disabled
Arrrrggggg.....

So the expat libraries are in /usr/local/lib
Code:
root:/sources/gettext-0.18# ls /usr/local/lib/
libexpat.a  libexpat.la  libexpat.so  libexpat.so.1  libexpat.so.1.5.2
I removed the build directory completely, re-extracted and used the following syntax for the config.

Code:
./configure --prefix=/usr --docdir=/usr/share/doc/gettext-0.18.1.1 --with-libexpat-prefix=/usr/local/lib
and I'm still getting the exact same error.

Code:
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-1
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-2
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-3
xgettext: Language "glade" is not supported. xgettext relies on expat.
          This version was built without expat.
FAIL: xgettext-glade-4
Any suggestions?

Thanks
 
Old 09-30-2011, 01:00 AM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

Quote:
I installed expat and I still run in to the same problems. I just did the default config for expat.
Expat isn't build in LFS. It is part of BLFS, but you do not need it to build LFS. Why did you decide to build it and how did you build it?

I never encountered this error myself while building LFS 6.8 (yes, I do run the tests). Are you sure you didn't make any typo's/mistakes in any of the previous steps/chapters?

Although I'm not sure what else you added/changed: If the expat/glade test error is the only error you get I would continue.

BTW: If you need to add/change the options given in the book then something is wrong. Either the package you are currently building didn't go as planned or on of the previous packages didn't.
Adding/changing stuff might solve the problem at hand, but it might also get you into trouble later on during the build!

Hope this helps.
 
  


Reply

Tags
gettext, lfs


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
Installing Linux on mac book pro8,1 Hemant69 Linux - Laptop and Netbook 1 07-26-2011 03:05 AM
installing Debian on note book PC hasanceecy Linux - Laptop and Netbook 1 04-13-2007 12:13 PM
Installing Gentoo - A By-the-book Failure indienick Linux - Distributions 9 08-24-2006 11:22 AM
trouble installing Gettext solarcontrol Linux - Software 0 01-30-2005 07:05 AM
Installing gcc-3.2.1, book 4.1, Ch 5. vs. Ch 6 itsjustme Linux From Scratch 7 07-22-2003 10:47 PM


All times are GMT -5. The time now is 09:38 PM.

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