added an SQLite check

This commit is contained in:
Tox 2024-10-25 13:40:35 -05:00
parent 0a8481c779
commit 61c12f7415

View File

@ -99,6 +99,24 @@
patch -Np1 -i ../nss-&nss-version;-illegal_instruction-1.patch</userinput></screen>
-->
<important>
<para>
If you're rebuilding NSS and you have not installed SQLite, run the
following command to prevent a build failure:
</para>
<screen role="root"><userinput remap="pre">sqlite3 --version > /dev/null 2>&amp;1 &amp;&amp; echo -e "\nDetected an SQLite install. You may continue." ||
if [ -f /usr/lib/libsqlite3.so -o -f /usr/lib32/libsqlite3.so ]; then
echo -e "\nDetected an incomplete SQLite installation!" >&amp;2
rm -vf /usr/lib{,32}/libsqlite3.so
echo "Removed any problematic SQLite libraries. You may continue."
else
echo -e "\nNo SQLite install (complete or otherwise) detected. You may continue."
fi</userinput></screen>
</important>
<para>
Install <application>NSS</application> by running the following commands:
</para>