octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building on OSX without package managers


From: bpabbott
Subject: Re: Building on OSX without package managers
Date: Tue, 25 Jan 2011 18:47:30 +0000 (GMT)

On Jan 25, 2011, at 07:41 AM, Richard Campbell <address@hidden> wrote:

On Jan 25, 2011, at 12:08 AM, John W. Eaton wrote:

> On 24-Jan-2011, Richard Campbell wrote:
>
> | > What is in your config.h file? For F77_FUNC, I would expect something
> | > like
> | >
> | > #define F77_FUNC(name,NAME) name ## _
> | >
> | > but it looks like it is not being defined, since there is a
> | > diagnostic about it as if it is not being expanded by the
> | > preprocessor.
> | >
> | > jwe
> |
> | cat config.h | grep -B 2 -i f77_func
> | /* Define to a macro mangling the given C identifier (in lower and upper
> | case), which must not contain underscores, for linking with Fortran. */
> | /* #undef F77_FUNC */
> |
> | /* As F77_FUNC, but for C identifiers containing underscores. */
> | /* #undef F77_FUNC_ */
>
> That should not happen.
>
> In your config.log file, there should be a line like this:
>
> configure:28708: checking for Fortran 77 name-mangling scheme
>
> followed by the compile commands tried, information about failed
> tests, and then the result What do you have for that? Send
> the config.log output to the list if you like, or just this section.
> If you send the whole file, please gzip it before you send it as the
> config.log file itself is about 1.8MB, but the compressed file is only
> about 100k.
>
> jwe

The BLAS I am trying to compile against is the one built into OSX (linked to by "-framework vecLib". If I try to compile with "-arch x86_64" but without "--enable-64" I get the following error:

configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.

With "-arch x86_64" and "--enable-64" I get:

checking whether the integer size is correct... no
configure: error: BLAS doesn't seem to support 64-bit integers. This is incompatible with --enable-64.
 
Richard,

On a different email thread, Jarno pointed out the the vecLib framework includes a but for 64bit BLAS.

https://mailmancae.wisc.edu/pipermail/octave-maintainers/2011-January/022458.html

I'll include a statement to that effect in the README.MacOS.

Ben

reply via email to

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