ncarg not set correctly in ncl_ncarg-6.1.0.Linux_Debian install

From: Jeremy Winick <winickjr_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 05 2013 - 12:01:54 MDT

Hi all,

Although this is an ncl discussion group, the binary I downloaded also
includes ncar graphics, ncarg.
I am using Ubuntu 10.04 LTS and ncl scripts appear to work OK. However,
even though ncarg also appears to be installed,
if I try to run an example it doesn't work, as the scripts don't appear
to work correctly. (on an earlier version of Ubuntu I did install ncarg
separately (from an Ubuntu distribution site?) and it ran correctly.

When I try to run an example, say ncargex agex01
NCAR Graphics Fortran Example <agex01>

Copying agex01.f

Compiling and linking...
gfortran -fPIC -fno-second-underscore -O -o agex01 agex01.f
-L/usr/local/ncar/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c
-lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype
-lexpat -lpng -lz -lpthread
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

The compile and link failed.

There surely is an X11 library on my system
/usr/lib/libX11-xcb.so.1
/usr/lib/libX11-xcb.so.1.0.0
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.3.0
/usr/lib32/libX11.so
/usr/lib32/libX11.so.6
/usr/lib32/libX11.so.6.3.0

and there surely ISN'T /usr/X11R6/lib64

The c-shell scripts for ncargex and ncargf77 don't seem correct for this
version of Linux. When I compile my own code with gfortran (not using
X11 library) compiling and executables are fine.

Jeremy

-- 
“What is wanted is not the will to believe,
but the wish to find out, which is its exact opposite”
  ... Bertrand Russell
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 5 12:02:04 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 11 2013 - 12:03:58 MDT