From: Stephen D. <sd...@gm...> - 2007-09-10 18:44:14
|
On 9/10/07, Vlad Seryakov <vl...@cr...> wrote: > Try to add this in the Makefile > > > ifdef POSTGRESQL > CFLAGS = -I$(POSTGRESQL)/include > MODLIBS = -L$(POSTGRESQL)/lib -lnsdb -lpq -Wl,-rpath,$(POSTGRESQL)/lib > endif > > include $(NAVISERVER)/include/Makefile.module > > > and then try to compile as > > make POSTGRESQL=/u01/pgsql8.2.4-dev > > see what happens > For 4.99.3 (yeah, I know...) I'd like to convert to automake. Something like this: http://naviserver.sourceforge.net/snapshots/naviserver-autotooled-4.99.2.tar.gz Modules would then not piggy-back on Makefile.module, but have their own configure scripts, and problems like this wouldn't be so common, hopefully. Feedback on the *-autotooled above appreciated... |