[OmniOS-discuss] include path : is there such a thing?

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Tue Oct 28 01:52:11 UTC 2014


On Tue, 28 Oct 2014, Mayuresh Kathe wrote:

> Hello,
>
> Just the way there's a PATH environment variable and an optional MANPATH
> one too, is there anything for "includes" also?
>
> I am really getting busted trying to get GnuCOBOL compiled under OmniOS.
> All of the extra stuff I have installed has gone and sat down in it's
> own structure at various places /usr/local/include/...,
> /opt/omni/include/..., etc.
>
> Can I please be advised on the best way forward such that the
> "configure" script of GnuCOBOL finds all the headers?

   export CPPFLAGS='-I /usr/local/include -I/opt/omni/include'

Then run 'configure'.

You likely also want to set LIBS and LDFLAGS.  See if there is a file
called INSTALL in the package which describes the various options.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the OmniOS-discuss mailing list