mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
added an SQLite check
This commit is contained in:
parent
0a8481c779
commit
61c12f7415
@ -99,6 +99,24 @@
|
|||||||
patch -Np1 -i ../nss-&nss-version;-illegal_instruction-1.patch</userinput></screen>
|
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>&1 && 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!" >&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>
|
<para>
|
||||||
Install <application>NSS</application> by running the following commands:
|
Install <application>NSS</application> by running the following commands:
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user