Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2a8ae9380ab1c7c81d57e763d0b80f540861b36b
Ticket: 218350ffffffffffffffffffffffffffffffffff
Can not get "make test" to work during installation of tcl 8
User & Date: nobody on 2000-10-26 00:56:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4100 Bug
    Version: 8.2.3
    SubmitDate: '2000-01-27'
    LastModified: '2000-01-29'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: Solaris 2.6
    Machine: UltraSPARC 2
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-29'
    
    
    Name: R. P. C. Rodgers
    
    ReproducibleScript:
    Dear tcl Colleagues,
    
    I can not get theh "make test" procedure to work during the installation of
    tcl 8.2.3.
    
    Appended find my complete installation record, slightly edited to reduce file
    size.
    
    Thanks and Cheerio, Rick Rodgers ([email protected])
    
    LOCAL INSTALLATION NOTES
    
    Package Name: tcl
    Version: 8.2.3
    Release Date: 16 December 1999
    Origin: http://www.scriptics.com/products/tcltk/choose.html, http://www.scriptics.com/support/howto/compile.html#unix
    Author: Scriptics Corporation
    Language: C
    Software Description:
    Tcl is an open source embeddable command language;
    tk is a graphical user interface toolkit;
    many useful applications such as expect are built on top of tcl/tk
    Installer: R. P. C. Rodgers
    Installation Date: 27 January 2000
    Installation Location: Bethesda MD
    Installation Host: tintin.nlm.nih.gov
    Installation Hardware: SunOS tintin 5.6 Generic_105181-04 sun4u sparc SUNW,Ultra-2
    Compiler: gcc 2.95.2
    Installation OS: Solaris 2.6
    Host-specific installation:
    User-specific installation:
    Software used by this package for operation:
    Software used by this package for installation:
    Software depending on this package for operation: db 3.0.55
    Software depending on this package for installation:
    Environment variables:
    Notes:
    For many applications of tcl, you will need to set the TCL_LIBRARY environment
    variable: setenv TCL_LIBRARY /depot/package/tcl_8.2.3/lib
    Based on installation of older releases, we may need to move tclConfig.sh from
           /depot/package/tcl_8.2.3/lib
    to
          /depot/package/tcl_8.2.3
    to eliminate an error during installation of tcl-cp, a package that
    adds TCP, UDP, IP-multicast connection management, remote procedure call
    (RPC), and distributed object protocols to tcl.
    --------------------------------------------------------------------------------
     1) Unpack the distribution file into a directory named tcl_8.2.3:
    
           gunzip tcl8.2.3.tar.gz
           tar xvf tcl8.2.3.tar
           mv tcl8.2.3 tcl_8.2.3
           cd tcl_8.2.3
    
     2) Enter the UNIX build directory:
    
           cd unix
    
     3) Clean up (a precaution):
    
           make distclean
    
        [transcript appended]
    
     4) Configure for installation in the depot directory hierarchy:
    
           ./configure  --prefix=/depot/package/tcl_8.2.3  --enable-gcc  --enable-threads  --enable-shared
    
        [transcript appended]
    
     5) Create tclsh and library libtcl.a/libtcl.so
    
           make
    
        [transcript appended]
    
     6) Install tcl:
    
           make install
    
        [transcript appended]
    
     7) Create links to support versionless executable names:
    
           ln -s /depot/package/tcl_8.2.3/bin/tclsh8.2  /depot/package/tcl_8.2.3/bin/tclsh
           ln -s /depot/package/tcl_8.2.3/lib/libtcl8.2.so  /depot/package/tcl_8.2.3/lib/libtcl.so
           ln -s /depot/package/tcl_8.2.3/lib/libtclstub8.2.a  /depot/package/tcl_8.2.3/lib/libtclstub.a
           ln -s /depot/package/tcl_8.2.3/lib/tcl8.2  /depot/package/tcl_8.2.3/lib/tcl
    
     8) As our local system management conventions do not support the use of a
        ".n" man page extension, move these manual pages to section 3:
        Run the script "updateman.sh", which will move the files, renaiming them
        and editing their .TH lines, replacing " n " with " 3 ":
    
           ../updateman.sh /depot/package/tcl_8.2.3/man
    
        The updateman.sh script was written by RPCR and should be carried forward
        to future installations from this one.
    
        [transcript appended]
    
     9) Set the TCL_LIBRARY variable to hold the full path name of the lib
        subdirectory:
    
           setenv TCL_LIBRARY /depot/package/tcl_8.2.3/lib
    
    10) Run the test suite (do not run these as superuser, which will cause several
        of them to fail):
    
           su <some other user>
           cd ../tests
           make test
           [^D or logout or exit, to leave su'ed state and return to root]
    
        [transcript appended]
    
    11) Copy the README.LOCAL file into the installation tree:
    
           cd  ..
           cp README.LOCAL /depot/package/tcl_8.2.3
           chown root:root /depot/package/tcl_8.2.3/README.LOCAL
           chmod 644 /depot/package/tcl_8.2.3/README.LOCAL
    
    12) Complete the depot portion of the installation:
    
           mv /depot/package/tcl_8.2.3 /depot_server/sparc/SunOS5.6/package
              [or equivalent]
           [edit /depot/.priority if required, to mount this version instead of
           any older ones that are already installed within the depot repository]
           depot_init
    
    13) If you intend to install tk or other packages that rely on tcl source,
        do so at this point, prior to cleaning up.
    
    14) Clean up:
    
           make distclean
    
        [transcript appended]
    
    -------------------------------------------------------------------------------
    Output from initial "make distclean" command:
    
    tin[root]csh:554>make distclean
    make: Fatal error: Don't know how to make target `distclean'
    
    --------------------------------------------------------------------------------Output from "sh ./configure" command:
    
    tin[root]csh:555>./configure  --prefix=/depot/package/tcl_8.2.3  --enable-gcc  --enable-threads  --enable-shared
    creating cache ./config.cache
    checking for ranlib... ranlib
    [...deletions...]
    --------------------------------------------------------------------------------Output from "make" command:
    
    tin[root]csh:556>make
    
    gcc -pipe -c -O -Wall -Wconversion -fPIC  -I./../generic -I.  -DHAVE_UNISTD_H=1
    -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -D_REENTRANT=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
    -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
    [...deletions...]
    --------------------------------------------------------------------------------Output from "make install" command:
    
    tin[root]csh:557>make install
    Making directory /depot/package/tcl_8.2.3/lib
    [...deletions...]
    --------------------------------------------------------------------------------Output from "../updateman" command:
    
    tin[root]csh:591>../updateman.sh /depot/package/tcl_8.2.3/man
    
    updateman.sh (message) beginning to process manual pages in
       /depot/package/tcl_8.2.3/man/man3
    
    updateman.sh (message) successfully processed file: ./Http.n
    [...deletions...]
    --------------------------------------------------------------------------------Output from "make test" command:
    
    tintin% make test
    make: Fatal error: Don't know how to make target `test'
    [FAILED]
    
    --------------------------------------------------------------------------------Output from final "make distclean" command:
    
    tin[root]csh:595>make distclean
    rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out  errors tclsh tcltest lib.exp
    if test -f dltest/Makefile; then cd dltest; make clean; fi
    rm -rf Makefile config.status config.cache config.log tclConfig.sh  SCRPtcl.* prototype
    if test -f dltest/Makefile; then cd dltest; make distclean; fi
    
    --------------------------------------------------------------------------------
    
    
    
    This looks like possible user error.  The user is getting some
    depot version (that has extra package info?) that is not the
    Scriptics distribution.  However the problem seems to be that
    the user is in the wrong directory.  All the other command lines
    show are of the form:
    
        tin[root]csh:557>(command here)
    
    while for the make test, it is:
    
        tintin% make test
    
    I suspect that the user tried in the wrong xterm, user state,
    or directory to do the test.  This should be done where the
    other make actions worked. 
    -- 01/29/2000 hobbs
    
  4. foundin changed to: "final: 8.2.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to:
    Can not get "make test" to work during installation of tcl 8
    
  11. type changed to: "Bug"