Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.005_63: sitelib doc mismatch #941

Closed
p5pRT opened this issue Dec 13, 1999 · 3 comments
Closed

5.005_63: sitelib doc mismatch #941

p5pRT opened this issue Dec 13, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 13, 1999

Migrated from rt.perl.org#1886 (status was 'resolved')

Searchable as RT1886$

@p5pRT
Copy link
Author

p5pRT commented Dec 13, 1999

From @sciurius

The INSTALL document says that $sitelib is
$prefix/lib/perl5/site_perl by default, but after

sh Configure -des -Dprefix=/usr -Dinstallprefix=$RPM_BUILD_ROOT/usr -Darchname=${RPM_ARCH}-linux -Dd_dosuid

it turns out to be $prefix/lib/site_perl instead.

Perl Info

@p5pRT
Copy link
Author

p5pRT commented Dec 14, 1999

From @doughera88

On Tue, 14 Dec 1999, Johan Vromans wrote​:

The INSTALL document says that $sitelib is
$prefix/lib/perl5/site_perl by default, but after

sh Configure -des -Dprefix=/usr -Dinstallprefix=$RPM_BUILD_ROOT/usr -Darchname=${RPM_ARCH}-linux -Dd_dosuid

it turns out to be $prefix/lib/site_perl instead.

Ouch. I see where the offending line in Configure is. I'm pretty
sure I want to follow INSTALL here and change Configure, but I have a
nagging feeling there was something else going on too. I'd
better go back and check to make sure there wasn't another reason
for this that just escapes me at the moment. If anyone else can jog
my memory or point me at the appropriate place in the archives, I'd
appreciate it.

  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

@p5pRT
Copy link
Author

p5pRT commented Dec 22, 1999

From @doughera88

On Tue, 14 Dec 1999, Andy Dougherty wrote​:

On Tue, 14 Dec 1999, Johan Vromans wrote​:

The INSTALL document says that $sitelib is
$prefix/lib/perl5/site_perl by default, but after

sh Configure -des -Dprefix=/usr -Dinstallprefix=$RPM_BUILD_ROOT/usr -Darchname=${RPM_ARCH}-linux -Dd_dosuid

it turns out to be $prefix/lib/site_perl instead.

Ouch. I see where the offending line in Configure is. I'm pretty
sure I want to follow INSTALL here and change Configure, but I have a
nagging feeling there was something else going on too. I'd
better go back and check to make sure there wasn't another reason
for this that just escapes me at the moment. If anyone else can jog
my memory or point me at the appropriate place in the archives, I'd
appreciate it.

Well, staring at it again a week later, it still looks wrong, so here's
the patch to fix Configure to match up with INSTALL.

Thanks for spotting this.

  Andy Dougherty doughera@​lafayette.edu

Inline Patch
--- perl/Configure	Fri Dec 10 14:43:44 1999
+++ andy/Configure	Wed Dec 22 14:19:29 1999
@@ -6778,7 +6783,7 @@
 : XXX No longer works with Prefixit stuff.
 prog=`echo $package | $sed 's/-*[0-9.]*$//'`
 case "$installstyle" in
-*lib/perl5*) dflt=$siteprefix/lib/site_$prog ;;
+*lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog ;;
 *)	 dflt=$siteprefix/lib/site_$prog ;;
 esac
 $cat <<EOM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant