12 Jul 2012 09:18
ELDK 5.2.1 install script not working out of the box, need to run fromdos
Hi,
I am new to this list.
After downloading ELDK 5.2.1 from the ftpserver you have to do a fromdos install.sh:
tq <at> ubuntu:~$ wget ftp://ftp.denx.de/pub/eldk/5.2.1/install.sh
tq <at> ubuntu:~$ chmod u+x install.sh
tq <at> ubuntu:~$ ./install.sh
bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory
I consider this is a bug. Looks the script was saved with windows line endings.
After running fromdos it works as intended (ERROR is ok - only reproduced the behavior in the home
directory).
tq <at> ubuntu:~$ fromdos install.sh
tq <at> ubuntu:~$ ./install.sh
Error: target directory "./targets/powerpc" does not exist
Kind regards,
Thomas Waldecker
RSS Feed