I'm doing some work for a customer of mine, and he is still running
aolserver 3!!!
It is 15 years system running on fedora server! really old one with
postgres 8.
In my test I have manage to move the server to work with postgres 9.6 and
aolserver 4.5, but I still on the process for moving it to run under
NaviSever.
I want it to be run with the latest navisever and postgres 10.
The problem is with the ns_share command.
The server use some old tcl script from ArsDigita-Community-System-3.2.3
which use ns_share command many times. I would like to avoid fixing the
code here.
I saw there is some module name that implements some long-depreciated old
AOLserver commands
<https://bitbucket.org/naviserver/nsshare/src/099864af6816?at=default>.
However I never managed to compile it.
I get some error like this:
root@devplatfrom:/tmp/1# make NAVISERVER=/usr/lib/naviserver
DESTDIR=/tmp/121212/
gcc -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -g -O2
-fdebug-prefix-map=/build/tcl8.6-1Mwawt/tcl8.6-8.6.8+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security
-fno-unit-at-a-time -pipe -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/lib/naviserver/include -I"/usr/include/tcl8.6" -DHAVE_CONFIG_H
-c -o nsshare.o nsshare.c
nsshare.c:93:1: error: conflicting types for ‘InitInterp’
InitInterp(Tcl_Interp *interp, void *arg)
^~~~~~~~~~
nsshare.c:46:24: note: previous declaration of ‘InitInterp’ was here
static Ns_TclTraceProc InitInterp;
^~~~~~~~~~
nsshare.c:46:24: warning: ‘InitInterp’ used but never defined
nsshare.c:93:1: warning: ‘InitInterp’ defined but not used
[-Wunused-function]
InitInterp(Tcl_Interp *interp, void *arg)
^~~~~~~~~~
<builtin>: recipe for target 'nsshare.o' failed
make: *** [nsshare.o] Error 1
Looking in the code, it seems to be like all other modules which I manage
to build, (nsaccess for example or nsdbpg etc..)
What do I missing? as to do refactoring to the
ArsDigita-Community-System-3.2.3
<https://github.com/MikeSisk/ArsDigita-Community-System-3.2.3/tree/master/tcl>
might be a huge risk.
I saw this https://openacs.org/forums/message-view?message_id=4263411, so I
guess there is a work around, and it might be even better to work with nsv
commands, But maybe we can make the module works?
Thank You!
------------------------------------------------------------------------------
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