bash: ÿ#!/bin/sh: on ubuntu
Posted on 2009-04-28
I am a newbie to linux
I have installed ubuntu on my PC
I tried to run this command i got an error
user@PC1:~/mapnik$ source set-mapnik-env
bash: ÿ#!/bin/sh: No such file or directory,
someone told me: "Your error message is probably because it doesnt understand source "
another one told me:"Your Linuxseems to be missing the shell. On most distros this
is just a symlink to /bin/bash.
You have 3 options at this point.
a) Install sh
b) symlink /bin/bash to /bin/sh (quite safe, because bash can do
everything sh can, and will even behave more like sh when called as /bin/sh)
c) edit all the shellscripts in mapnik to use #!/bin/bash in the first
line instead of #!/bin/sh
still i didnt understand how to fix the problem
please ask for more details if u like