I guess Mesa 7.8.2 is too old, try 7.10 instead.<br><br>Marek<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 4:29 PM, kumar vemuri <span dir="ltr"><<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Marek,<br>
<br>
Ran "./configure --enable-gallium-swrast --with-dri-drivers=swrast" and<br>
did make. I couldnt see swrastg_dri.so file created under<br>
Mesa-7.8.2/lib. Infact there is no gallium directory under the lib.<br>
These are the files i see generated in the lib directory.<br>
<br>
egl_glx.so libGLEW.a libGLU.so.1 libGLw.so<br>
egl_x11_swrast.so libGL.so libGLU.so.1.3.070802 libGLw.so.1<br>
libEGL.so libGL.so.1 libglut.so libGLw.so.1.0.0<br>
libEGL.so.1 libGL.so.1.2 libglut.so.3 swrast_dri.so<br>
libEGL.so.1.0 libGLU.so libglut.so.3.7.1<br>
<br>
<br>
<br>
Could you please throw some more hints? I guess your previous hints<br>
have been useful.<br>
<br>
<br>
<br>
thanks<br>
<font color="#888888">K<br>
</font><div><div></div><div><br>
On Thu, 2011-03-31 at 15:01 +0200, Marek Olšák wrote:<br>
> Either use:<br>
><br>
> --with-dri-drivers=<br>
><br>
> Or build libdrm from git:<br>
><br>
> <a href="http://cgit.freedesktop.org/mesa/drm/" target="_blank">http://cgit.freedesktop.org/mesa/drm/</a><br>
><br>
> Marek<br>
><br>
> On Thu, Mar 31, 2011 at 6:51 AM, kumar vemuri <<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>><br>
> wrote:<br>
> OK. I tried doing ./configure with --enable-gallium-swrast and<br>
> i get this error:<br>
><br>
> checking for INTEL... configure: error: Package requirements<br>
> (libdrm_intel >= 2.4.19) were not met:<br>
><br>
> Requested 'libdrm_intel >= 2.4.19' but version of libdrm is<br>
> 2.4.18<br>
><br>
> Consider adjusting the PKG_CONFIG_PATH environment variable if<br>
> you<br>
> installed software in a non-standard prefix.<br>
><br>
> Alternatively, you may set the environment variables<br>
> INTEL_CFLAGS<br>
> and INTEL_LIBS to avoid the need to call pkg-config.<br>
> See the pkg-config man page for more details.<br>
><br>
> Now i downloaded the src for libdrm version 2.4.19 and<br>
> compiled and installed it. Even then i see this prob. I may be<br>
> doing something wrong.<br>
><br>
> Now i see two ways to solve this.<br>
> a. Fix the above error. I use ubuntu 10.04. I couldnt find<br>
> libdrm-intel 2.4.19 or above in the synaptic manager. Any<br>
> suggestions on fixing the error would help.<br>
> b. i am thinking aloud here. i may be wrong. Pls correct me if<br>
> so. I dont want to use intel driver so i dont think i need<br>
> libdrm-intel (correct me if i am wrong) and hence i can ask<br>
> the configure script to skip this step. How do make the<br>
> configure script to skip this step?<br>
><br>
><br>
> Thx<br>
> K<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Wed, 2011-03-30 at 15:42 +0200, Marek Olšák wrote:<br>
> > Try to add this configure parameter:<br>
> ><br>
> > --enable-gallium-swrast<br>
> ><br>
> > Marek<br>
> ><br>
> > On Wed, Mar 30, 2011 at 3:39 PM, kumar vemuri<br>
> > <<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>> wrote:<br>
> > Thanks Marek for the reply.<br>
> ><br>
> > I compiled Mesa with default params and i dont see<br>
> > swrastg_dri.so built<br>
> > in the lib/gallium directory. I am doing this on<br>
> > Mesa 7.8.2.<br>
> ><br>
> > am i missing something. Please let me know.<br>
> ><br>
> > thx<br>
> > K<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Wed, 2011-03-30 at 13:41 +0200, Marek Olšák<br>
> > wrote:<br>
> > > Build Mesa with the default configure parameters<br>
> > and copy<br>
> > > lib/gallium/swrastg_dri.so<br>
> > to /usr/lib/dri/swrast_dri.so<br>
> > ><br>
> > > Marek<br>
> > ><br>
> > > On Wed, Mar 30, 2011 at 7:42 AM, kumar vemuri<br>
> > <<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>><br>
> > > wrote:<br>
> > > Can someone please help out with the<br>
> > instructions.<br>
> > ><br>
> > > thx<br>
> > > K<br>
> > ><br>
> > ><br>
> > > On Tue, 2011-03-29 at 10:33 -0700, kumar<br>
> > vemuri wrote:<br>
> > > > Hi All,<br>
> > > ><br>
> > > > Am using Mesa 7.8.2. Can anyone<br>
> > please send out the<br>
> > > instructions<br>
> > > > to building a gallium based softpipe<br>
> > driver?<br>
> > > ><br>
> > > > thanks<br>
> > > > K<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > _______________________________________________<br>
> > > mesa-dev mailing list<br>
> > > <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> > ><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br>