Error when following the manual of DSL


Forum: Other Help Topics
Topic: Error when following the manual of DSL
started by: belrpr

Posted by belrpr on Jan. 12 2006,15:03
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.

Posted by mikshaw on Jan. 12 2006,15:53
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.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.