gustafn / install-ns Goto Github PK
View Code? Open in Web Editor NEWInstall scripts for Naviserver and/or OpenACS
License: MIT License
Install scripts for Naviserver and/or OpenACS
License: MIT License
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 -----------------------
Line 52 of install-ns.sh reads
# "libpg-fe.h"
Believe that should be
# "libpq-fe.h"
When I run the install-ns.sh script, around line 443 I receive an error about the file not being a valid gunzip or tar file. To resolve this, I had to manually download the module, create the module folder, comment out the if statement around lines 443 and run the script again. (Ubuntu 14.04 server)
https://github.com/gustafn/install-ns/blob/master/install-ns.sh#L443
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
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?
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.
Line 455 in 5f97fb4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.