Changes in chapter08/zstd.xml [edd83dc:d7a9421]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/zstd.xml
redd83dc rd7a9421 55 55 <screen><userinput remap="install">make prefix=/usr install</userinput></screen> 56 56 57 <para>Remove the static library and move the shared library to 58 <filename class="directory">/lib</filename>. Also, the 59 <filename class="extension">.so</filename> file in 60 <filename class="directory">/usr/lib</filename> will need to be recreated:</para> 61 62 <screen><userinput remap="install">rm -v /usr/lib/libzstd.a 63 mv -v /usr/lib/libzstd.so.* /lib 64 ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen> 57 <para>Remove the static library:</para> 58 <screen><userinput remap="install">rm -v /usr/lib/libzstd.a</userinput></screen> 65 59 66 60 </sect2> 67 68 <!-- - - - - - - - - - -->69 <!-- Multilib - 32bit -->70 <!-- - - - - - - - - - -->71 72 <sect2 arch="ml_32,ml_all" role="installation">73 <title>Installation of Zstd - 32bit</title>74 75 <para>Clean previous build:</para>76 77 <screen><userinput remap="pre">make clean</userinput></screen>78 79 <para>Compile the package:</para>80 81 <screen><userinput remap="make">CC="gcc -m32" make</userinput></screen>82 83 <para>Install the package:</para>84 85 <screen><userinput remap="install">CC="gcc -m32" make prefix=/usr DESTDIR=$PWD/DESTDIR install86 cp -Rv DESTDIR/usr/lib/* &usr-lib-m32;/87 sed -e "/^libdir/s/lib$&lib-m32;/" -i &usr-lib-m32;/pkgconfig/libzstd.pc88 rm -rf DESTDIR</userinput></screen>89 90 </sect2><!-- m32 -->91 92 <!-- - - - - - - - - - -->93 <!-- Multilib - x32bit -->94 <!-- - - - - - - - - - -->95 96 <sect2 arch="ml_x32,ml_all" role="installation">97 <title>Installation of Zstd - x32bit</title>98 99 <para>Clean previous build:</para>100 101 <screen><userinput remap="pre">make clean</userinput></screen>102 103 <para>Compile the package:</para>104 105 <screen><userinput remap="make">CC="gcc -mx32" make</userinput></screen>106 107 <para>Install the package:</para>108 109 <screen><userinput remap="install">CC="gcc -mx32" make prefix=/usr DESTDIR=$PWD/DESTDIR install110 cp -Rv DESTDIR/usr/lib/* &usr-lib-mx32;/111 sed -e "/^libdir/s/lib$&lib-mx32;/" -i &usr-lib-mx32;/pkgconfig/libzstd.pc112 rm -rf DESTDIR</userinput></screen>113 114 </sect2><!-- mx32 -->115 61 116 62 <sect2 id="contents-zstd" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.