Am 03.09.14 00:06, schrieb Andrew Piskorski:
> Makefiles I understand, but Autoconf and configure not so much. Does 
> anyone have a good reference you can point me to for learning how to 
> debug this sort of autoconf hell? 
not sure about a good tutorial. unfortunately, the rpath depends on the 
OS, and on
Mac OS X, it is different to Linux. So, to really help you, i would have 
to set up the oracle
libs on Linux as well...

But maybe, the following helps:
- the rpath is handled via the tcl configuration (naviserver/m4/tcl.m4)
- it is supposed to be passed finally to the variables CCRFLAG and LDRFLAG
   in the installed naviserver/include/Makefile.global
- these variables are included finally in 
naviserver/include/Makefile.module
   in the rules for $(MOD) via NSLIBS

so, by looking at nsoracle, i see the following problems:
- the nsoracle/Makefile should include Makefile.module and not 
Makefile.global
- the reason, why it copied parts of Makefile.module seems to be related 
with
   the target of CASSANDRACLE

i have now made some more changes to bring nsoracle/Makefile closer
to the other NaviServer modules, and i still can compile and link under
Mac OS X.

Hope this help
-g


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to