I have been trying to compile a program that does analysis of eclipsing binary star photometry called phoebe. It has three parts. A library part, a scripting part and a GUI part. The first two compiled fine doing the usual ./configure, make, sudo make install but the gui part failed on the ./configure. The error being:
When I look at the config.log file I see this:
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
*** PHOEBE configuration failure ***
PHOEBE cannot find the graphical library GLib 2.6.0 or higher.
Please install it and run the ./configure script again.
I guess the configure is trying to invoke gcc compiler with a wrong parameter. Any ideas on what I can do to fix this?
configure:2632: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files