| Ticket UUID: | 526835 | |||
| Title: | install.bat not quite satisfactory | |||
| Type: | Bug | Version: | None | |
| Submitter: | arjenmarkus | Created on: | 2002-03-07 08:20:45 | |
| Subsystem: | None | Assigned To: | andreas_kupries | |
| Priority: | 8 | Severity: | ||
| Status: | Closed | Last Modified: | 2003-04-22 01:31:11 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2003-04-21 18:31:11 | |||
| Description: |
install.bat to install tcllib on Windows platforms may
fail for two reasons:
- The TCLINSTALL variable is set to the wrong directory
- the user is
supposed to set this variable him/herself by editing
the batch file prior
to installation.
- The TCLINSTALL variable may be not be set correctly
due to problems
with the environment space. This means that the
files will be copied into
an arbitrary directory \lib\tcllib1.2, rather than
under the proper subdirectory
of the installation.
A solution might be: use %1 instead of %TCLINSTALL.
Checking that this
first argument is not empty is easy and gives the batch
file the opportunity to notify the user:
if /%1 == / goto :message
rem Install the stuff
...
goto :end
:message
echo Usage: install <tcl-directory>
pause
:end
| |||
| User Comments: |
andreas_kupries added on 2003-04-22 01:31:11:
Logged In: YES user_id=75003 Ok, I consider this fixed: The .sh/.bat files and the old all-tcl installer are discontinued and removed, and the new all-tcl installer handles all these things. andreas_kupries added on 2003-04-12 04:37:38: Logged In: YES user_id=75003 Hrm. doctools, irc I don't know ... They are listed in MODULES of Makefile.in and in install.bat themselves. fileinput is a still-born module. Use option -P for cvs update/checkout to ensure that it is not in your CVs snapshot. It is also not part of the source distribution, and thus its non-installation is quite understandable. The other points about the env variable are taken. ... I will write up something about tcllib installation this weekend. If not, remind me. (I want to try a starpack based installer for windows, tarball and starkit for unix). dgp added on 2002-03-28 11:40:45: Logged In: YES user_id=80530 I don't have anything to add. arjenmarkus added on 2002-03-11 15:10:36: Logged In: YES user_id=400048 Further comments: install.bvat does not copy "doctools", "fileinput" and "irc" (note that "fileinput" is an empty module right now) | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki