Re: class::load::xs on os x

[email protected] (Demian Riccardi)
Newsgroups perl.moose
Message-ID <CACaGo3P61NN66Pah-4aKTYnhzSZBWro91KmPfCcEHQ5AD-LfdQ@mail.gmail.com>
$ cpanm --look Class::Load::XS
$ perl Build.PL
ld: warning: in compilet-lNWK6.o, file was built for i386 which is not the
architecture being linked (x86_64)
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Class-Load-XS' version '0.03'

From the Moose install it was able to install another XS module:

Configuring Package-Stash-XS-0.25 ... OK
Building and testing Package-Stash-XS-0.25 ... OK
Successfully installed Package-Stash-XS-0.25

but that doesn't prove much. my student was able to install on lion so 1.
I'm good and 2. there must be something funky on my crusty old laptop.

D

On Wed, Jan 18, 2012 at 8:59 AM, NH <[email protected]> wrote:

> What do you get if you 'cpanm --look Class::Load::XS' and 'perl
> Makefile.PL && make'?
>
> On 2012/01/18, at 22:16, Demian Riccardi <[email protected]> wrote:
>
> > Hello Everyone,
> >
> > I'm having difficulty installing Moose-2.04 on my laptop (running Snow
> > Leopard). It chokes on Class::Load::XS giving me an "ld: warning: in
> > compilet-1w9w_.o, file was built for i386 which is not the architecture
> > being linked (x86_64)".  The install had no problem on my linux work
> > station.  I use perlbrew with perl-5.14.1 in both places, and carry out
> all
> > my Cpan installs with cpanm.  From suggestions on the Moose IRC last
> night,
> > I updated my perlbrew, installed the latest patchperl, and installed
> > perl5-14.2 for a fresh Moose install, but I ended up with the same
> > trouble.  There is probably some messed up business that has nothing to
> do
> > with Class::Load::XS on my with my laptop.  Is there anything else I can
> > try?
> >
> > I have Moose-2.02 installed, which works for me for what I'm doing, but I
> > expect my rotation student may soon run into a similar problem.  He's
> > running OS X Lion on his laptop (maybe it's fixed with lion).  Is there a
> > way to install Moose-2.02 via cpanm as a backup plan?  I won't be
> offended
> > if you tell me to go ask cpanm that last one.
> >
> > -Demian
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.