From: Gustaf N. <ne...@wu...> - 2017-06-07 07:55:56
|
Dear Ian, In your built process versions for NaviServer and the modules (nsdbpg) are probably not matching. The best is to use the released versions from sourceforge https://sourceforge.net/projects/naviserver/files/naviserver/4.99.15/ Note, that you should install NaviServer first, before building modules, such that the default module-Makefile picks up the right includes. -gn Am 07.06.17 um 00:56 schrieb Ian Harding: > I downloaded the tip from bitbucket.org <http://bitbucket.org> and > tried to build it against naviserver 4.99.15. > > I get an error like this: > > [root@web1 nsdbpg-0.2]# make NAVISERVER=/httpd/Naviserver49 > PGLIB=/usr/local/pgsql/lib PGINCLUDE=/usr/local/pgsql/include > gcc -I/usr/local/pgsql/include -g -Wall -fPIC -pipe > -I/httpd/Naviserver49/include -I"/usr/local/include" > -DHAVE_CONFIG_H -c -o nsdbpg.o nsdbpg.c > nsdbpg.c:58:1: error: unknown type name ‘NsDb_DriverInitProc’ > NS_EXPORT NsDb_DriverInitProc Ns_DbDriverInit; > ^ |