Re: Problem installing NCL 5.1.0

From: Sourish Basu <sbasu_at_nyahnyahspammersnyahnyah>
Date: Sat, 18 Apr 2009 16:54:17 -0400
Ah, the solution you're referring to says that it's only for NCL-5.0.0. Since I installed 5.1.0, I didn't try that one. But your tip worked, thanks!

-Sourish

On 04/17/2009 04:00 PM, Mary Haley wrote:
The solution described in the trouble-shooting document should have fixed the problem. 

Please make sure that there are two underscores before and after "UNIXOS2":  -D__UNIXOS2__

Did you rerun "make Everything" after you added this macro to your config file in $NCARG/config?

Finally, is the -D__UNIXOS2__ actually showing up on the compile lines where you see the errors? If not,
then double-check that you added this macro to the correct file.

--Mary

On Apr 17, 2009, at 1:52 PM, Sourish Basu wrote:

Hi all,

    I installed NCL 5.1.0 from source, and got the following error multiple times.

========================
/usr/include/X11/Xlib.h:81: error: conflicting types for ‘wchar_t’
/usr/lib/gcc/i486-linux-gnu/4.3.3/include/stddef.h:326: error: previous declaration of ‘wchar_t’ was here
========================

Anyone has any idea what's causing this? I tried solution #3 from http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting but that doesn't solve the problem.

I'm using gfortran-4.3 to compile.

Thanks,

-Sourish

Sourish Basu
542 Clark Hall
Department of Physics
Cornell University
Ithaca, NY 14853

Ph: +1 607 255 6069
Fax: +1 607 255 6428
sbasu@physics.cornell.edu
[04/17/2009 02:11 PM]
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install


_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Sat Apr 18 2009 - 14:54:17 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:33:21 MDT