Red Hat Bugzilla – Bug 61955
configure failure: ORBit include files not detected
Last modified: 2014-03-16 22:26:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0; Linux; en_US, en)
Description of problem:
The more recent (rawhide) ORBit-devel packages have include files like orb/orbit.h in /usr/include/orbit-x.x instead of /usr/include.
The configure script does not find those include files. As a result the 'gnomexmms' applet can not be build.
The rpm build script stops when it can not find the gnomexmms applet.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /usr/src/redhat/SPECS
2. rpm -bb xmms.spec
3. wait for error message
4. go to /usr/src/redhat/BUILD/xmms-1.2.7
5. read config.log, search for 'applet-widget.h'
Actual Results: applet-widget.h needs orb/orbit.h and others which are not found. configure thinks applet-widget.h is not available as a result and does not build anything gnome-related.
Expected Results: include path should have been adjusted
Actually, the configure script checks /usr/bin/orbit-config and reads the CFLAGS and LIBS from that script. However, it fails to adjust its own internal CPPFLAGS, CFLAGS and CPP_FLAGS variables with the CFLAGS obtained from orbit-config.
The correct fix would be to adjust the configure script. Should be very easy. Look for the place where we call 'orbit-config' and append its output to CFLAGS, CPPFLAGS and CPP_FLAGS.
Fixed in rawhide; we aren't building the applet anymore since it's not ported to