help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem installing packages


From: agalli
Subject: Re: Problem installing packages
Date: Wed, 25 Apr 2012 23:37:32 -0700 (PDT)

Thanks for your prompt answers.

> What compiler are you using e.g. from "mkoctfile -p CC"? 
> 
> I've seen the same thing when trying to use the clang compiler, which is 
> why I have Fink's build of miscellaneous set to use llvm-gcc-4.2 instead. 

Indeed the compiler is clang. I already have gcc installed.
I tried to change the compiler to gcc by editing the mkoctfile-3.6.1 and
substituting every instance of clang++ with g++ and every instance of clang
with gcc.
However, the installation is again unsuccessful, due to different errors:

cell2cell.cc:1: error: bad value (native) for -march= switch
cell2cell.cc:1: error: bad value (native) for -mtune= switch
make: *** [cell2cell.oct] Error 1
'make' returned the following error: mkoctfile -Wall cell2cell.cc
error: called from `pkg>configure_make' in file
/usr/local/Cellar/octave/3.6.1/share/octave/3.6.1/m/pkg/pkg.m near line
1385, column 9
error: called from:
error:   /usr/local/Cellar/octave/3.6.1/share/octave/3.6.1/m/pkg/pkg.m at
line 827, column 5
error:   /usr/local/Cellar/octave/3.6.1/share/octave/3.6.1/m/pkg/pkg.m at
line 383, column 9



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Problem-installing-packages-tp4586874p4589007.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]