On Fri, 21 Oct 2005, Dan McGhee wrote:

 if test "$USE_XINERAMA" = "YES"; then
    AC_MSG_RESULT([yes, with $XINERAMA_LINK linking])
    AC_CHECK_HEADER(X11/extensions/Xinerama.h, [],
        [AC_MSG_ERROR(Xinerama header not found.)], [])

 <snipped rest of checks>

I don't understand the AC_CHECK_HEADER line. If you look at the tests for the libraries the path is $XLIB/lib/Xinerama*. In this line it's just /X11/extensions/Xinerama.h. There's nothing to indicate that /usr/X11R6/include is prepended. The configure script and the configure.in both contain "X11/extensions." I tried hacking them to indicate the full path. It still didn't configure.


ISTR that in the dim and distant past we used to make all sorts of funky symlinks to pacify old X applications. I'll take a guess that OOo is developed on a similarly old-fashioned system.

I won't be surprised if AC_CHECK_HEADER knows to look in the normal places for headers (e.g. /usr/include/), the path it supplies is clearly relative, so supplying an absolute path will probably NOT replace any prefix it automatically uses. Perhaps a temporary symlink (for the duration of the compile) to /usr/X11R6/include/X11 from /usr/include/X11. Or perhaps alter the configure script to ../X11R6/include/X11/extensions/Xinerama.h ?

Ken
--
 das eine Mal als Trag?die, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to