delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/06/11:14:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 6 Jun 2001 10:55:09 -0400
From: Agostino Deligia <adeligia AT alis DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ruby-1.6.4 on cygwin
Message-ID: <20010606105509.A628@ADELIGIA>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3B1CD4B5 DOT 330A91A2 AT yahoo DOT com> <3B1D5FC5 DOT 3020 DOT C69D61D AT localhost> <20010606210540 DOT A4055311 AT iij4u DOT or DOT jp> <20010606091318 DOT A1316 AT ADELIGIA> <20010606230718 DOT A3993661 AT iij4u DOT or DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010606230718.A3993661@iij4u.or.jp>; from madokam@dd.iij4u.or.jp on Wed, Jun 06, 2001 at 11:07:18PM +0900

On Wed, Jun 06, 2001 at 11:07:18PM +0900, Madoka Machitani wrote:
> Hi,
> 
> * Agostino Deligia <adeligia AT alis DOT com> [010606 22:25]:
> > I had to place the following X header files (from the Cygwin XFree86 project)
> > in /usr/include/X11 before configuring with --enable-shared so that tcltklib
> > would ger built and installed. Other than that, ruby 1.6.4 built
> > out-of-the-box.
> > 
> >    X.h
> >    Xfuncproto.h
> >    Xlib.h
> >    Xosdefs.h
> 
> Sounds strange.  I don't have any X-related thing on my hard disk.  I
> once tried Cygwin XFree you mentioned but now it's completely removed.
> 
> Sorry I can't make out why you had to have those headers.  Suggestions
> anyone?
> [...]

The ruby Tcl/Tk extension includes <tk.h> which itself contains the following
code snippet:

#ifndef _TCL
#   include <tcl.h>
#endif
#ifndef _XLIB_H
#   ifdef MAC_TCL
#       include <Xlib.h>
#       include <X.h>
#   else
#       include <X11/Xlib.h>
#   endif
#endif
#ifdef __STDC__
#   include <stddef.h>
#endif

Note the #include <X11/Xlib.h>. The latter header file itself includes the
other X headers I mentionned.

-- 
Agostino Deligia
Software Developer
Alis Technologies Inc.
adeligia AT alis DOT com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019