<div dir="ltr">Hi Expert:<div><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"MS PGothic",sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">It is my first time to install virglrenender on Redhat 7.6. Does anyone know how to resolve run-time dependency package glesv1_cm ?</span></p>
<ol style="margin-top:0in;margin-bottom:0in" start="1" type="1">
<li class="gmail-MsoListParagraph" style="margin:6pt 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Install epel-release:<span style="color:rgb(68,114,196)"> sudo yum
install <a href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" style="color:rgb(5,99,193)">https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</a></span></li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">gcc-c++:
<span style="color:rgb(68,114,196)">sudo yum install gcc-c++</span>
(default version fits it)</li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Install
Python3: <span style="color:rgb(68,114,196)">sudo yum install -y <a href="https://repo.ius.io/ius-release-el7.rpm" style="color:rgb(5,99,193)"><span style="color:rgb(68,114,196);text-decoration-line:none">https://repo.ius.io/ius-release-el7.rpm</span></a>;
yum install -y python36u python36u-pip</span></li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Install
meson and ninja-build: <span style="color:rgb(68,114,196)">sudo yum install meson
ninja-build</span> (blocked by item 3)</li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Remove
current cmake: <span style="color:rgb(68,114,196)">sudo yum remove cmake -y</span>
(default cmake version is too old to fit the version required)</li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="background:yellow">Updating CMake from 2.8.11
to 3.6.2</span></li>
</ol>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(68,114,196)">wget <a href="https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz" style="color:rgb(5,99,193)"><span style="color:rgb(68,114,196);text-decoration-line:none">https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz</span></a>;
tar -zxvf cmake-3.6.2.tar.gz; cd cmake-3.6.2; sudo ./bootstrap
--prefix=/usr/local; sudo make; sudo make install;</span></p>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(68,114,196)">vim ~/.bash_profile; </span>Add
the content (<span style="color:rgb(68,114,196)">PATH=/usr/local/bin:$PATH:$HOME/bin</span>)
<span style="color:rgb(68,114,196)">; source ~/.bash_profile</span></p>
<ol style="margin-top:0in;margin-bottom:0in" start="7" type="1">
<li class="gmail-MsoListParagraph" style="color:rgb(68,114,196);margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:windowtext;background:yellow">Remove
original libdrm packages (too old)</span><span style="color:windowtext">: </span>sudo<span style="color:windowtext"> </span>yum remove libdrm</li>
<li class="gmail-MsoListParagraph" style="color:rgb(68,114,196);margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:windowtext">Install the newer libdrm:</span>
sudo yum install libdrm-devel.x86_64</li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Install
libepoxy:
<span style="color:rgb(68,114,196);font-size:14.6667px">sudo </span><span style="color:rgb(68,114,196)">yum install libepoxy-devel.x86_64 (</span>however
the version is 1.5.2 (the latest version in Redhat 7.6) , virglrenderer
need >=1.5.4)</li>
<li class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="background:yellow">Install libepoxy 1.5.9</span>:
<span style="color:rgb(68,114,196)">git clone</span> <a href="https://github.com/anholt/libepoxy.git" style="color:rgb(5,99,193)">https://github.com/anholt/libepoxy.git</a>,
follow README to install</li>
</ol>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;font-size:12pt;font-family:"MS PGothic",sans-serif"></p><img src="cid:ii_ktxvqykg0" alt="glesv1_cm.png" width="507" height="198"> </div><div><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="background:yellow"> 11. glesv1_cm</span>
was not resolved still installing <a href="https://centos.pkgs.org/7/centos-x86_64/libglvnd-devel-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm.html" style="color:blue">https://centos.pkgs.org/7/centos-x86_64/libglvnd-devel-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm.html</a>
cannot resolve it (it shows the latest version included). I am not sure if the
glesv2 must be based on centos 8 via <a href="https://centos.pkgs.org/8/centos-appstream-x86_64/libglvnd-devel-1.3.2-1.el8.x86_64.rpm.html" style="color:blue">https://centos.pkgs.org/8/centos-appstream-x86_64/libglvnd-devel-1.3.2-1.el8.x86_64.rpm.html</a>
and have no clue in finding glesv1_cm package</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> The above steps are just for the build virglrenender project due to older libepoxy version</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Any input are appreciated!</p><img src="cid:ii_ktxw0pxl1" alt="libepoxy.png" width="507" height="117"><br><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks.</p></div></div>