Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002147graphvizBuild/Installpublic2011-10-18 13:132011-10-19 14:09
Reporterenchanter 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx86_64-sun-solaris2.10OSSolarisOS Version2.10
Summary0002147: config_perl.pl doesn't verify that vendorarch is valid, causing incorrect install for perl bits
DescriptionBuilding graphviz 2.28.0 on x86_64-sun-solaris2.10 with the no-cost Oracle/Sun Workshop compilers.

graphviz's config/config_perl.pl assumes that $Config{vendorarch} is going to be defined and valid, always. That's generally true when using recent perl that was packaged by a vendor, but it's likely not true if you're using an older version of perl or you compiled and installed perl yourself.

Additionally, I'm not certain if it makes sense for the default location to be the "vendor" area. It might make more sense for the default to be "site", rather than vendor. Of course, vendors that are packaging perl would then need to adjust.

Finally, shouldn't config_perl.pl be using the "installvendorarch" (or "installsitearch") location, rather than the "vendorarch" (or "sitearch") location?
Steps To Reproduceconfigure graphviz 2.28.0 on a system that has a locally-installed perl, or on an older UNIX or Linux distro that has a perl that predates the notion of "vendor" directories.
Additional InformationAttached patch tries several locations (continuing to default to the *vendor* area) to make certain that it uses a key that is defined and has a non-empty value. It does switch the behavior to prefer the "install*" key, falling back to the direct location if the install* key is not set.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.28.0
Attached Filespatch file icon graphviz-2.28.0-perl-install-lib.patch [^] (496 bytes) 2011-10-18 13:13 [Show Content]

- Relationships

-  Notes
User avatar (0000091)
ellson (administrator)
2011-10-19 14:09

patch applied - many thanks

- Issue History
Date Modified Username Field Change
2011-10-18 13:13 enchanter New Issue
2011-10-18 13:13 enchanter File Added: graphviz-2.28.0-perl-install-lib.patch
2011-10-19 14:09 ellson Note Added: 0000091
2011-10-19 14:09 ellson Status new => closed
2011-10-19 14:09 ellson Assigned To => ellson
2011-10-19 14:09 ellson Resolution open => fixed


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker