help-octave
[Top][All Lists]
Advanced

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

Re: Problem installing packages


From: Alexander Hansen
Subject: Re: Problem installing packages
Date: Wed, 25 Apr 2012 09:18:21 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120420 Thunderbird/12.0

On 4/25/12 8:07 AM, agalli wrote:
> I am trying out Octave 3.6.1 under OS X 10.7.3 (installed via Homebrew).
> When I try to install packages, most of the time the installation fails. For
> example, when I try to install the Miscellaneous package, either after
> downloading or directly from the website, i get the errors:
> 
> 
> partarray.cc:42:31: error: variable length array of non-POD element type
>       'Array<octave_idx_type>'
>   Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
>                               ^
> partarray.cc:42:47: error: variable length array of non-POD element type
>       'Array<octave_idx_type>'
>   Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
>                                               ^
> 2 errors generated.
> make: *** [partarray.oct] Error 1
> 'make' returned the following error: mkoctfile -Wall cell2cell.cc
> mkoctfile -Wall partarray.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
> 
> Anybody here can help me pinpoint the cause?
> 
> Thanks in advance
> 
> 
> 
>

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.



reply via email to

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