This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: runing ./configure on gdb 7.5.50 sources


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@sourceware.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]