Here's the output. I'm also using local::lib.
I don't recall replacing my entire modules path when switching from 5.12 to
5.14...
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=darwin, osvers=11.4.0, archname=darwin-2level
uname='darwin ynon-pereks-macbook-pro.local 11.4.0 darwin kernel
version 11.4.0: mon apr 9 19:32:15 pdt 2012;
root:xnu-1699.26.8~1release_x86_64 x86_64 '
config_args='-de
-Dprefix=/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple Clang 3.1
(tags/Apple/clang-318.0.58)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -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=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at May 22 2012 18:15:41
%ENV:
PERLBREW_BASHRC_VERSION="0.42"
PERLBREW_HOME="/Users/ynonperek/.perlbrew"
PERLBREW_MANPATH="/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/man"
PERLBREW_PATH="/Users/ynonperek/perl5/perlbrew/bin:/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/bin"
PERLBREW_PERL="perl-5.16.0"
PERLBREW_ROOT="/Users/ynonperek/perl5/perlbrew"
PERLBREW_VERSION="0.42"
PERL_LOCAL_LIB_ROOT="/Users/ynonperek/perl5/modules"
PERL_MB_OPT="--install_base /Users/ynonperek/perl5/modules"
PERL_MM_OPT="INSTALL_BASE=/Users/ynonperek/perl5/modules"
@INC:
/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level
/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0
/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level
/Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0
.
On 23 May 2012 11:48, ynon perek <[email protected]> wrote:
> Hi,
> After a perlbrew switch to 5.16 I got the following error:
> Perl API version v5.14.0 of DateTime does not match v5.16.0 at
> /Users/ynonperek/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/XSLoader.pm
> line 95.
>
> This happens even for a simple command line
> perl -MDateTime
>
> Tried to upgrade DateTime using cpanm. Same error still.
>
> Ideas ?
>
> 10x,
> Ynon
>
>
> --
>
> כותב הרצאות ? מדבר מול קהל ? הבלוג שלי לומד
> לדבר<http://publicspeakr.blogspot.com/>כתוב במיוחד בשבילך.
>
>
--
כותב הרצאות ? מדבר מול קהל ? הבלוג שלי לומד
לדבר<http://publicspeakr.blogspot.com/>כתוב במיוחד בשבילך.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl