Re: could not build NCL

From: Andrew Mai <mai_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 07 2014 - 04:03:38 MST

On 02/06/2014 11:49 PM, sangeeta maharjan wrote:

> Andy, where should I change "-L/usr/X11R6/lib64" to "-L/usr/lib64" ? No idea.
>
> >>Compiling and linking...
> >>gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f
> >>-L/usr/local/NCL/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c
> >>-lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng
> >>-lz -lpthread -lbz2 -lXrender

You could run the above command by hand yourself at the shell prompt, changing it there:

% gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/NCL/lib -L/usr/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender
  

That only solves the problem for one instance. I do not know where to change things to make this
automatic and permanent.

Andy
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Feb 7 04:03:48 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:38 MST