[Lunar-commits] <moonbase> mesa-lib: VMware 2D/3D acceleration enabled

Dennis Veatch dennisveatch at bellsouth.net
Mon May 16 01:30:14 CEST 2011


On Monday, May 09, 2011 6:07:55 PM Zbigniew Luszpinski wrote:
> commit 322477ee509558bf99c554dea25f8542a46ced17
> Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
> Date:   Tue May 10 00:07:55 2011 +0200
> 
>     mesa-lib: VMware 2D/3D acceleration enabled
> ---
>  xorg7/mesa-lib/BUILD |   14 +++++++++-----
>  1 files changed, 9 insertions(+), 5 deletions(-)
> 
> diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
> index 5a434fa..ac4ffc4 100644
> --- a/xorg7/mesa-lib/BUILD
> +++ b/xorg7/mesa-lib/BUILD
> @@ -1,5 +1,9 @@
>  (
> 
> +  # mesa merges cflags and ldflags then complains that ldflags are unknown
> to gcc +  # turn off linker till solution will be found
> +  bad_flags linker &&
> +
>    if [[ -n $MESADRIVER ]] ; then
>      # Build selected drivers only, rather than the default of all of them
>      # Ensure that swrast is included, as a fall-back
> @@ -23,11 +27,11 @@
>      fi
>    fi  &&
> 
> -#  # Detect VMware VGA virtual 3D card and add driver for it
> -#  lspci | grep 'VGA.*VMware.*SVGA.*' &&
> -#  if [ $? -eq 0 ];then
> -#      OPTS+="--enable-gallium-svga "
> -#  fi &&
> +  # Detect VMware VGA virtual 3D card and add driver for it
> +  VGA=`lspci | grep 'VGA.*VMware.*SVGA.*'` &&
> +  if [[ $VGA == *VMware* ]];then
> +     OPTS+="--enable-gallium-svga "
> +  fi &&
> 
>    # Don't overlap with freeglut
>    OPTS+=" --disable-glut"  &&
> _______________________________________________
> Lunar-commits mailing list
> Lunar-commits at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-commits

Hmmm. When OPTS+=" is used I think there should be a space between the " and 
the option. Made that correction locally and still ended up with this;

Building mesa-lib version 7.10.2
+ running "default_pre_build"
+ validating "/usr/src/Mesa-7.10.2"
+ creating building dir "/usr/src/Mesa-7.10.2"
+ Removing old source directory first!
+ Unpacking "/var/spool/lunar/MesaLib-7.10.2.tar.bz2" in "/usr/src"
+ Unpacking "/var/spool/lunar/MesaGLUT-7.10.2.tar.bz2" in "/usr/src"
+ building "mesa-lib" version "7.10.2" in /usr/src/Mesa-7.10.2
+ CC_EXT="ccache "
+ CXX_EXT="ccache "
+ CC="gcc"
+ CXX="g++"
+ CPP="cpp"
+ CFLAGS=" -O2 -march=native -pipe"
+ CXXFLAGS=" -O2 -march=native -pipe"
+ CPPFLAGS=""
+ LDFLAGS=" -s"
+ Enabled wrapper script usage
Creating /var/log/lunar/compile/mesa-lib-7.10.2.bz2 
! Problem detected during BUILD

lin -d did not reveal anything useful.
-- 
Dennis


More information about the Lunar-dev mailing list