[ncl-install] Configure and/or ymake changing Include paths

Crooks, Cynthia J cynthia.crooks at bp.com
Mon Apr 11 08:07:13 MDT 2016


Mary,

I added the quotes in the Site.local file.  I did the “make me” and the “make Makefiles”.  I am still getting the wrong paths:

YMAKEROOT               = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0
BINROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/bin
LIBROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/lib
INCROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/include
MANROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/man
TMPROOT                 = /tmp

I even try putting single quotes around the defines in the Site.local file.  That didn’t help either.

Let me know what to try next.

Thanks for your help.

Cindy

From: Mary Haley [mailto:haley at ucar.edu]
Sent: Sunday, April 10, 2016 1:54 PM
To: Crooks, Cynthia J
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] Configure and/or ymake changing Include paths

Cindy,

Try adding quotes around the -L path in your Site.local file:

#define LibSearch "-L/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/lib"
#define IncSearch "-I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include -I/hpc/ap\
ps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include/freetype2"

You will need to remake the Makefiles:

cd $NCARG
make me
make Makefiles includes depend all install
--Mary



On Fri, Apr 8, 2016 at 12:59 PM, Crooks, Cynthia J <cynthia.crooks at bp.com<mailto:cynthia.crooks at bp.com>> wrote:
Hello,

I am trying to build ncl_ncar-6.3.0. I am building on a SLES 11 SP 3 machine and using the gcc-5.2.0 compiler.  I am building  without the optional software.  Parts of the build are failing because the PATHS in the Makefile are incorrect.  The paths should include  “3.0/x86_64/ncl_ncarg”, but they are being changed to “3.0/1/ncl_ncarg”.  The Site.local appears to have the correct paths:

#define YmakeRoot /hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0

#define LibSearch -L/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/lib
#define IncSearch -I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include -I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include/freetype2

The Makefiles, however, do not.

YMAKEROOT               = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0
BINROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/bin
LIBROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/lib
INCROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/include
MANROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/man

I have attached my Site.local and the top level Makefile.

I have tried rerunning Configure to verify that I put in the correct paths.  I get the same result.

I would appreciate any help you can offer.  Let me know what other information you might require.

Thanks.

Cindy

_______________________________________________
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/20160411/615cb7df/attachment-0001.html 


More information about the ncl-install mailing list