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

plenv install 5.16.2 fails #11

Closed
wolverian opened this issue Feb 18, 2013 · 6 comments
Closed

plenv install 5.16.2 fails #11

wolverian opened this issue Feb 18, 2013 · 6 comments

Comments

@wolverian
Copy link

plenv version 1.4.2 installed with Homebrew on OS X Mountain Lion.

$ plenv install 5.16.2
Creating /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/perl-build-20130218-13541834483(building directory)
Install 5.16.2 to /Users/ivacklin/.plenv/versions/5.16.2
Fetching 5.16.2 as /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/JztUT2jdj7/perl-5.16.2.tar.bz2
Downloaded http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/perl-5.16.2.tar.bz2 to /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/JztUT2jdj7/perl-5.16.2.tar.bz2.
rm -f config.sh Policy.sh
/usr/bin/perl -Mlib=/usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv/bin/patchperl
version version 0.87 required--this is only version 0.82 at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Module/Metadata.pm line 20.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Module/Metadata.pm line 20.
Compilation failed in require at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 14.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 14.
Compilation failed in require at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
Compilation failed in require at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
Compilation failed in require at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv/bin/patchperl line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv/bin/patchperl line 12.
Installation failure: /usr/bin/perl -Mlib=/usr/local/Cellar/plenv/1.4.2/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv/bin/patchperl at /usr/local/Cellar/plenv/1.4.2/bin/../share/plenv/lib/perl5/Perl/Build.pm line 208.
@wolverian
Copy link
Author

$ which perl
/usr/bin/perl
$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:

  Platform:
    osname=darwin, osvers=12.0, archname=darwin-thread-multi-2level
    uname='darwin b1026.apple.com 12.0 darwin kernel version 12.0.0: tue may 15 23:31:29 pdt 2012; root:xnu-2050.6.70~1release_x86_64 x86_64 '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=clang'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='clang', ccflags ='-arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include',
    optimize='-Os',
    cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='clang -mmacosx-version-min=10.8', ldflags ='-arch i386 -arch x86_64 -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-arch i386 -arch x86_64 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Locally applied patches:
    /Library/Perl/Updates/<version> comes before system perl directories
    installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Jun 20 2012 13:55:28
  @INC:
    /Library/Perl/5.12/darwin-thread-multi-2level
    /Library/Perl/5.12
    /Network/Library/Perl/5.12/darwin-thread-multi-2level
    /Network/Library/Perl/5.12
    /Library/Perl/Updates/5.12.4
    /System/Library/Perl/5.12/darwin-thread-multi-2level
    /System/Library/Perl/5.12
    /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.12
    .

@tokuhirom
Copy link
Owner

I hope this issue was fixed by 4029d04.

@tokuhirom tokuhirom reopened this Feb 19, 2013
@wolverian
Copy link
Author

Thanks for the fix! However, now I get a different error:

$ plenv install 5.16.2
Creating /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/perl-build-20130221-11030947861(building directory)
Install 5.16.2 to /Users/ivacklin/.plenv/versions/5.16.2
Fetching 5.16.2 as /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/Lte_frhZSY/perl-5.16.2.tar.bz2
Downloaded http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/perl-5.16.2.tar.bz2 to /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/Lte_frhZSY/perl-5.16.2.tar.bz2.
rm -f config.sh Policy.sh
/usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl
Can't locate version/vpp.pm in @INC (@INC contains: /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at (eval 11) line 2.
BEGIN failed--compilation aborted at (eval 11) line 2.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 12.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
Installation failure: /usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/lib/perl5/Perl/Build.pm line 208.

@tokuhirom
Copy link
Owner

Sorry, version/ directory was ignored by .gitignore :/
The issue was fixed by fc0305e.

On Thu, Feb 21, 2013 at 6:04 PM, Ilmari Vacklin notifications@github.comwrote:

Thanks for the fix! However, now I get a different error:

$ plenv install 5.16.2
Creating /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/perl-build-20130221-11030947861(building directory)
Install 5.16.2 to /Users/ivacklin/.plenv/versions/5.16.2
Fetching 5.16.2 as /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/Lte_frhZSY/perl-5.16.2.tar.bz2
Downloaded http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/perl-5.16.2.tar.bz2 to /var/folders/dk/v_l97l413879hb_lbcyg4cgw0000gn/T/Lte_frhZSY/perl-5.16.2.tar.bz2.
rm -f config.sh Policy.sh
/usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl
Can't locate version/vpp.pm in @inc (@inc contains: /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at (eval 11) line 2.
BEGIN failed--compilation aborted at (eval 11) line 2.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Module/Load/Conditional.pm line 12.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//IPC/Cmd.pm line 50.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5//Devel/PatchPerl.pm line 13.
Compilation failed in require at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
BEGIN failed--compilation aborted at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl line 12.
Installation failure: /usr/bin/perl -Mlib=/usr/local/Cellar/plenv/HEAD/bin/../share/plenv//lib/perl5/ /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/bin/patchperl at /usr/local/Cellar/plenv/HEAD/bin/../share/plenv/lib/perl5/Perl/Build.pm line 208.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-13879203.

@wolverian
Copy link
Author

Thanks, now installation works fine. :) plenv is a great project!

@tokuhirom
Copy link
Owner

Thanks for your report!

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

No branches or pull requests

2 participants