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

From: guangshan chen <gchen9_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 11 2009 - 16:27:03 MST

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 Wed Nov 11 16:26:28 2009

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