How to build xorg-server 1.5?

Dan Nicholson dbn.lists at gmail.com
Fri Jun 27 12:40:30 PDT 2008


On Fri, Jun 27, 2008 at 12:12 PM, Mohan Parthasarathy
<suruti94 at gmail.com> wrote:
>
>>
>> >>
>> >> How are you building mesa? Are you using ./configure or are you using
>> >> "make linux-dri" or something like that? What platform is this on? Is
>> >> libGL being linked to libXdamage?
>> >
>> > That was the problem. libGL was pointing to /usr/lib/libXdamage. My X
>> > stuff
>> > is all under "modular".
>> > But including option --x-includes and --x-libraries when configuring
>> > mesa
>> > still makes libGL.so point
>> > to /usr/lib/. What option should i use for using the X includes and libs
>> > under "modular" which was
>> > populated when building X.
>>
>> Are you setting PKG_CONFIG_PATH? Mesa will first try to find the X
>> libraries through pkg-config, which will be true for you since you're
>> building for Xorg. If you aren't putting $youdirectory/lib/pkgconfig
>> at the front of PKG_CONFIG_PATH, pkg-config will only search in the
>> system paths, /lib and /usr/lib. Read docs/autoconf.html in the mesa
>> tree.
>
> Yes, PKG_CONFIG_PATH was set. After using --x-include, --x-libs option and
> a make clean, the problem is now fixed.  I guess this can be made simpler
> :-)

You shouldn't need to pass --x-includes at all. Does configure fail if
you don't pass those options? Does it pick up the correct xdamage?

--
Dan



More information about the xorg mailing list