From: Gustaf N. <ne...@wu...> - 2014-01-09 11:06:11
|
The problem are installations with multiple tcl and multiple tcllib installations, where e.g. the public installation of tcl does not contain tclllib, or an ancient version of tcllib, or installations not having tcl or tcllib installed in the public path. The change has a self-contained install dir for naviserver in mind, where e.g. /usr/local/ns contains a tclsh and a tcllib (using "--prefix=/usr/local/ns", as it is the case with the install scripts for naviserver + openacs from openacs.org). ... but you are right, one cannot assume this in general ... but "build-doc" is just for developers (the tar file releases of naviserver contain the generated manual pages) i am somewhat reluctant to extend "autoconf" for developers to require tcllib (in a matching version). For now, one can use "make DTPLITE=dtplite build-doc"; maybe it is better to keep the old version around for us few developers, and pass the a matching "DTPLITE=..." in for the full install script, that knows where tcl and tcllib is residing, ... unless someone has a better suggestion. -g Am 09.01.14 10:43, schrieb David Osborne: > Hello, > > With regards to the following change... I've since been having > problems with make build-doc not being able to find tclsh when trying > to run dtplite. > > https://bitbucket.org/naviserver/naviserver/commits/43ac5ab18616/ > Changeset: 43ac5ab18616 > User: gustafn > Date: 2014-01-04 17:33:39 > Summary: - use dtplite from $(NAVISERVER)/bin to avoid confusion > with other tcl installations on the same machine > Affected #: 1 file > > The build now gives errors like the following: > /bin/sh: 9: /usr/local/ns/bin/tclsh: not found > /bin/sh: 13: /usr/local/ns/bin/tclsh: not found > > Previously it would pick it up from the installed tcllib, which it > sounds like your specifically trying to avoid. > What is the intention for how tclsh and dtplite is installed to > $(NAVISERVER)/bin? Wondering if I am missing a build step at some point.. > > Regards, > -- > David > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://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 |