Bug 472135

Summary: something wrong in perl configuration
Product: [Fedora] Fedora Reporter: Andrea Santilli <sacntct>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: kasal, mmaslano, rc040203, robin.norwood, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-19 14:47:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
detailed perl configuration none

Description Andrea Santilli 2008-11-18 22:08:05 UTC
Description of problem:
the perl package reports a wrong configuration. i noticed this problem while rebuilding an rpm.
perl shows the following the paths, which are wrong:

$ perl -V:sitearchexp
sitearchexp='/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi';

$ perl -V:sitearch
sitearch='/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi';

$ perl -V:sitelibexp
sitelibexp='/usr/local/lib/perl5/site_perl/5.10.0';

$ perl -V:sitelib
sitelib='/usr/local/lib/perl5/site_perl/5.10.0';

but the prefix variable is right:

$ perl -V:prefix
prefix='/usr';

Version-Release number of selected component (if applicable):
perl-5.10.0-38.fc9.i386

Comment 1 Andrea Santilli 2008-11-19 07:33:12 UTC
Created attachment 324008 [details]
detailed perl configuration

here attached is the output of perl -V:.*

Comment 2 Ralf Corsepius 2008-11-19 10:53:12 UTC
(In reply to comment #0)
> Description of problem:
> the perl package reports a wrong configuration. i noticed this problem while
> rebuilding an rpm.
> perl shows the following the paths, which are wrong:
What makes you think these are wrong?

Comment 3 Marcela Mašláňová 2008-11-19 11:48:39 UTC
I suppose you run your local build perl and then is the path ok. It should be in /usr/local.

Comment 4 Ralf Corsepius 2008-11-19 14:13:54 UTC
(In reply to comment #3)
> I suppose you run your local build perl and then is the path ok.
I guess, no, the OP did not build a local perl, because the paths in Fedora's perl point to /usr/local

> It should be in /usr/local.
IIRC, since a change from Stephan K., are supposed to point to /usr/local, to reflect the fact Fedora doesn't ship any site* packages.

Comment 5 Stepan Kasal 2008-11-19 14:47:13 UTC
(In reply to comment #4)
> IIRC, since a change from Stephan K., are supposed to point to /usr/local, to
> reflect the fact Fedora doesn't ship any site* packages.

... and that modules istalled directly from CPAN often go to sitelib, so it is appropriate to have sitelib under /usr/local, with other site-specific software.

To sum up, the change was intentional.

Comment 6 Andrea Santilli 2008-11-19 18:17:36 UTC
Ok, I thought that making it point to /usr/local was wrong, since some times ago it used to point to /usr.

sorry, my mistake and thank you very much for replying quickly :)