Compile cGit 2.0.4
John Keeping
john at keeping.me.uk
Mon Aug 11 21:53:58 CEST 2014
On Mon, Aug 11, 2014 at 08:40:53PM +0100, Jorge Bastos wrote:
> Trying to compile cgit last git head cgit (2.0.4) to see if one charset
> problem is solved, but got this:
>
> Peixe:/usr/local/src/cgit/cgit# make
> SUBDIR git
> ./gen-version.sh: line 2: $'\r': command not found
> ./gen-version.sh: line 5: $'\r': command not found
> ./gen-version.sh: line 21: syntax error: unexpected end of file
> make[1]: *** No rule to make target `../VERSION', needed by `../cgit.o'.
> Stop.
> make: *** [cgit] Error 2
Do you have a weird CGIT_VERSION defined in your environment? The
string $'\r' doesn't appear in gen-version.sh so I don't understand
where that error can be coming from.
Alternatively do you have a weird (non-POSIX) /bin/sh? What operating
system are you using?
More information about the CGit
mailing list