Open main menu

CDOT Wiki β

Changes

Mouse Lock Implementation FAQ

No change in size, 08:38, 2 November 2011
How do I resolve the windows line ending error when trying to build FireFox?
For more information, this is the error I get.
<pre>
client.mk:121: *** This source tree appears to have Windows-style line endings. To convert it to Unix-style line endings, run "python mozilla/build/win32/mozilla-dos2unix.py". Stop.
</pre>
The python code will not work because it's trying to look for a CVS directory that does not exist in the mozilla-central folder.
'''Answer''': This happens because the default setting for msys git on Windows is to checkout files with CRLF line endings. To fix this, you need to reinstall msys git and when you do, choose option 2 here http://help.github.com/images/bootcamp/bootcamp_1_win_install_7.jpg. Once you've reinstalled msys git, you need to checkout the repository with the correct LF line endings with the following commands: git ls-files -z | && xargs -0 rm git checkout .
1
edit