This causes the tclpkg/Makefile to not set its PERL_INSTALL_DIR. As a result the perl section of the tclpkg/Makefile ends up as this;
-mkdir -p $(DESTDIR);
when it should be the value of (in my case);
-mkdir -p $(DESTDIR)/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE;
Fix:
So I tried changing this line in config_perl.pl;
if ($ARGV[0] eq "PERL_INSTALL_DIR") {
print "$Config{vendorarch}"
}
to
if ($ARGV[0] eq "PERL_INSTALL_DIR") {
$vendorarch = $Config{archlib};
print "$Config $vendorarch/CORE"
}
and that worked. I am not wise in perlology so don't know if that is the totally correct way of doing it.
Comments: [ellson] I can't reproduce this problem on Fedora. I get:
$ echo `perl config/config_perl.pl PERL_INSTALL_DIR`
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
which seems perfectly reasonable. (I don't think a CORE subdirectory is correct, but that isn't the primary problem here.)
What distribution are you using?
Was your perl installation part of the distribution, or was it built separately.
What version of perl?
Owner: ellson
Status: *