Changeset d47b15b for chapter06/meson.xml
- Timestamp:
- 07/08/2018 08:23:05 PM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3307b88
- Parents:
- b8b65b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/meson.xml
rb8b65b7 rd47b15b 41 41 <title>Installation of Meson</title> 42 42 43 <para>Make a fix from upstream:</para> 44 45 <screen><userinput remap="pre">sed -i '309 s/os.getcwd/-C, &/' mesonbuild/minstall.py</userinput></screen> 46 43 47 <para>Compile Meson with the following command:</para> 44 48 … … 49 53 <para>Install the package:</para> 50 54 51 <screen><userinput remap="install">python3 setup.py install</userinput></screen> 52 55 <screen><userinput remap="install">python3 setup.py install --root=dest 56 cp -rv dest/* /</userinput></screen> 57 <!-- 53 58 <para>At last, move Meson man pages to correct location:</para> 54 59 … … 56 61 /usr/share/man/man1 57 62 rm -r /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg/share</userinput></screen> 63 --> 58 64 65 <variablelist> 66 <title>The meaning of the install parameters:</title> 67 68 <varlistentry> 69 <term><parameter>--root=dest</parameter></term> 70 <listitem> 71 <para>By default <command>python3 setup.py install</command> 72 installs various files (such as man pages) into Python Eggs. 73 With a specified root location, <command>setup.py</command> installs 74 these files into a standard hierarchy. Then we can just copy 75 the hierarchy so the files will be in the standard location. 76 </para> 77 </listitem> 78 </varlistentry> 79 80 </variablelist> 59 81 </sect2> 60 61 82 62 83 <sect2 id="contents-meson" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.