Closed GoogleCodeExporter closed 9 years ago
On line 2 of gen_buildnum_h.sh I guess it tries loading ~/.bashrc, which is
nonexistent
on my computer.
Original comment by eddie.ri...@gmail.com
on 25 Apr 2009 at 7:17
Do you have Cygwin installed at least?
Original comment by steven.n...@gmail.com
on 25 Apr 2009 at 8:09
Yup.
Original comment by eddie.ri...@gmail.com
on 26 Apr 2009 at 3:18
It looks like your copy of gen_buildnum_h.sh has \r\n line endings for some
reason (not so in the repo).
dos2unix it and it should work fine.
Original comment by steven.n...@gmail.com
on 26 Apr 2009 at 5:15
Thanks, now it builds. However, it does give a few extra lines:
1>/cygdrive/d/dev/repos/git/inceku/contrib/crisscross/tools/gen_buildnum_h.sh:
line 7:
rev: command not found
1>/cygdrive/d/dev/repos/git/inceku/contrib/crisscross/tools/gen_buildnum_h.sh:
line 7:
rev: command not found
1>Is CrissCross under version control? No
This shouldn't cause any problems? Correct?
Original comment by eddie.ri...@gmail.com
on 26 Apr 2009 at 11:36
That DOES cause problems because buildnum.h is then BROKEN.
Install the util-linux package via the Cygwin installer.
Original comment by steven.n...@gmail.com
on 26 Apr 2009 at 2:21
Yep, that fixed it.
However, I don't think a Windows developer should have to install Cygwin in
order to
build, especially if it's not noted in the documentation. ;)
Original comment by eddie.ri...@gmail.com
on 26 Apr 2009 at 3:32
I agree. Go ahead and come up with a better solution, then. ;)
Original comment by steven.n...@gmail.com
on 26 Apr 2009 at 4:52
We now just require Perl (which you should have installed if you have Git
installed)
instead.
Original comment by neunon
on 11 Aug 2009 at 4:39
Original issue reported on code.google.com by
eddie.ri...@gmail.com
on 25 Apr 2009 at 7:07