help-octave
[Top][All Lists]
Advanced

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

Re: Can't install octave-forge packages in a 32-bit OS X build, but can


From: Ben Abbott
Subject: Re: Can't install octave-forge packages in a 32-bit OS X build, but can in a 64-bit one
Date: Sat, 05 Nov 2011 15:17:18 -0400

On Nov 5, 2011, at 2:52 PM, Alexander Hansen wrote:

> On 11/5/11 1:04 PM, Ben Abbott wrote:
> 
>> On Nov 5, 2011, at 12:09 PM, Alexander Hansen wrote:
>> 
>>> I tried to build it by hand on 10.5/i386 but the compiler
>>> choked:
>> 
>> I haven't tried to build the sources on 10.5 since 10.6 was
>> released.
>> 
>> I won't have access to my Mac with Fink installed on it until later
>> today. But I did find the scripts I used to build 32bit Octave on
>> MacOS 10.6. If you're working on this problem today, these script
>> might be helpful (?).
>> 
>> I used build_octave.sh to build from the developers sources, and
>> build_release.sh to build the releases (which doesn't require
>> ./autogen.sh and its dependencies).
>> 
>> Also, after reviewing some old emails, I was reminded that we saw
>> the cs-list error before. Have you included "-ff2c" in FFLAGS?
>> 
>> Ben
> 
> In this particular case, no.  Our (other folks and myself) understanding
> was that -ff2c was needed when building against the vecLib framework,
> but we found that it caused problems when using atlas instead.
> 
> However, the results were the same whether or not it was an
> atlas-enabled build, i.e. whether or not -ff2c was used.  -ff2c
> was _not_ used on the 64-bit builds on 10.5 and 10.6, because atlas was
> the only option since the configure check gave errors in the interaction
> of the Fortran compiler with SDOT from the vecLib framework.  -ff2c
> _was_ used on the 10.7 (only x86_64) build, because atlas isn't
> available there yet in Fink.

I recall other developers spending time on the x86_64 vecLib problem. At the 
time I was still building Octave as a 32bit app so I didn't pay close 
attention. What I do remember is that a fix was created to allow linking to 
vecLib. You can find it here -> libcruft/misc/blaswrap.c.

My understanding is that the configure script for 3.4.x detects the vecLib 
problem and uses blaswrap.c when needed. Regarding your experience with 64bit 
builds on 10.5 and 10.6 do you refer to Octave-3.4.x? If so, then I'm left 
wondering if the configure script might only apply this for MacOS 10.7?

In any event, for 32 bit builds, my memory is too cloudy to be trusted. I'll 
comment on that after later.

Ben




reply via email to

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