[Debichem-devel] Bug#652153: gnome-chemistry-utils: FTBFS: gcc: error: unrecognized option '-V'

peter green plugwash at p10link.net
Fri Jan 13 01:26:10 UTC 2012


 >Relevant part:
 >> gcc version 4.6.2 (Debian 4.6.2-6)
 >> configure:3718: $? = 0
 >> configure:3707: gcc -V >&5
 >> gcc: error: unrecognized option '-V'
 >> gcc: fatal error: no input files
 >> compilation terminated.
 >> configure:3718: $? = 4
 >> configure:3707: gcc -qversion >&5
 >> gcc: error: unrecognized option '-qversion'
 >> gcc: fatal error: no input files
 >> compilation terminated.
Doesn't look relavent to me, Just looks like configure probing about
to find out how to deal with  the compiler. In a configure script it's
NORMAL for some tests to fail. You have to look for the error
configure itself gave and then work back from there.

The real error is here
 >configure:18421: checking for chemical_mime_data
 >configure:18428: $PKG_CONFIG --exists --print-errors 
"chemical-mime-data >= 0.1.94"
 >configure:18431: $? = 0
 >configure:18445: $PKG_CONFIG --exists --print-errors 
"chemical-mime-data >= 0.1.94"
 >configure:18448: $? = 0
 >configure:18462: result: no
 >Package gnome-mime-data-2.0 was not found in the pkg-config search path.
 >Perhaps you should add the directory containing `gnome-mime-data-2.0.pc'
 >to the PKG_CONFIG_PATH environment variable
 >Package 'gnome-mime-data-2.0', required by 'chemical-mime-data', not found
 >configure:18478: error: Package requirements (chemical-mime-data >= 
0.1.94) were not met:
 >
 >Package gnome-mime-data-2.0 was not found in the pkg-config search path.
 >Perhaps you should add the directory containing `gnome-mime-data-2.0.pc'
 >to the PKG_CONFIG_PATH environment variable
 >Package 'gnome-mime-data-2.0', required by 'chemical-mime-data', not found
 >
 >Consider adjusting the PKG_CONFIG_PATH environment variable if you
 >installed software in a non-standard prefix.
 >Alternatively, you may set the environment variables 
chemical_mime_data_CFLAGS
 >and chemical_mime_data_LIBS to avoid the need to call pkg-config.
 >See the pkg-config man page for more details.

I know there is tension between manpower to get bugs filed and attention
paid to each bug but PLEASE if  you are going to file bugs for configure
errors learn to read config.log output and start from the end (just 
before the
variable dumps) not from the beginning.

Anyway getting back to the bug itself. The issue is that chemical-mime-data
lowered it's dependency on gnome-mime-data to a suggests. Normally in a
case like this I would cc the chemical-mime-data maintainers to ask for an
opinion on how best to fix this but it looks like they are the same 
people as
the gnome-chemistry-utils maintainers anyway.






More information about the Debichem-devel mailing list