Red Hat Bugzilla – Bug 116406
Error Getting SPEC2000 to compile
Last modified: 2007-11-30 17:07:00 EST
* reported by customer
* RHEL3-U1 on s390
"We can't get spec to compile. This worked previously on EL3, but we
now have update 1 and it does not seem to work. Is there something we
need to do that is obvious?"
See attachment for listing of spec compile session ...
Created attachment 97881 [details]
text of compile session
I was able to reproduce the bug only on s390 under RHEL3 udpate 1.
It looks like Berkley DB has version 2 when SPEC2000 was written.
This version contained definition of DB_INFO (in file db.h). RHEL3
uses DB version 4. DB_INFO was removed since DB version 3.
SPEC2000 contains obsolete code (in file
typedef DB_INFO INFO;
It should be
The reason why other platforms (I've tried x86_64) has no such
problem is in that perl5.005_03/Configure can not find a Berkley db
library (it searches for db.a liddb.a libdb.so libdb_s.a in /lib
/usr/lib /usr/local/lib) therefore the symbol db_version is unresolved
by linker and Configure script switches off usage of Berkley DB.
On s390 under RHEL3 (update 1) the script finds libdb.so in
/usr/lib. RHEL3 without update has only libdb-4.1.so. It can not be
found by the SPEC perl script. If it succeeded, RHEL3 without update
had the same problem.
So the real problem is in the SPEC2000 obsolete code. To fix the
problem you should use the correct code mentioned above.
I have notified the programmer who compiles and runs the SPEC2000
with this update.
So closing as not a tools bug.