Using the rpm .spec file to build jfsutils-1.0.11 fails in the
compilation stage (rh 7.1), though building manually works fine.
I've tracked the problem down to the following issue.  The initial
"./configure" ends with the warning message that config.h.in doesn't
exist, and the resulting config.h is empty (both ways).  When "make"
is then run manually, autoheader is run which creates the missing
config.h.in file, and then "CONFIG_FILES=config.h ./config.status"
is run which creates the config.h file with a bunch of necessary
defines, and the following compiles complete successfully.  But
when "make" is invoked from rpm, neither the autoheader command
nor the ./config.status command is run.  As a result the config.h
file remains empty and the subsequent compiles fail.  The actual
command that make invokes is "cd . && autoheader"; it is as if the
"cd ." failed running out of rpm so that autoheader wasn't run.

This is about as far as I can take it; the whole automake system
is horribly complicated for me to make sense of.  It does seem
strange to me though that the building of config.h takes place in
the makefile stanza for making the jfsutils.spec target.

Neil


_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to