[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: libXres cannot find Xutil.h and Xlibint.h
From: Alan Coopersmith <alan.coopersmith () oracle ! com>
Date: 2019-06-25 0:54:15
Message-ID: d3de81ba-dc0f-9da5-4db1-2e0663f932f4 () oracle ! com
[Download RAW message or body]
If the files exist as
/media/34GB/Arquivos-de-Programas/X11-1.6.7/include/X11/Xutil.h
/media/34GB/Arquivos-de-Programas/X11-1.6.7/include/X11/Xlibint.h
then you need to remove the /X11 from the end of your CPPFLAGS so that
the compiler can find "X11/Xutil.h" under that path - otherwise you're
telling it to look for .../X11/X11/Xutil.h. If the files don't exist
at that path, then your installation of libX11 didn't work.
If your pkg-config file doesn't have the right include path, then you need
to fix that - this is a problem with your installation, not the software
provided by X.Org.
-Alan Coopersmith- alan.coopersmith@oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/alanc
On 6/24/19 5:49 PM, alexandre schenberg wrote:
> Alan I already installed libX11 (which include these two files) from source.
> From my original post, I am passing it through:
> PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/X11-1.6.7/lib/pkgconfig/:
> also tried a export
> CPPFLAGS=/media/34GB/Arquivos-de-Programas/X11-1.6.7/include/X11 to no avail
>
>
> 23.06.2019, 21:26, "Alan Coopersmith" <alan.coopersmith@oracle.com>:
>
> On 6/23/19 11:04 AM, alexandre schenberg wrote:
>
> Hello. I have been trying to compile libXres and have failed to do so,
> presumably because Xres cannot find Xutil.h and Xlibint.h due to some
> reason.
> Here is the beggining of the problem:
> make[2]: Entering directory
> `/media/34GB/Arquivos-de-Programas-Linux/libXres-1.2.0/src'
> CC XRes.lo
> XRes.c:9:25: error: X11/Xlibint.h: No such file or directory
> XRes.c:10:23: error: X11/Xutil.h: No such file or directory
>
>
> Those headers come from libX11, which libXRes requires. If you've not
> installed those headers to the place specified in the x11.pc file that
> the configure file reads their location from, then the build cannot work.
>
> --
> -Alan Coopersmith- alan.coopersmith@oracle.com
> <mailto:alan.coopersmith@oracle.com>
> Oracle Solaris Engineering - https://blogs.oracle.com/alanc
>
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic