[ncl-install] How to edit config without using Configure

David Brown dbrown at ucar.edu
Fri Feb 13 00:34:29 MST 2015


The Configure script writes a file in the config directory called Site.local.
You can define include and lib search paths inside this file. For
example, my Site.local file has the following:

#define LibSearch -L/usr/local/lib -L/usr/X11R6/lib
#define IncSearch -I/usr/local/include/cairo
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/include

Note that this file is read twice. Once before and once after the
Makefile generating tools process the system-specific configuration
file, probably the file called LINUX in your case. You can override
statements in the system-specific file by putting directives in the
"SecondSite" section.

Hope this helps.
 -dave

On Thu, Feb 12, 2015 at 7:07 PM, John Helly <hellyj at ucsd.edu> wrote:
> Hi.
>
> I trying to build from source on Ubuntu (various reasons why) and cannot
> figure out how to specify ./include and ./lib paths without using the
> Configure script.
>
> Is there an editable config or Makefile? I looked at yMakefile but the
> directions about what to do seem contradictory. I've tried editing the
> common/Makefile but apparently that has no effect. Cannot determine if it's
> not finding the paths or the edits are being overwritten.
>
> Any advice is welcome.
> J.
>
>
> --
> John Helly, University of California, San Diego / San Diego Supercomputer
> Center / Scripps Institution of Oceanography / 760 840 8660 mobile /
> stonesteps (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>


More information about the ncl-install mailing list