On Friday 23 November 2001 18:21, you wrote:
> Thank you TD,
>
> I did look for that file using konqueror's find file
> option, it isn't there :-(
> Sorry for the analogy, but the includes seem to be
> like .dlls in windoze, right?
Yea that's correct. No analogy here :-) dll are dynamic link libraries. I
wouldn't know the extension for static libraries under windows. In linux you
have both tho'
> Is it just x.h that I need or are there any other
> 'includes'? Should I be looking for a package that
> contains x.h or is it some X package that I don't have
> installed? My X works well, maybe it's some
> development package that contains x.h.
> Thank you again for your help.
What package are you trying to compile?
I did a search on my system. Really odd... my older kernels (2.2.19 and
2.4.5) have a x.h (with a small x) under
kernel-source/include/config/input/mousedev/screen/x.h
(2.4.9 and 2.4.14 don't have it)
also I have a /usr/X11R6/include/X11/X.h (capital X)
This is it's top:
/*
* $Xorg: X.h,v 1.3 2000/08/18 04:05:43 coskrey Exp $
*/
/* Definitions for the X window system likely to be used by applications */
#ifndef X_H
#define X_H
/***********************************************************
Copyright 1987, 1998 The Open Group
All Rights Reserved.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
/* $XFree86: xc/include/X.h,v 1.4 2001/01/17 17:53:09 dawes Exp $ */
This appears to be part of X. Maybe you haven't installed a package. I think
it may be called X-includes or something like that.
Other files I have in that dir are:
bash-2.05# pwd
/usr/X11R6/include/X11
bash-2.05# ls
Composite.h Intrinsic.h Shell.h XKBlib.h Xdefs.h Xmu
Xutil.h pixmaps
CompositeP.h IntrinsicP.h ShellP.h XWDFile.h Xdmcp.h Xos.h
ap_keysym.h xpm.h
ConstrainP.h Object.h StringDefs.h Xalloca.h Xft Xos_r.h
bitmaps
Constraint.h ObjectP.h Sunkeysym.h Xarch.h Xfuncproto.h Xosdefs.h
cursorfont.h
Core.h PEX5 Vendor.h Xatom.h Xfuncs.h Xpoll.h
extensions
CoreP.h PM VendorP.h Xauth.h Xlib.h Xproto.h
fonts
DECkeysym.h RectObj.h X.h Xaw Xlibint.h
Xprotostr.h keysym.h
HPkeysym.h RectObjP.h X10.h Xaw3d Xlocale.h
Xresource.h keysymdef.h
ICE SM XF86keysym.h Xcms.h Xmd.h Xthreads.h
magick
Perhaps you can check which packages you have installed and look in the
descriptions of the ones you didn't install if they contain those files
Regards
>
> --- "TD - Sales International Holland B.V."
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 22 November 2001 17:03, you wrote:
> > Try this to see if that file really isn't on your
> > system
> > find / -name x.h -print
> > find will search
> > / starting at the / (root) directory
> > -name for an exact name (since we don't use
> > wildcards)
> > x.h the file you're looking for
> > -print prints what it finds to the console
> >
> > includes usually are libraries. Since a lot of code
> > is used by more than one
> > program people use libraries. That way you only have
> > to write a function
> > once, put it in a library and then any program that
> > includes the library can
> > use that function. Also if program a, b and c are
> > using that function and
> > there is a bug in it you only need to replace that
> > library with a fixed one
> > and all those programs will no longer have the bugs
> > also since they use the
> > new function from the library
> >
> > regards
> >
> > > Hi,
> > >
> > > I was trying to install a package and the first
> >
> > step
> >
> > > was to run ./configure. It stops with the can't
> >
> > find X
> >
> > > includes message. I did some research and
> >
> > apparently
> >
> > > it can't find stuff like x.h, which is supposed to
> > > reside in include/X11. There is no such
> >
> > subdirectory
> >
> > > under include/.
> > > My distro is: Mandrake 8 with KDE 2.
> > > What's this about?
> > >
> > > Thanks in advance.
>
> _______________________________________________________
>
> > > Build your own website in minutes and for free at
> >
> > http://ca.geocities.com
> >
> > > _______________________________________________
> > > Newbie mailing list
> > > [EMAIL PROTECTED]
> > > *** To unsubscribe , or change message options,
> >
> > see:
> > > http://XFree86.Org/mailman/listinfo/newbie
> >
> > _______________________________________________
> > Newbie mailing list
> > [EMAIL PROTECTED]
> > *** To unsubscribe , or change message options, see:
> > http://XFree86.Org/mailman/listinfo/newbie
>
> _______________________________________________________
> Build your own website in minutes and for free at http://ca.geocities.com
> _______________________________________________
> Newbie mailing list
> [EMAIL PROTECTED]
> *** To unsubscribe , or change message options, see:
> http://XFree86.Org/mailman/listinfo/newbie
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie