Ticket UUID: | 495976 | |||
Title: | install copies from base dir not modules | |||
Type: | Bug | Version: | None | |
Submitter: | nobody | Created on: | 2001-12-21 22:16:15 | |
Subsystem: | None | Assigned To: | techentin | |
Priority: | 8 | Severity: | ||
Status: | Closed | Last Modified: | 2002-01-22 01:11:10 | |
Resolution: | Fixed | Closed By: | andreas_kupries | |
Closed on: | 2002-01-21 18:11:10 | |||
Description: |
install.sh tries to copy from the base directory, not the modules subdirectory, so cp does not find the module directories: daruma# ./install.sh cp: cannot stat `base64/*.tcl': No such file or directory [etc] Fix: either cd to modules before the for loop, or change the cp commands in the for loop from: cp -f $j/*.tcl $TCLINSTALL/lib/tcllib1.1/$j ; \ cp -f $j/*.n $TCLINSTALL/man/mann ; \ to: cp -f modules/$j/*.tcl $TCLINSTALL/lib/tcllib1.1/$j ; \ cp -f modules/$j/*.n $TCLINSTALL/man/mann ; \ | |||
User Comments: |
andreas_kupries added on 2002-01-22 01:11:10:
Logged In: YES user_id=75003 Committed. Used in release 1.2 andreas_kupries added on 2002-01-18 01:46:21: File Added - 16294: mdist.diff Logged In: YES user_id=75003 The problem is that the release process as documented in the DOC section of this project is currently not in sync with what is done by 'make dist' as misses some important parts. But the script "mkInstallScripts.tcl" generates installation scripts for use with an archive generated by 'make dist' and not the release process. Unfortunately 'make dist' is not without problems either (it does not take the examples into account). Enlosed is now a patch which reworks the target 'make dist' so that it generates archives which contains both modules and examples (= where the directory structure is essentially a reduced variant of the raw directory structure instead of something completely different as currently, i.e. before this patch), wehere the generated install scripts are updated to deal with the new directory structure. After application of this patch the release process is much simpler: * Get tcllib from the tcllib CVS * Get config from the tclpro CVS * configure tcllib * make dist * Upload the generated archives. Asssigned for Bob Techentin for review. Bob, if this patch is ok IMHO we should regenerate the 1.1 archives too to fix the problem they currently have. Maybe even only the installation scripts in them. nobody added on 2002-01-04 01:59:46: Logged In: NO Note that this is also the case for INSTALL.BAT, which fails to install TclLib. |
Attachments:
- mdist.diff [download] added by andreas_kupries on 2002-01-18 01:46:21. [details]