virglrenender project’s installation in Redhat 7.6

Vic Chen chuckchen1226 at gmail.com
Fri Sep 24 04:52:33 UTC 2021


Hi Expert:

It is my first time to install virglrenender on Redhat 7.6. Does anyone
know how to resolve run-time dependency package glesv1_cm ?

   1. Install epel-release: sudo yum install
   https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
   2. gcc-c++: sudo yum install gcc-c++   (default version fits it)
   3. Install Python3:  sudo yum install -y
   https://repo.ius.io/ius-release-el7.rpm; yum install -y python36u
   python36u-pip
   4. Install meson and ninja-build: sudo yum install meson ninja-build
   (blocked by item 3)
   5. Remove current cmake: sudo yum remove cmake -y (default cmake version
   is too old to fit the version required)
   6. Updating CMake from 2.8.11 to 3.6.2

wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz; tar -zxvf
cmake-3.6.2.tar.gz; cd cmake-3.6.2; sudo ./bootstrap --prefix=/usr/local;
sudo make; sudo make install;

vim ~/.bash_profile; Add the content (PATH=/usr/local/bin:$PATH:$HOME/bin) ;
source ~/.bash_profile

   1. Remove original libdrm packages (too old): sudo yum remove libdrm
   2. Install the newer libdrm: sudo yum install libdrm-devel.x86_64
   3. Install libepoxy:  sudo yum install libepoxy-devel.x86_64 (however
   the version is 1.5.2 (the latest version in Redhat 7.6) , virglrenderer
   need >=1.5.4)
   4. Install libepoxy 1.5.9: git clone
   https://github.com/anholt/libepoxy.git, follow README to install

[image: glesv1_cm.png]

       11.  glesv1_cm was not resolved still installing
https://centos.pkgs.org/7/centos-x86_64/libglvnd-devel-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm.html
cannot resolve it (it shows the latest version included). I am not sure if
the glesv2 must be based on centos 8 via
https://centos.pkgs.org/8/centos-appstream-x86_64/libglvnd-devel-1.3.2-1.el8.x86_64.rpm.html
 and have no clue in finding glesv1_cm package

              The above steps are just for the build virglrenender project
due to older libepoxy version

Any input are appreciated!
[image: libepoxy.png]

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20210924/8e841fd7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glesv1_cm.png
Type: image/png
Size: 210019 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20210924/8e841fd7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libepoxy.png
Type: image/png
Size: 331391 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20210924/8e841fd7/attachment-0003.png>


More information about the virglrenderer-devel mailing list