From: Gustaf N. <ne...@wu...> - 2018-05-12 09:16:43
|
On 10.05.18 04:01, Iuri Sampaio wrote: > Hi there, > > In attempt to to install and setup nsldap, I have changed > install-ns.sh script to look to HEAD repos but When running install-ns > build it returns > > ------------------------ Downloading sources ---------------------------- > abort: no repository found in '/usr/local/src/modules/nsdbbdb' (.hg > not found)! the error message means: your changes to install-ns are incorrect, you are trying to use mercurial on a non-mercurial directory (mercurial checks the .hg directory). You can can install the modules via source code management system (mercurial) or via the packaged tar file (recommended for beginners). > Then I realized that recompiling NS from HEAD could dangerous. rsrs! > > In another front, I've downloaded NSLDAP, available on bitbucket > https://bitbucket.org/naviserver/nsldap, but I don’t know how to > install and enable into my current Naviserver installation (i.e. > generating .so file in the proper location and so on). > > Do I need to recompile NS? Re-Installing it from scratch? > Where should I place nsldap source files? > > The information is not available on README.txt the cooking recipe for all modules is essentially the same. a) first install NaviServer (preferably on the standard place in /usr/local/ns, otherwise you have to specify for the compilation of a module "NAVISERVER=...") b) obtain the modules source code, either via the modules tar file from sourceforge (naviserver-*-modules.tar.gz) - this is preferred, or via mercurial (clone every single module you need) c) change to the directory of the modules and do make make install Sometimes, module specific configurations are need (e.g. paths to includes or libraries) as indicated in the README file of the module. the place, where you put the source files, does not matter. there is no need to recompile NaviServer, when adding modules. Hope, this helps -gn |