[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem installing packages
From: |
Sergei Steshenko |
Subject: |
Re: Problem installing packages |
Date: |
Mon, 21 May 2012 13:56:31 -0700 (PDT) |
----- Original Message -----
> From: notMyUsername <address@hidden>
> To: address@hidden
> Cc:
> Sent: Monday, May 21, 2012 11:44 PM
> Subject: Re: Problem installing packages
>
>> Actually, it needs CXX to be set rather than CC:
>>
>> $ export CXX=llvm-g++-4.2
>> $ octave
>> octave> pkg install -forge miscellaneous
>
> Thanks! But unfortunately I just tried that (it was using clang by default)
> and am now getting:
>
> octave:1> pkg install "~/Dropbox/octave/Octave 3.6
> Packages/miscellaneous-1.1.0.tar.gz"
> cell2cell.cc:1: error: bad value (native) for -march= switch
> cell2cell.cc:1: error: bad value (native) for -mtune= switch
>
> --
Strictly speaking, AFAIR, putting hard-coded '-march=native' is a bug - because
it applies only to x86 and x86_64 architectures.
Another issue is that llvm-g++-4.2doesn't understand it even though you are
apparently using an x86 or x86_64 machine.
Try hacking the package maybe ? It should be a simple change.
Regards,
Sergei.
- Re: Problem installing packages, notMyUsername, 2012/05/13
- Re: Problem installing packages, Lukas Reichlin, 2012/05/14
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages,
Sergei Steshenko <=
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages, Sergei Steshenko, 2012/05/21
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, notMyUsername, 2012/05/22
- Re: Problem installing packages, notMyUsername, 2012/05/22
- Re: Problem installing packages, Carnë Draug, 2012/05/23
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, Jordi Gutiérrez Hermoso, 2012/05/24