Number: 1669
Title: graphviz-2.24.0 creates gv.pm and gv.so symlinks in /root
Submitter: Dennis Veatch
Date: Fri Jun 19 18:03:06 2009
Subsys: Tcl/Tk utilities
Version: 2.24.0
System: x86-Unix-2.6.30
Severity: minor
Problem:
There seems to be a problem with the last part of the config/config_perl.pl script. The PERL_INCLUDES and PERL_LIBS get set correctly with ./configure but PERL_INSTALL_DIR remains empty.

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: *