tig icon indicating copy to clipboard operation
tig copied to clipboard

Compile error

Open sarices opened this issue 12 years ago • 5 comments

make: *** [src/watch.o] Error 1

sarices avatar Sep 19 '14 03:09 sarices

Please provide more information, such as the was OS you are using and the version of tig your are trying to compile. To know what the compile error is, please provide the output of make V=1 clean all.

jonas avatar Sep 19 '14 11:09 jonas

OS:

CentOS release 6.4 (Final) Linux fox 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

compile error info detail:

./config.status config.h config.status: creating config.h config.status: config.h is unchanged CC src/watch.o src/watch.c: In function ‘watch_no_refresh’: src/watch.c:157: error: ‘REFRESH_MODE_MANUEL’ undeclared (first use in this function) src/watch.c:157: error: (Each undeclared identifier is reported only once src/watch.c:157: error: for each function it appears in.) make: *** [src/watch.o] Error 1

sarices avatar Sep 19 '14 16:09 sarices

Looks like you are compiling tig-2.0. Due to a last minute rename that release didn't compile. Please use tig-2.0.3: http://jonas.nitro.dk/tig/releases/tig-2.0.3.tar.gz

See #283.

jonas avatar Sep 20 '14 16:09 jonas

thx~

sarices avatar Sep 22 '14 09:09 sarices

You are welcome.

jonas avatar Sep 23 '14 01:09 jonas