Giter Club home page Giter Club logo

install-ns's Issues

Debian 9.8 - Error with install Navi

modules/websocket/log-view.adp
modules/websocket/log-view.tcl
modules/websocket/makevars.txt
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
#define HAVE_CRYPT /**/

In file included from dbpg.h:47:0,
from nsdbpg.c:37:
/usr/include/postgresql/pg_config.h:122:0: note: this is the location of the previous definition
#define HAVE_CRYPT 1

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 tclcmds.o tclcmds.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 tclcmds.c:37:
/usr/local/ns/include/nsconfig.h:23:0: warning: "HAVE_CRYPT" redefined
#define HAVE_CRYPT /**/

In file included from dbpg.h:47:0,
from tclcmds.c:37:
/usr/include/postgresql/pg_config.h:122:0: note: this is the location of the previous definition
#define HAVE_CRYPT 1

/bin/rm -Rf nsdbpg.so
gcc -shared -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 -L/usr/local/ns/lib -o nsdbpg.so nsdbpg.o tclcmds.o -L/usr/lib -Wl,-rpath,/usr/lib -lnsdb -lpq -lnsthread -lnsd -L/usr/local/ns/lib -ltcl8.6 -lgcc_s -lieee -lm -Wl,--export-dynamic -L/usr/local/ns/lib -lssl -lcrypto -Wl,-rpath,:/usr/local/ns/lib
/usr/local/ns/bin/install-sh -c nsdbpg.so /usr/local/ns/bin/
------------------------ Installing Tcl Thread library -----------------------

install-oacs.sh needs build_dir and ns_install_dir fixes

The install-oacs.sh script does not respect the build_dir and ns_install_dir variables set on the command line. Thus if I set non-default values for those when running install-ns.sh, install-oacs.sh breaks because it ignores the values I give for those variables. The fix is easy, just copy the one-line setup code for each variable from install-ns.sh.

Fix path for tdom version 0.9.2

The tdom version 0.9.2. after unpacking has path ${tdom_base}-src. The script install-ns.sh is using path ${tdom_base}. As variant I propose applying the following changes (from line number 762):

     #${tar} xfz tDOM-${version_tdom}.tgz
-    cd ${tdom_base}/unix
+    # if tdom version 0.9.2 path is ${tdom_base}-src
+    if [ -d "${tdom_base}-src" ] ; then
+        cd ${tdom_base}-src/unix
+    else
+        cd ${tdom_base}/unix
+    fi

install-oacs.sh cannot stat '/usr/local/ns/openacs-config.tcl' : No such file..

This is on a new Ubuntu 14.04 install. I suspect bad reference is due to changes in naviserver file locations. 'openacs-config.tcl' is found in /usr/local/ns/conf/

install-ns.sh and invoking nsd command works.

Error occurs with: sudo ./install-oacs.sh build

Full error message follows:
cp: cannot stat โ€˜/usr/local/ns/openacs-config.tclโ€™: No such file or directory
couldn't open "/usr/local/ns/config-oacs-oacs-5-8.tcl": no such file or directory
while executing
"open $fn"
invoked from within
"set file [open $fn]"
(file "/tmp/subst.tcl" line 2)
Writing /etc/init/oacs-oacs-5-8.conf

Shall I submit a general fix based on assumption of new file location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.