[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[ID 20000129.001] MakeMaker: PREFIX= doesn't set INSTALLSITELIB



This is a bug report for perl from simon@othersideofthe.earth.li,
generated with the help of perlbug 1.27 running under perl 5.00561.


-----------------------------------------------------------------
[Please enter your report here]

As noticed by a user on #perl earlier, the FAQ's advice of running

% perl Makefile.PL PREFIX=~/plib

(or whatever) to set up a local modules directory fails on some modules
since the generated Makefile does not correctly prexify INSTALLSITELIB
and INSTALLSITEARCH

For example, from Net::Finger:

PREFIX = /tmp
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib/5.00561
INSTALLARCHLIB = $(PREFIX)/lib/5.00561/i686-linux
INSTALLSITELIB = /usr/local/lib/site_perl
INSTALLSITEARCH = /usr/local/lib/site_perl/5.00561/i686-linux
INSTALLBIN = $(PREFIX)/bin


[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00561:

Configured by simon at Tue Nov 23 16:27:13 JST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 61) configuration:
  Platform:
    osname=linux, osvers=2.3.27, archname=i686-linux
    uname='linux othersideofthe.earth.li 2.3.27 #4 smp wed nov 17 21:16:43 jst 1999 i686 unknown '
    config_args='-d'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.1.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl 5.00561:
    /usr/local/lib/perl5/5.00561/i686-linux
    /usr/local/lib/perl5/5.00561
    /usr/local/lib/site_perl/5.00561/i686-linux
    /usr/local/lib/site_perl
    .

---
Environment for perl 5.00561:
    HOME=/home/simon
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/simon/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/rhs/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/kde/bin:/home/simon/bin
    PERL_BADLANG (unset)
    SHELL=/bin/zsh


Follow-Ups from:
Ilya Zakharevich <ilya@math.ohio-state.edu>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]