Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Error when following the manual of DSL< Next Oldest | Next Newest >
belrpr Offline





Group: Members
Posts: 1
Joined: Jan. 2006
Posted: Jan. 12 2006,15:03 QUOTE

I hope someone here can help me figure it out.

I am running the DSL live cd to make my own dsl.
Everything went well until page 100.
There I should install the man package.
I started like I always did. Untar. Configure command etc.

Then there was an error that said /bin/sh bad interpreter: No such file or directory.

So I said k, man pages is not that bad so I continue to glibc

there I got the same error while giving the configure command.
Code Sample

../glibc-2.3.4/configure --prefix=/usr/ --disable-profile --enable-add-ons --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
bash: ../glibc-2.3.4/configure: /bin/sh: bad interpreter: No such file or directory

I am sure that I did:
Code Sample
ln -vs bash /tools/bin/sh

on on page 67

And I did
Code Sample
ln -sv bash /bin/sh

on page 80.

I couldn't think/find about something else that I could have done wrong.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 12 2006,15:53 QUOTE

Quote
ln -sv bash /bin/sh

First, in order for this command to work, it has to be done from within /bin.  If you're not in bin, the link will point to a non-existent file.
From another directory, the command should be:
Code Sample
ln -sv /bin/bash /bin/sh

Either way, DSL already has a /bin/sh symlink, so you shouldn't need to create one.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Jan. 12 2006,15:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Error when following the manual of DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code