Number: 1669
Title: graphviz-2.24.0 creates and 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
There seems to be a problem with the last part of the config/ 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;

So I tried changing this line in;

if ($ARGV[0] eq "PERL_INSTALL_DIR") { print "$Config{vendorarch}" }


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/ PERL_INSTALL_DIR`

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