| delorie.com/archives/browse.cgi | search |
| 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=EkTmx1cT1ftbOjAk9W3uIv/HB4hdKq7Si5o0tulUzcauZ7Jo5M69i | |
| iqeocauI2hzRko6a6oUMenR5vnzyjWJ6u5DdsmPK82QPyWD2WTRj4CCBzse86388 | |
| hfA2/EVAZPGCWznMkn9OeTxIsoaT6grzFNFcb0vIUPPVlaNUz2G96c= | |
| 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:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=MSbYO3lKRqcqYEnI6Q0t7FnHH8I=; b=sQ1rZEXfkdygYSzSKRXWZs7wXJMW | |
| sv5WQ3PvfeLG/fHK9+dH1gLhMx0KzaQxjVRWFNjmWnV3dBHKLTdVjnxTJYqNZdw3 | |
| Yc5lPc+tDtWNZXW4AXE6YdllhZBkA7XP016zQM7eH8usOBSJbypNNBB9auHgV/Hn | |
| +NdeiarAXEIDw98= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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.5 required=5.0 tests=AWL,BAYES_50,HK_OBFDOM,RDNS_NONE,TW_BT,TW_DB,TW_YG autolearn=no version=3.3.1 |
| Date: | Tue, 23 Jul 2013 09:17:21 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: runing ./configure on gdb 7.5.50 sources |
| Message-ID: | <20130723071721.GA9689@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <50ED3EED DOT 7010707 AT upc DOT edu> <50ED8693 DOT 9040805 AT cs DOT utoronto DOT ca> <loom DOT 20130723T012538-175 AT post DOT gmane DOT org> <loom DOT 20130723T033511-559 AT post DOT gmane DOT org> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <loom.20130723T033511-559@post.gmane.org> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 23 01:38, Kris Thielemans wrote:
> 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?
Here's my cygport file from the 64 bit GDB package:
NAME="gdb"
VERSION="7.6"
RELEASE=1
CATEGORY="Devel"
SUMMARY="The GNU Debugger"
DESCRIPTION="The GNU debugger, allows you to debug programs written in C, C++,
and other languages, by executing them in a controlled fashion
and printing their data."
HOMEPAGE="http://sourceware.org/gdb/"
SRC_URI="ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2"
#CVS_URI=":pserver:anoncvs AT sourceware DOT org:/cvs/src"
#CVS_BRANCH="HEAD"
#SRC_DIR="src"
#inherit cvs
CYGCONF_ARGS="--disable-gdbtk --with-system-readline"
src_compile() {
cd ${B}
cygconf
cygmake
}
HTH,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |