Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3ABB9D58.7A0A8CD3@ece.gatech.edu> Date: Fri, 23 Mar 2001 14:00:40 -0500 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: nhv AT cape DOT com CC: cygwin AT cygwin DOT com Subject: Re: building the _tkinter.a or _tkinter.dll for cygwin References: <001701c0b3b7$1365ce40$a300a8c0 AT nhv> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Norman Vine wrote: > > Charles S. Wilson writes: > >Be warned that doing this will clobber the pseudo-X11 include file > >"/usr/include/X11/x11.h" that is part of the cygwin xpm package; this > >include file is for the "noX" version of xpm. > > Nope > > noX xpm installs > /usr/include/X11/simx.h > /usr/include/X11/xpm.h > > and noX Tk installs > /usr/include/X11/cursorfont.h > /usr/include/X11/keysym.h > /usr/include/X11/keysymdef.h > /usr/include/X11/X.h > /usr/include/X11/Xatom.h > /usr/include/X11/Xfuncproto.h > /usr/include/X11/Xlib.h > /usr/include/X11/Xutil.h > > so there is no clash :-) Doh! I forgot about that fix in xpm.h. It *used* to always include some random X11 header file, and *that* header file was included in the xpm dist and clashed with tk/tcl. NOW, if XPM_NO_X || FOR_MSW, xpm.h only includes "simx.h"; xpm.h includes X11 headers if the previous flags are NOT defined. So, the extraneous X11 files are not included in the xpm dist. Implication: you can't build X-based xpm apps unless you also have the x11 headers / libs installed in /usr/X11R6/*. Fair enough -- and there is no conflict with tk/tcl. Thanks for the correction. > > >Why can't the tcl/tk x11 include files live in the *normal* > >/usr/X11R6/include/X11 location? > > This would work but .... > > FWIW > I believe that /usr/include/X11 is where they were installed > before they were pulled from the distribution, and wouldn't > putting them there cause real 'X' conflicts ? > probably. :-) --Chuck -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple