On 28 February 2006 at 21:27, Junichi Uekawa wrote:
| Hi,
| 
| > | | Checking the diff of the log between the two runs; here is an obvious 
difference (on my environment).
| > | | 
| > | | -checking for X... libraries /usr/X11R6/lib, headers
| > | | +checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
| > | | 
| > | | In pbuilder chroot, the X header location is not detected; which kind 
of rings a bell.
| > 
| > The wicked witch is dead, at last. The bug is squashed. I altered
| > debian/rules to call as 
| > 
| >             R CMD INSTALL -l $(debRlib)                                \
| >                     --configure-args="--x-includes=/usr/X11R6/include" \
| >                     --clean .
| 
| One weird thing is that X11/Intrinsic.h is available from the standard search 
path
| /usr/include/ as /usr/include/X11/Intrinsic.h because of:
| 
| lrwxrwxrwx 1 root root 20 2006-01-24 07:26 /usr/include/X11 -> 
../X11R6/include/X11
| 
| and thus include path of /usr/X11R6/include shouldn't really be
| necessary (that's why it's empty inside pbuilder).

Could that be why autoconf doesn't fill the variable ${x_includes} by
default?  In which case the unconditional assignment

  CPPFLAGS="${CPPFLAGS} -I${x_includes}"

in rgl's configure.ac is a bug as it doesn't test for ${x_includes} being
empty. 

The funny thing is that ${x_libraries} gets filled so that

  LIBS="${LIBS} -L${x_libraries} -lX11 -lXext"

doesn't blow up. I don't know enough autoconf, and have to run to work now,
to dig deeper here.

Dirk
 
-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to