[ 
https://issues.apache.org/jira/browse/TS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773167#action_12773167
 ] 

Stephane Belmon commented on TS-3:
----------------------------------

tcl.m4 comes with TCL I believe. http://tinyurl.com/yzm7ogs

This is really weird -- based on what is in my RH's /usr/share/aclocal, it 
feels like an oversight on their part. 
It's not needed if all you do is "./configure && make" on some tree which needs 
tcl headers. 
That might explain it.

>From what I can see, the .rpm world doesn't have it in tcl-devel; the .deb 
>world does.


> Finding TCL library
> -------------------
>
>                 Key: TS-3
>                 URL: https://issues.apache.org/jira/browse/TS-3
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Assignee: Andrew Hsu
>            Priority: Minor
>
> And make the checks have some teeth. tcl.h is in /usr/lib/tclx.y on Ubuntu at 
> least. This assumed TCL >= 8.4, but that's ancient already.
> Index: configure.ac
> ===================================================================
> --- configure.ac        (revision 831451)
> +++ configure.ac        (working copy)
> @@ -376,8 +376,13 @@
>  # 
> -----------------------------------------------------------------------------
>  # 5. CHECK FOR HEADER FILES
>  
> -AC_CHECK_HEADER([execinfo.h],[],[])
> +AC_CHECK_HEADER([execinfo.h],[],[AC_MSG_FAILURE(Cannot find execinfo.h)])
>  
> +SC_PATH_TCLCONFIG
> +source $TCL_BIN_DIR/tclConfig.sh
> +CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
> +AC_CHECK_HEADER([tcl.h],[],[AC_MSG_FAILURE(Cannot find tcl.h)])
> +
>  #
>  # use modular IOCORE 
>  #
> --
> Stephane Belmon

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to