Hi there,

In attempt to upgrade Naviserver to v.4.99.16 I’ve got the following error, 
running the current installation script install-ns.sh, available at GIT 
repository https://github.com/gustafn/install-ns.git 
<https://github.com/gustafn/install-ns.git>

Operating System: Debian 7 (wheezy)
Database: PostgreSQL 9.1 (installed via apt-get install)

Isn’t PGRES_SINGLE_TUPLE a processor MACRO on Postgres scripts?

Should I instal PostgreSQL 9.5 to Debian Wheezy, using backports.  I’m afraid 
of crashing my OS, if I install proceed 

https://www.tqhosting.com/kb/608/How-to-install-PostgreSQL-95-on-Debian-76-Wheezy.html
 
<https://www.tqhosting.com/kb/608/How-to-install-PostgreSQL-95-on-Debian-76-Wheezy.html>


modules/websocket/websocket-procs.tcl
gcc -I/usr/include/postgresql -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  
-pipe  -I/usr/local/ns/include -I"/usr/local/ns/include"  -DHAVE_CONFIG_H    -c 
-o nsdbpg.o nsdbpg.c
In file included from /usr/local/ns/include/nsthread.h:45:0,
                 from /usr/local/ns/include/ns.h:41,
                 from /usr/local/ns/include/nsdb.h:40,
                 from dbpg.h:54,
                 from nsdbpg.c:37:
/usr/local/ns/include/nsconfig.h:23:0: warning: "HAVE_CRYPT" redefined [enabled 
by default]
In file included from dbpg.h:47:0,
                 from nsdbpg.c:37:
/usr/include/postgresql/pg_config.h:95:0: note: this is the location of the 
previous definition
nsdbpg.c: In function 'Exec':
nsdbpg.c:497:10: error: 'PGRES_SINGLE_TUPLE' undeclared (first use in this 
function)
nsdbpg.c:497:10: note: each undeclared identifier is reported only once for 
each function it appears in
make: *** [nsdbpg.o] Error 1




I’ve noticed when I try to start Naviserver I get the following error related 
to TCL Libthread 2.8.2. However, I believe that’s secondary problem, because of 
the issue faced in the installation process.


[01/Apr/2018:22:07:54][2833.b71076c0][-main-] Notice: modload: loading module 
libthread from file /usr/local/ns/lib/thread2.8.2/libthread2.8.2.so
[01/Apr/2018:22:07:54][2833.b71076c0][-main-] Error: modload: 
/usr/local/ns/lib/thread2.8.2/libthread2.8.2.so: cannot find symbol 
"Ns_ModuleInit": /usr/local/ns/lib/thread2.8.2/libthread2.8.2.so: undefined 
symbol: _Ns_ModuleInit
[01/Apr/2018:22:07:54][2833.b71076c0][-main-] Fatal: modload: failed to load 
module '/usr/local/ns/lib/thread2.8.2/libthread2.8.2.so'


Best wishes,
Iuri
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to