[ELDK] ELDK 5.2.1 install script not working out of the box, need to run fromdos
Thomas Waldecker
Thomas.Waldecker at tqs.de
Thu Jul 12 09:18:34 CEST 2012
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
More information about the eldk
mailing list