[Mesa-dev] Gallium softpipe driver build instructions

kumar vemuri kumar210in at gmail.com
Wed Mar 30 21:51:43 PDT 2011


OK. I tried doing ./configure with --enable-gallium-swrast and i get
this error:

checking for INTEL... configure: error: Package requirements
(libdrm_intel >= 2.4.19) were not met:

Requested 'libdrm_intel >= 2.4.19' but version of libdrm is 2.4.18

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables INTEL_CFLAGS
and INTEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Now i downloaded the src for libdrm version 2.4.19 and compiled and
installed it. Even then i see this prob. I may be doing something wrong.

Now i see two ways to solve this.
a. Fix the above error. I use ubuntu 10.04. I couldnt find libdrm-intel
2.4.19 or above in the synaptic manager. Any suggestions on fixing the
error would help.
b. i am thinking aloud here. i may be wrong. Pls correct me if so. I
dont want to use intel driver so i dont think i need libdrm-intel
(correct me if i am wrong) and hence i can ask the configure script to
skip this step. How do make the configure script to skip this step?


Thx
K





On Wed, 2011-03-30 at 15:42 +0200, Marek Olšák wrote:

> Try to add this configure parameter:
> 
> --enable-gallium-swrast
> 
> Marek
> 
> 
> On Wed, Mar 30, 2011 at 3:39 PM, kumar vemuri <kumar210in at gmail.com>
> wrote:
> 
>         Thanks Marek for the reply.
>         
>         I compiled Mesa with default params and i dont see
>         swrastg_dri.so built
>         in the lib/gallium directory. I am doing this on Mesa 7.8.2.
>         
>         am i missing something. Please let me know.
>         
>         thx
>         K
>         
>         
>         
>         
>         
>         On Wed, 2011-03-30 at 13:41 +0200, Marek Olšák wrote:
>         > Build Mesa with the default configure parameters and copy
>         > lib/gallium/swrastg_dri.so to /usr/lib/dri/swrast_dri.so
>         >
>         > Marek
>         >
>         > On Wed, Mar 30, 2011 at 7:42 AM, kumar vemuri
>         <kumar210in at gmail.com>
>         > wrote:
>         >         Can someone please help out with the instructions.
>         >
>         >         thx
>         >         K
>         >
>         >
>         >         On Tue, 2011-03-29 at 10:33 -0700, kumar vemuri
>         wrote:
>         >         > Hi All,
>         >         >
>         >         >       Am using Mesa 7.8.2. Can anyone please send
>         out the
>         >         instructions
>         >         > to building a gallium based softpipe driver?
>         >         >
>         >         > thanks
>         >         > K
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >         _______________________________________________
>         >         mesa-dev mailing list
>         >         mesa-dev at lists.freedesktop.org
>         >
>         http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>         >
>         >
>         
>         
>         
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110330/b0c351fa/attachment-0001.htm>


More information about the mesa-dev mailing list