libXres cannot find Xutil.h and Xlibint.h
Alan Coopersmith
alan.coopersmith at oracle.com
Tue Jun 25 00:54:15 UTC 2019
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 at 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 at 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 at oracle.com
> <mailto:alan.coopersmith at oracle.com>
> Oracle Solaris Engineering - https://blogs.oracle.com/alanc
>
More information about the xorg
mailing list