Thank you!!! very much!
On Tue, Apr 17, 2018 at 3:05 PM Gustaf Neumann <neum...@wu.ac.at> wrote:
> ns_share is outdated since ages. the workaround in [2] is not fixinig
> ns_share, but replacing ns_share via nsv commands. Have you looked at [1]?
>
> -gn
> PS: i've fixed just now the nsshare module on bitbucket to make it compile
> with actual compilers, against actual version of Tcl and NaviServer. ...
> but this is no recommendation to use it.
>
> [1] https://naviserver.sourceforge.io/n/naviserver/files/nsv.html#section3
> [2] https://openacs.org/forums/message-view?message_id=4263411
>
> On 17.04.18 12:32, Sassy Natan wrote:
>
> 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
> listnaviserver-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
>
> --
> Univ.Prof. Dr. Gustaf Neumann
> WU Vienna
> Institute of Information Systems and New Media
> Welthandelsplatz 1, A-1020 Vienna, Austria
>
>
> ------------------------------------------------------------------------------
> 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
>
--
Regards,
Sassy Natan
972-(05)54-2203702
------------------------------------------------------------------------------
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