From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708
Description of problem:
While attempting to recompile unixODBC on a RH ES 3 system it errored with the
following message :
checking for gethostbyname in -lnsl... yes
checking for X... configure: error: Can't find X includes. Please check your
installation and add the correct paths!
error: Bad exit status from /var/tmp/rpm-tmp.82172 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.82172 (%build)
To resolve this, I used the up2date command to download and install the
XFree86-devel-4.3.0-35.EL rpm and then tryed to compile again, this time
sucessfully. I would suggest that adding XFree86-devel to the BuildPrereq within
the unixODBC.spec file would be an ideal solution:
BuildPrereq: kdelibs-devel qt-devel libmng-devel XFree86-devel
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get ES 3 system without XFree86-devel installed
2. download and install the unixODBC src rpm for RH ES 3
3. attempt to recompile from source.
Suggestion accepted. Thanks. It will be in the next release.