Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:22 • Ticket [218630ffff] make test fails due to macro loop status still Closed wi... artifact: c11e030de0 user: dgp
2000-10-26
08:26 • Closed ticket [218630ffff]. artifact: 552d2dc4d6 user: welch
01:03 • New ticket [218630ffff]. artifact: 0e4108acaf user: nobody

make test fails due to macro loop

Closed / Fixed218630ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:21
OriginalBugID: 1517 Bug
Version: 8.1b2
SubmitDate: '1999-03-18'
LastModified: '1999-03-27'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: redman
RelatedBugIDs: 1520  1579
OS: Solaris
Machine: Other
FixedDate: '1999-03-27'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'


Name:
Paul E Coad

ReproducibleScript:
    in  tcl8.1b2/unix run
    ./configure --enable-gcc --enable-shared
    make
    make test
    
    



ObservedBehavior:
    make test fails:
    
    if test ! -f tclsh; then make tclsh; else true; fi
    cd dltest;
    PATH=..:/usr/sbin:/opt/UCBtcsh/bin:/usr/local/bin:/usr/ccs/bin:/bin:/
    usr/bin:/usr/ucb:/etc:.:/usr/openwin/bin TCL_LIBRARY=../../library make
    mksh: Fatal error in reader: Loop detected when expanding macro value
    `-L/export
    /home/pcoad/tcl/tcl8.1b2/unix -ltclstub8.1${TCL_DBGX} ${LIBS}'
    Current working directory /export/home/pcoad/tcl/tcl8.1b2/unix/dltest
    *** Error code 1
    make: Fatal error: Command failed for target `dltest/pkg5.so'
    
    



DesiredBehavior:
    "make test" should work.  You know what it should look like.
    





03/27/1999 15:25 - redman - Fixed, applied the patch below.

    I don't have a patch, but changing the line
    
    LIBS =         @TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
    to
    LIBS =          @TCL_BUILD_STUB_LIB_SPEC@ @TCL_LIBS@
    
    in dltest/Makefile.in seems to fix the problem.  I am not 100% sure this
    will fix the problem for all platforms since the 8.1b1 release included
    -c as well.
    
    I am using /usr/ccs/bin/make.
------
Related bug ID 1520 & 1579
welch Closed ticket [218630ffff]. [History diff]2000-10-26 08:26:09
dgp Ticket [218630ffff]: 3 changes [History diff]2001-04-05 08:22:17
Log in (anonymous is fine) to add a comment.