View Single Post
Posts: 14 | Thanked: 13 times | Joined on Apr 2012
#18
Unfortunately I'm not sure why it claims your C compiler doesn't work. That's weird. Check this and this:
might want to run gcc-config to re set your C compiler, generally when you get this error is either due to broken CFLAGS or flat out not having the compiler in the expected path.
might need ldconfig also
I can only tell you that more trouble lies ahead. For me it configures okay after installing the libxcb-randr0 package and manually installing /usr/lib/pkgconfig/xcb-randr.pc and /usr/include/xcb/randr.h from the source of the appropriate version.

But I still get build errors:
Code:
make                                                                                 
make  all-recursive
make[1]: Entering directory `redshift-1.7'
Making all in src
make[2]: Entering directory `redshift-1.7/src'
Making all in gtk-redshift
make[3]: Entering directory `redshift-1.7/src/gtk-redshift'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `redshift-1.7/src/gtk-redshift'
make[3]: Entering directory `redshift-1.7/src'
  CC       redshift.o
In file included from redshift.c:61:
gamma-randr.h:33: error: expected specifier-qualifier-list before ‘xcb_randr_crtc_t’
make[3]: *** [redshift.o] Error 1
make[3]: Leaving directory `redshift-1.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `redshift-1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `redshift-1.7'
make: *** [all] Error 2
I started working on it last summer and gave up. Redshift's author was helpful then, so I've once more solicited his advice. Anyone here with insight is also welcome to chip in. Hoping to make some more progress on this.

Last edited by Doctor Colossus; 2013-07-08 at 23:45.
 

The Following 2 Users Say Thank You to Doctor Colossus For This Useful Post: