On Tue, Jun 05, 2012 at 02:42:44PM -0700, Alexander Hansen wrote:
> On 6/5/12 12:50 PM, c. wrote:
> > 
> > On 5 Jun 2012, at 21:45, Olaf Till wrote:
> > 
> >> and pass them to mkoctfile in some packages. But this will not work
> >> under these circumstances.
> >>
> >> What is to be done here?
> > 
> > What I do to build on my system is to configure with 
> > 
> > --with-blas="-Wl,-framework -Wl,Accelerate"
> > 
> > so that 
> > 
> > mkoctfile -p BLAS_LIBS
> > 
> > returns 
> > 
> > -Wl,-framework -Wl,Accelerate
> > 
> > and
> > 
> > mkoctfile `mkoctfile -p BLAS_LIBS`
> > 
> > works fine for me
> > 
> > c.
> 
> I do something pretty much the same in Fink's (non-atlas-based) Octave
> packages:
> 
> --with-lapack=-Wl,-framework,Accelerate
> --with-blas=-Wl,-framework,Accelerate
> 
> So it's not terribly problematic for downstream packagers to deal with.
>  In terms of building Octave by hand on a Mac, it might be nice to
> replace the use of "-framework foo" with "-Wl,-framework,foo"
> everywhere, because the latter construction doesn't get mangled by GNU
> libtool.

As I now see there would be only one line in Octaves (stable branch)
configure.ac to be replaced:

        BLAS_LIBS="blaswrap.$ac_objext -framework vecLib"

which seems to have caused the OPs problem, while another line with
"framework" is already as you both suggest:

  CARBON_LIBS="-Wl,-framework -Wl,Carbon"

What about submitting a patch or just making the change to Octaves
stable branch?

Olaf

> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/2012/02/21/got-job/

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to