DJ Lucas wrote: > Andreas Turriff wrote: >> Guy Dalziel wrote: >> >>> Matthew Burgess wrote: >>> >>> >>>> Using the book's default instructions, I get the following output in the >>>> run of ./configure for lesstif-0.95.0... >>>> >>>> Checking X11/extensions/Xrender.h usability... no >>>> Checking X11/extensions/Xrender.h presence... no >>>> >>>> >>> The same problem does indeed occur on my system, however it is not >>> "broken" as a result of it. >>> >>> >> I had the same thing. >> > Has this been addressed? I don't have the issue, but X is not in /usr > for me. On a default run, what does the "checking for X" message produce? > > checking for X... libraries /opt/X11/lib, headers /opt/X11/include
It produces the location of the X libraries and headers so the build can find them. Just because configure checks for something doesn't always mean that it's used. On the system I've been working on lately, I have: checking for X... libraries , headers (installed in /usr) checking for Xt Revision Number 6... revision 6 checking whether libXp is available... no checking whether to link -lXp... no checking for Motif... no checking whether libXt was compiled with -DXTHREADS... yes checking X11/extensions/Xrender.h usability... no checking X11/extensions/Xrender.h presence... no checking for X11/extensions/Xrender.h... no $ locate Xrender.h /usr/include/X11/extensions/Xrender.h Looking at configure, it has: yes) XRENDER_CFLAGS="-I$x_includes" XRENDER_LIBS="-L$x_libraries -lXft -lXrender" saved_LIBS="$LIBS" LIBS="$LIBS $XRENDER_LIBS" saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS" Now since I installed in /usr XRENDER_CFLAGS expands to "-I" which gcc flags as an error. If I change the lines above to: XRENDER_CFLAGS="" XRENDER_LIBS="-lXft -lXrender" I now get: checking X11/extensions/Xrender.h usability... yes checking X11/extensions/Xrender.h presence... yes checking for X11/extensions/Xrender.h... yes checking for XRenderParseColor... yes Another thing that works is: ./configure --x-includes=/usr/include --x-libraries=/lib Now I get: checking for X... libraries /usr/lib, headers /usr/include checking X11/extensions/Xrender.h usability... yes checking X11/extensions/Xrender.h presence... yes checking for X11/extensions/Xrender.h... yes checking for XRenderParseColor... yes Hope this helps. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page