X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=aR6n/Gle7FcpuR8Hh7UnDgfyyiFyGhdayCqXMgQpNmeWYFrGRWeOX 72RU5qMvPZ8WC5Mv7o5BSnsc0jRY/LrcM/I/VzdSlQPk/hUiDQQGl5eUFmhy0XoB fbaMUlQQui4JBrJG66W6Q8kbmxvK3gkGF2n0o001qjMLEpPOcr0vRk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=Xzkp5DkBHmsSbMCXq9M7ERiRiMk=; b=CGJ0sXeQvQTppvd5yFF8c1+ZiahP eyD6GiOUsfrG/6YDkGnFE6gzKYPMFNHUE5xQEnmSYyScDEqRg2n6j1Na5P7QF/QU tGB9WbAPJI0d17Um7nsF58uxIG3ALAp9hfC5WoOgNaoj61t8GoXQ23f4XPKms4XS K9QsMFtYRfpJELU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 To: cygwin AT cygwin DOT com From: Kris Thielemans Subject: Re: runing ./configure on gdb 7.5.50 sources Date: Tue, 23 Jul 2013 01:38:55 +0000 (UTC) Lines: 46 Message-ID: References: <50ED3EED DOT 7010707 AT upc DOT edu> <50ED8693 DOT 9040805 AT cs DOT utoronto DOT ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) Kris Thielemans writes: > I'm using gdb-7.6.50-2 on cygwin 1.7.22-1. All freshly updated today. > > Further investigation shows that > - this file exists in cygwin as /usr/include/tcl8.5/generic/tclInt.h > - /usr/lib/tclConfig.sh sets TCL_INCLUDE_SPEC='-I/usr/include' > - there is no /usr/include/tcl-private > - a similar problem exists in the next check CY_AC_TK_PRIVATE_HEADERS which > checks for ${TK_INCLUDE_SPEC}/tk-private/generic/tkInt.h, which is in fact > in /usr/include/tcl8.5/generic/tkInt.h. > > A look in the tcl source package of cygwin shows that it has a tcl.m4 which > checks for ${TCL_SRC_DIR}/generic/tclInt.h > > So, it seems to be that gdb/acinclude.m4 is incorrect and should use > TCL_SRC_DIR as well. > > I can get round this problem by doing the following > > cd /usr/include > ln -s tcl8.5 tcl-private > ln -s tcl8.5 tk-private > so, I now do get through the configure, but then "make" fails later with a message that gcc cannot find guitcl.h. Indeed it's not on my system. Is this supposed to be generated somehow? In attempt to get through this, I configured: ../../gdb-7.6.50-2/gdb/configure CFLAGS="-g -O0" --without-tcl --without-tk but that fails with the interesting double-negative error message. checking for Tcl configuration... configure: error: no directory doesn't contain tclConfig.sh so... I still cannot compile gdb from source on cygwin. Any hints? Kris -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple