[ncl-install] Status of NCL under MacOS 10.6 (64-bit)

guangshan chen gchen9 at gmail.com
Wed Nov 11 16:27:03 MST 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20091111/4fe2a4ed/attachment.html 


More information about the ncl-install mailing list