[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder fails when looking for X / XOpenDisplay [solved]




On Thu, Aug 11, 2005 at 04:55:44AM -0700, Steve Langasek wrote......
 
> Well, ironically enough, most of the answer is in the subject of
> this thread.
> 
> The problem with AC_PATH_X is that it checks for a particular
> function which is provided by the Xt library, not by libX11.  The
> fix for this is that AC_PATH_X takes optional arguments, telling
> it to check a different function/lib:
> 
>   AC_PATH_X([X11], [X11/Xlib.h], [XOpenDisplay(NULL)])
> 
> That should be enough to get AC_PATH_X working with libx11-dev
> only.


That did the trick for me (using the revised AC_PATH_X with options
and only libx11-dev).

Many thanks.

Kevin


-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941  http://rustybear.com/publickey

Attachment: signature.asc
Description: Digital signature


Reply to: