Red Hat Bugzilla – Bug 230406
MakeMaker has perl.mak depending on non-existent /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/config.h'
Last modified: 2007-11-30 17:11:58 EST
Description of problem:
I tried to build git here, the build fails:
make: Entering directory `/home/vonbrand/tmp/git/perl'
make: *** No rule to make target
`/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/config.h', needed by
The generated perl.mak file (essentially a Makefile with funny name) contains
PERL_INC = /usr/lib/perl5/5.8.8/sparc-linux-thread-multi/CORE
CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
I don't see how this could ever have worked, as the $(CONFIGDEP) file doesn't
exist. Strangely, the same git does build OK on Aurora Linux (essentially an
oldish Fedora Core), with the exact same Makefile, where the referenced file
doesn't exist either.
I'm blaming perl as it is the only piece I think might be involved that changed
today, and before updating today the build went fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Do you have perl-devel installed? And if not, does installing that fix it?
This looks similar to the last few comments of bug #197841 - I suspect that
config.h got moved from perl to perl-devel with the new spec file for the perl
package review. (that's bug #226276)
No, perl-devel is not installed, installing it fixes this.
Perhaps MakeMaker (and other -devel stuff) should move over?
We're still trying to get perl-devel sorted out. Suggestions of what should move
into perl-devel would be GREATLY appreciated. :)
In perl 5.8.8-16 from 2007-03-28, MakeMaker wasmoved to a a separate subpackage:
And that package requires perl-devel which contains the .../CORE/config.h.
I believe that this change has fixed the issue.