Re: Status of NCL under MacOS 10.6 (64-bit)

From: guangshan chen <gchen9_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 13 2009 - 02:41:54 MST

Hi Mary,

Now I tested that HDF4 can be installed on MacOS 10.6 by following instruction on http://www.kyngchaos.com/macosx:build:hdf by "make install".

But It did not pass testing (make check). It stopped at JPEG checking.

I don't know. What is the effect about this error?

After I installed HDF4 by no checking, I have gone to the last step to install vis5d+.
It needs "mesa" library to be first installed. I installed mesa library. But I don't know how to specify the location of mesa library to configure. It seems there is no option. I have sent an email to a vis5d+ maintainer. Hopeful he could give me an answer.

Guangshan

On Nov 12, 2009, at 9:03 AM, Mary Haley wrote:

> Guangshan,
>
> Ted sent me a personal email and said that the HDF4 code was actually compiled under 10.5 and not 10.6, so he's not sure it will work under 10.6.
>
> I see that Sourish posted a response. The question I have about using gcc 4.2 is whether you get a 64-bit compile by default. I think this is the heart of the issue: HDF4 is not expecting the MacOS build to be on a 64-bit system, so it tries to treat the configuration as if it's a 32-bit one. This causes conflicting information during the "configure" phase.
>
> I believe that you could do a build from source if you went into 32-bit mode, by forcing the "-m32" option. However this defeats the purpose of getting a 64-bit system.
>
> If anybody else has successfully built HDF4 under MacOS 10.6 in 64-bit mode, we'd love to hear from you.
>
> --Mary
>
> On Nov 11, 2009, at 4:27 PM, guangshan chen wrote:
>
>> Hi Ted,
>>
>> I just tried to build HDF4 on 10.6 as the instruction. I am failed. Could you forward my email to your colleague? I would like to discuss with him.
>>
>> I came to the "configure" step. But I could not use "CFLAGS="-Os -arch i386 -arch ppc -arch x86_64 -arch ppc64"
>> It gave me the following error:
>> checking whether make sets $(MAKE)... (cached) yes
>> checking for gcc... gcc
>> checking for C compiler default output file name...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>>
>> I got rid of this option, it could be configured. I finished the left steps and type "make check".
>>
>> It would pop out this error:
>> make[3]: *** No rule to make target `../../mfhdf/libsrc/libmfhdf.la', needed by `fortestF'. Stop.
>>
>> I cd to mfhdf/libsrc directory and typed "make" to make libmfhdf.la.
>>
>> The building progress continued, but it stopped again at reading 24-bit JPEG compressed image.
>>
>> Testing -- 24BIT RASTER IMAGE INTERFACE (24bit)
>> 24-bit JPEG quality 80 image was incorrect
>> ret=-9, sizeof(jpeg_24bit_orig)=3174
>> 24-bit JPEG quality 30 image was incorrect
>> ret=-5, sizeof(jpeg_24bit_orig)=3174
>> 24-bit JPEG quality 75 image was incorrect
>> ret=-4, sizeof(jpeg_24bit_orig)=3174
>>
>> Guangshan
>>
>>
>> On Nov 11, 2009, at 3:08 PM, Ted Mansell wrote:
>>
>>> Mary, et al:
>>>
>>> A colleague found instructions for building HDF4 on OS 10.6 in 64-bit
>>> here:
>>>
>>> http://www.kyngchaos.com/macosx:build:hdf
>>>
>>> He followed the instructions exactly, and was able to compile a 64-bit
>>> HDF library just fine.
>>>
>>> Best,
>>>
>>> -- Ted
>>>
>>> On Nov 11, 2009, at 1:55 PM, Mary Haley wrote:
>>>
>>>>
>>>> Hi folks,
>>>>
>>>> I've been working offline with Guangshan Chen who attempted to build
>>>> NCL V5.1.1 on a 64-bit Mac OS 10.6 (snow leopard) system.
>>>>
>>>> Unfortunately, there was a problem building the HDF4 library, and
>>>> the HDF folks do not have a fix yet. Guangshan contacted them and
>>>> they responded that they will be getting such a system soon and hope
>>>> to get it working.
>>>>
>>>> Until this happens, building NCL from source code will not be
>>>> possible, because HDF4 is not an optional package.
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>
Received on Fri Nov 13 02:42:15 2009

This archive was generated by hypermail 2.1.8 : Tue Nov 17 2009 - 17:30:50 MST