glfs/xincludes/mozshm.xml
Bruce Dubbs e7122137ee Minor cleanups
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23373 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-07-08 16:36:55 +00:00

26 lines
1.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
<!-- $LastChangedBy$
$Date$ -->
<!-- to go inside a NOTE on mozilla packages which need shm
mounted when configured or similar in chroot.
Unfortunately, the DTD says an xinclude can only include
one paragraph. -->
<para>
If you are compiling this package in chroot you must do two things.
First, as the <systemitem class="username">root</systemitem> user,
ensure that <filename>/dev/shm</filename> is mounted. If you do not
do this, the <application>Python</application> configury will fail
with a traceback report referencing
<filename>/usr/lib/pythonN.N/multiprocessing/synchronize.py</filename>.
Run:
<screen role="nodump"><userinput>mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm</userinput></screen>
</para>
<!-- follow with appropriate text about exporting SHELL -->