This project is read-only.

DOS line endings (Can't compile on GNU/Linux)

Aug 10, 2016 at 3:56 AM
Hello folks!

First and foremost, thank you for your hacking in this wonderful project.

I tried to run on GNU/Linux and this is what I got:

bash: ./ /bin/sh^M: bad interpreter: No such file or directory

I downloaded several other tarballs from this website but the result was the same.

It took me some time to find out that all your files are saved with DOS line endings. I had to change them all to unix.

Maybe this has something to do with your current hosting?

Oct 15, 2016 at 2:27 PM
Edited Oct 17, 2016 at 11:50 AM
Hello Everyone,

I had the same problem too. I fixed it by typing the following

sed -i 's/\r//' '/home/user/pcsxr/'
sed -i 's/\r//' '/home/user/pcsxr/'
sed -i 's/\r//' '/home/user/pcsxr/'
sed -i 's/\r//' '/home/user/pcsxr/po/'

then run