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_61 Configure does not substitute installprefix #455

Closed
p5pRT opened this issue Aug 30, 1999 · 3 comments
Closed

5.005_61 Configure does not substitute installprefix #455

p5pRT opened this issue Aug 30, 1999 · 3 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Aug 30, 1999

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

Searchable as RT1296$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Aug 30, 1999

From @sciurius

Perl 5.005_61 Configure uses

  installarchlib=`echo $archlibexp | sed 's#^$prefix#$installprefix#'`

and alike to substitute the $installprefix if different from $prefix.
However, at least on Linux and Solaris, this fails since the $prefix
and $installprefix are not interpolated due to the single quotes.

Using double quotes instead of single quotes fixes this.

Perl Info


Site configuration information for perl 5.00502:

Configured by larry at Tue Jan 26 22:44:18 PST 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.0.36, archname=i586-linux
    uname='linux london 2.0.36 #1 tue oct 13 22:17:11 edt 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.7.2.3
    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='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.00502/i586-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    REPLACE_PREFIX - allows editing binary to change PREFIX


@INC for perl 5.00502:
    /usr/lib/perl5/5.00502/i586-linux
    /usr/lib/perl5/5.00502
    /usr/lib/perl5/site_perl/5.005/i586-linux
    /usr/lib/perl5/site_perl/5.005
    .


Environment for perl 5.00502:
    HOME=/home/johanv
    LANG (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/home/johanv/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
    PERL_BADLANG (unset)
    SHELL=/bin/csh

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Aug 30, 1999

From @jhi

Johan Vromans writes​:

This is a bug report for perl from jvromans@​squirrel.nl,
generated with the help of perlbug 1.26 running under perl 5.00502.

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

Perl 5.005_61 Configure uses

installarchlib=`echo $archlibexp | sed 's#^$prefix#$installprefix#'`

and alike to substitute the $installprefix if different from $prefix.
However, at least on Linux and Solaris, this fails since the $prefix
and $installprefix are not interpolated due to the single quotes.

Oops.

Using double quotes instead of single quotes fixes this.

Thanks.

--
$jhi++; # http​://www.iki.fi/jhi/
  # There is this special biologist word we use for 'stable'.
  # It is 'dead'. -- Jack Cohen

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Aug 31, 1999

From @doughera88

On Mon, 30 Aug 1999, Johan Vromans wrote​:

Perl 5.005_61 Configure uses

installarchlib=`echo $archlibexp | sed 's#^$prefix#$installprefix#'`

and alike to substitute the $installprefix if different from $prefix.
However, at least on Linux and Solaris, this fails since the $prefix
and $installprefix are not interpolated due to the single quotes.

Eeeks! How embarassing. That one's surely mine. I sent a bunch of
half-completed metaconfig units to Jarkko. He kindly took charge
and completed them for me.

I'd send in a patch, but I see Jarkko's already beaten me to it.

Thanks for the report.

  Andy Dougherty doughera@​lafayette.edu

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

Successfully merging a pull request may close this issue.

None yet
1 participant