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

2014-10-27 Thread Paul B. Henson
On Tue, Oct 28, 2014 at 01:29:06AM +0530, Mayuresh Kathe wrote: Just the way there's a PATH environment variable and an optional MANPATH one too, is there anything for includes also? https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html C_INCLUDE_PATH CPLUS_INCLUDE_PATH

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

2014-10-27 Thread Mayuresh Kathe
On Mon, Oct 27, 2014 at 01:03:50PM -0700, Paul B. Henson wrote: On Tue, Oct 28, 2014 at 01:29:06AM +0530, Mayuresh Kathe wrote: Just the way there's a PATH environment variable and an optional MANPATH one too, is there anything for includes also?

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

2014-10-27 Thread Mayuresh Kathe
On Tue, Oct 28, 2014 at 01:52:41AM +0530, Mayuresh Kathe wrote: On Mon, Oct 27, 2014 at 01:03:50PM -0700, Paul B. Henson wrote: On Tue, Oct 28, 2014 at 01:29:06AM +0530, Mayuresh Kathe wrote: Just the way there's a PATH environment variable and an optional MANPATH one too, is there

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

2014-10-27 Thread Michael Rasmussen
On Tue, 28 Oct 2014 01:59:23 +0530 Mayuresh Kathe mayur...@kathe.in wrote: Okay, got it working by manually copying the libdb.x files from /opt/omni/lib to /lib directory. But somehow, it doesn't feel like a proper/elegant solution. Instead of copying why not make links? On same file

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

2014-10-27 Thread Theo Schlossnagle
Just add LDFLAGS=-L/opt/omni/lib -R/opt/omni/lib to the arguments of configure. On Mon, Oct 27, 2014 at 10:35 PM, Michael Rasmussen m...@miras.org wrote: On Tue, 28 Oct 2014 01:59:23 +0530 Mayuresh Kathe mayur...@kathe.in wrote: Okay, got it working by manually copying the libdb.x files

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

2014-10-27 Thread Bob Friesenhahn
On Tue, 28 Oct 2014, Mayuresh Kathe wrote: Okay, got it working by manually copying the libdb.x files from /opt/omni/lib to /lib directory. But somehow, it doesn't feel like a proper/elegant solution. Ugh! For my own purposes I use a config.site file (e.g. /usr/local/share/config.site)