need help building octave

Ryan Schmidt ryandesign at
Wed Nov 7 15:10:17 PST 2007

On Nov 7, 2007, at 15:12, William Davis wrote:

> On Nov 7, 2007, at 3:03 PM, Brent Fulgham wrote:
>> This looks like something that will have to be corrected by the  
>> Octave authors:
>>>> .macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/
>>>> rs6000/host-darwin.c:
>>>> In function 'darwin_rs6000_extra_signals':
>>>> /opt/local/var/macports/build/
>>>> _opt_local_var_macports_sources_rsync
>>>> .macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/
>>>> rs6000/host-darwin.c:130:
>>>> warning: passing argument 1 of 'sigaltstack' from incompatible  
>>>> pointer
>>>> type
>>>> make[2]: *** [host-darwin.o] Error 1
>> The Leopard release involved some changes in the signal handling  
>> internals, which generate these kinds of errors.  I created some  
>> patches for Erlang, SML/NJ, and so forth to deal with it but I  
>> haven't looked at Octave.
>> It is worth checking with the main Octave site to see if they have  
>> released any updates; most likely, other Leopard users have  
>> already complained to them about this problem.
> The reason I asked about using port selfupdate was the references  
> to gcc-4.04.  My own installation shows gcc-4.2 as the dependency.   
> Which is not to say, the sigaltstack error is not the fatal one.    
> Still I wonder about the gcc version your installation wants to  
> use.......

The octave port uses gcc40 for powerpc machines and gcc42 for intel  
machines. I requested a long time ago that this be changed to use  
gcc42 always:

We do have reports that octave 2.9.9 doesn't build on Leopard, at  
least on intel machines: 

There is a ticket with a patch to update octave to 2.9.15 (though  
2.9.16 is already out) which you could try if 2.9.9 doesn't build for  

More information about the macports-users mailing list