LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-09-2002, 07:23 AM   #1
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
problem with Glibc-2.2.5 in Ch 6


i got this error with the make command while installing glibc

linux:/mnt/lfs/usr/src/glibc-build # echo "cross-compiling = no" > configparms
linux:/mnt/lfs/usr/src/glibc-build # make
make: *** No targets specified and no makefile found. Stop.
linux:/mnt/lfs/usr/src/glibc-build #


can anyone help me plz
i have tried to redownload the glibc package and reinstall but i also got this error
 
Old 09-09-2002, 08:10 AM   #2
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Rep: Reputation: 15
Try to get rid of both glibc-2.2.5 AND glibc-build then redownload it again.

By the way, you should keep an extra copy for every packages so you don't have to redownload everytime.
 
Old 09-09-2002, 08:43 AM   #3
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
i tried it my friend

but i found that the problem was from the command before the make which is

../glibc-2.2.5/configure --prefix=/usr --enable-add-ons --libexecdir=/usr/bin

it tolds me the following error :

linux:/mnt/lfs/usr/src/glibc-build # ../glibc-2.2.5/configure --prefix=/usr \
> ���--enable-add-ons --libexecdir=/usr/bin
configure: warning: ���--enable-add-ons: invalid host type
loading cache ./config.cache
checking host system type... Invalid configuration `���--enable-add-ons': machine `���--enable-add' not recognized
*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen. So, if you have interest to see glibc on
*** this platform visit
*** http://www.gnu.org/software/libc/porting.html
*** and join the group of porters
linux:/mnt/lfs/usr/src/glibc-build #
 
Old 09-09-2002, 10:05 AM   #4
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Rep: Reputation: 15
All right. Here are what you need to do:

1. discard the folder glibc-build

2. replace glibc-2.2.5 with a new copy.

3. copy the file glibc-linuxthreads-tar.bz2 into the folder glibc-2.2.5.

4. open (bzczt *bz2 | tar xv ) that file. You will see two new folders ( linuxthreads and linuxthreads.db ) inside the directory glibc-2.2.5.

5. reinstall glibc-2.2.5.

You should read the book again and again; since everytime you miss something, it will end up in a failure/error.
 
Old 09-09-2002, 06:33 PM   #5
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
ok

thanx alot my friend
it was from the glibc-linuxthreads files

but can u tell me where is the " | " key on the keyboard
 
Old 09-09-2002, 07:42 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
On a standard US win keyboard, it's just above the Enter key, you have to hold Shift and click it.

And it's called a "pipe".

Cool
 
Old 09-09-2002, 08:16 PM   #7
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
yahoooooooooooooo


|||||| o ||||||

thanx my friend

i was really getting nastying trying to fing this symbol

|o|
 
Old 09-10-2002, 06:38 PM   #8
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
The pipe takes the output of the first command and inputs it to the second command.... just so you know.

try bzcat <file.bz2>, and you'll see a bunch of crap go by really quick. That is what is going to the input of tar -xv

A little shorter command is tar -jxvf <file.bz2> , the "j" option does the bzcat stuff for you
 
  


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 installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM

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

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

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