<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mary,<div><br></div><div><div><div>Now I tested that HDF4 can be installed on MacOS 10.6 by following instruction on&nbsp;<a href="http://www.kyngchaos.com/macosx:build:hdf">http://www.kyngchaos.com/macosx:build:hdf</a>&nbsp;&nbsp;by "make install".</div><div><br></div><div>But It did not pass testing (make check). It stopped at JPEG checking.</div><div><br></div><div>I don't know. What is the effect about this error?</div><div><br></div></div><div>After I installed HDF4 by no checking, I have gone to the last step to install vis5d+.</div><div>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+&nbsp;maintainer. Hopeful he could give me an answer.</div><div><br></div><div>Guangshan</div><div><br></div><div><div>On Nov 12, 2009, at 9:03 AM, Mary Haley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Guangshan,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>If anybody else has successfully built HDF4 under MacOS 10.6 in 64-bit mode, we'd love to hear from you.</div><div><br></div><div>--Mary</div><div><br><div><div>On Nov 11, 2009, at 4:27 PM, guangshan chen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Ted,<div><br></div><div>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.</div><div><br></div><div>I came to the "configure" step. But I could not use "<span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">CFLAGS="-Os -arch i386 -arch ppc -arch x86_64 -arch ppc64"</span></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">It gave me the following error:</span></span></font></div><div><div>checking whether make sets $(MAKE)... (cached) yes</div><div>checking for gcc... gcc</div><div>checking for C compiler default output file name...&nbsp;</div><div>configure: error: C compiler cannot create executables</div><div>See `config.log' for more details.</div><div><br></div><div>I got rid of this option, it could be configured. I finished the left steps and type "make check".</div><div><br></div><div>It would pop out this error:</div><div>make[3]: *** No rule to make target `../../mfhdf/libsrc/libmfhdf.la', needed by `fortestF'. &nbsp;Stop.</div><div><br></div><div>I cd to&nbsp;mfhdf/libsrc directory and typed "make" to make libmfhdf.la.</div><div><br></div><div>The building progress continued, but it stopped again at reading 24-bit JPEG compressed image.</div><div><br></div><div><div>Testing &nbsp;-- 24BIT RASTER IMAGE INTERFACE (24bit)&nbsp;</div><div>24-bit JPEG quality 80 image was incorrect</div><div>ret=-9, sizeof(jpeg_24bit_orig)=3174</div><div>24-bit JPEG quality 30 image was incorrect</div><div>ret=-5, sizeof(jpeg_24bit_orig)=3174</div><div>24-bit JPEG quality 75 image was incorrect</div><div>ret=-4, sizeof(jpeg_24bit_orig)=3174</div><div><br></div><div>Guangshan</div><div><br></div><div><br></div></div></div><div><div><div>On Nov 11, 2009, at 3:08 PM, Ted Mansell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Mary, et al:<br><br>A colleague found instructions for building HDF4 on OS 10.6 in 64-bit &nbsp;<br>here:<br><br><a href="http://www.kyngchaos.com/macosx:build:hdf">http://www.kyngchaos.com/macosx:build:hdf</a><br><br>He followed the instructions exactly, and was able to compile a 64-bit &nbsp;<br>HDF library just fine.<br><br>Best,<br><br>-- Ted<br><br>On Nov 11, 2009, at 1:55 PM, Mary Haley wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi folks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've been working offline with Guangshan Chen who attempted to build &nbsp;<br></blockquote><blockquote type="cite">NCL V5.1.1 on a 64-bit Mac OS 10.6 (snow leopard) system.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Unfortunately, there was a problem building the HDF4 library, and &nbsp;<br></blockquote><blockquote type="cite">the HDF folks do not have a fix yet. &nbsp;Guangshan contacted them and &nbsp;<br></blockquote><blockquote type="cite">they responded that they will be getting such a system soon and hope &nbsp;<br></blockquote><blockquote type="cite">to get it working.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Until this happens, building NCL from source code will not be &nbsp;<br></blockquote><blockquote type="cite">possible, because HDF4 is not an optional package.<br></blockquote><br>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div></blockquote></div><br></div></blockquote></div><br></div></div></blockquote></div><br></div></body></html>