[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building on OSX without package managers
From: |
Ben Abbott |
Subject: |
Re: Building on OSX without package managers |
Date: |
Tue, 25 Jan 2011 08:22:26 -0500 |
On Jan 25, 2011, at 7:41 AM, Richard Campbell 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.
The link below gives a clear indication that 64 bit should work
http://r.research.att.com/tools/
Did you include the "-m64" option? After browsing hits from Google, it looks to
me like adding "-arch x86_64 -m64" to both LDFLAGS, CFLAGS, and FFLAGS is what
is needed (I haven't tried though).
Ben
- Re: Building on OSX without package managers, (continued)
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/24
- Re: Building on OSX without package managers, Ben Abbott, 2011/01/24
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/24
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/24
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/24
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25
- Re: Building on OSX without package managers,
Ben Abbott <=
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, bpabbott, 2011/01/25
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/24
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/24
- Re: Building on OSX without package managers, John W. Eaton, 2011/01/25
- Re: Building on OSX without package managers, Richard Campbell, 2011/01/25