If you're using MSYS 1.0.10 (but not 1.0.11), you may get the following errors during GTK+ compilation:
gcc.exe: : No such file or directory
This happens when Makefile contains bytes of hexadecimal value 0x01. In this case, you can open the offending Makefile in vim, find every instance of ^A and manually delete them. However, locating and deleting every 0x01 from every Makefile can be a tedious task. The following steps will quickly fix this problem.
Create a script with the following contents and save it as /bin/trd001.sh.
#!/bin/sh
tr -d '\001' < $1 > /tmp/temp.txt
cp /tmp/temp.txt $1
Then, run the following command to find every Makefile and delete 0x01 from it:
find -iname Makefile -exec /bin/trd001.sh \{\} \;
No comments:
Post a Comment