Changeset 7cadfea
- Timestamp:
- 02/18/2014 05:38:44 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 1aa6f05
- Parents:
- cafc6c84
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/dbus-glib.xml
rcafc6c84 r7cadfea 36 36 </para> 37 37 38 &lfs7 4_checked;38 &lfs75_checked; 39 39 40 40 <bridgehead renderas="sect3">Package Information</bridgehead> … … 99 99 </para> 100 100 101 <screen><userinput>./configure --prefix=/usr \ 102 --sysconfdir=/etc \ 103 --libexecdir=/usr/lib/dbus-1.0 \ 101 <screen><userinput>./configure --prefix=/usr \ 102 --sysconfdir=/etc \ 104 103 --disable-static && 105 104 make</userinput></screen> -
general/genlib/gobject-introspection.xml
rcafc6c84 r7cadfea 38 38 </para> 39 39 40 &lfs7 4_checked;40 &lfs75_checked; 41 41 42 42 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/genlib/js.xml
rcafc6c84 r7cadfea 37 37 </para> 38 38 39 &lfs7 4_checked;39 &lfs75_checked; 40 40 41 41 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/genlib/libgcrypt.xml
rcafc6c84 r7cadfea 39 39 </para> 40 40 41 &lfs7 4_checked;41 &lfs75_checked; 42 42 43 43 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/genlib/libgpg-error.xml
rcafc6c84 r7cadfea 36 36 .</para> 37 37 38 &lfs7 4_checked;38 &lfs75_checked; 39 39 40 40 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/genlib/nspr.xml
rcafc6c84 r7cadfea 37 37 </para> 38 38 39 &lfs7 4_checked;39 &lfs75_checked; 40 40 41 41 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/graphlib/freetype2.xml
rcafc6c84 r7cadfea 42 42 </para> 43 43 44 &lfs7 4_checked;44 &lfs75_checked; 45 45 46 46 <bridgehead renderas="sect3">Package Information</bridgehead> -
general/prog/dbus-python.xml
rcafc6c84 r7cadfea 30 30 </para> 31 31 32 &lfs7 4_checked;32 &lfs75_checked; 33 33 34 34 <bridgehead renderas="sect4">Package Information</bridgehead> … … 108 108 pushd python2 && 109 109 PYTHON=/usr/bin/python \ 110 ../configure --prefix=/usr \ 111 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 110 ../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 112 111 make && 113 112 popd</userinput></screen> … … 126 125 pushd python3 && 127 126 PYTHON=/usr/bin/python3 \ 128 ../configure --prefix=/usr \ 129 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 127 ../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 130 128 make && 131 129 popd</userinput></screen> -
general/prog/gcc.xml
rcafc6c84 r7cadfea 9 9 <!ENTITY gcc-md5sum "a3d7d63b9cb6b6ea049469a0c4a43c9d"> 10 10 <!ENTITY gcc-size "82 MB"> 11 <!ENTITY gcc-buildsize " ~2.9 GB (build, test and install all compilers except GNAT)">12 <!ENTITY gcc-time " 80 SBU (build, test and install all compilers except GNAT)">11 <!ENTITY gcc-buildsize "6.6 GB"> 12 <!ENTITY gcc-time "110 SBU"> 13 13 14 14 <!ENTITY gnat-download-http "https://libre.adacore.com/download/"> … … 45 45 than the one provided by <application>GCC</application>.</para> 46 46 47 &lfs7 4_checked;47 &lfs75_checked; 48 48 49 49 <caution> … … 86 86 <bridgehead renderas="sect3">GCC Dependencies</bridgehead> 87 87 88 <bridgehead renderas="sect4">Recommended</bridgehead>89 <para role="recommended"><xref linkend="dejagnu"/></para>90 91 88 <bridgehead renderas="sect4">Required if building java</bridgehead> 92 89 <para role="required"> … … 94 91 <xref linkend="unzip"/>, and 95 92 <xref linkend="which"/> 93 </para> 94 95 <bridgehead renderas="sect4">Recommended</bridgehead> 96 <para role="recommended"> 97 <xref linkend="dejagnu"/> 96 98 </para> 97 99 … … 104 106 or x86_64-linux file.</para> 105 107 </note> 106 <!-- Using 2011, because 2012 does not compile GCC-4.7.2 107 GCC-4.8.1 and gnat 2013 work OK --> 108 108 109 <bridgehead renderas="sect3">GNAT GPL 2013 Package Information</bridgehead> 109 110 <itemizedlist spacing="compact"> … … 164 165 <title>Installation of GCC</title> 165 166 166 <para>Install <application>GCC</application> by running the167 following commands:</para>168 169 167 <important> 170 171 168 <para>The installation process may overwrite your existing 172 169 <application>GCC</application> <command>gcc</command> and … … 184 181 section of Chapter 6 in the LFS book (<ulink 185 182 url="&lfs-root;/chapter06/gcc.html"/>).</para> 186 187 183 </important> 188 184 189 <para>The instructions below let the build machinery perform a 190 <quote>bootstrap</quote> intentionally. This is necessary if you 191 install the <application>Ada</application> compiler anyway. Even 192 if you don't, a bootstrap is recommended for robustness.</para> 185 <para>The instructions below will make sure that <quote>bootstrap</quote> 186 is preformed intentionally. This is necessary if the 187 <application>Ada</application> compiler is being built anyway. Even if it 188 isn't, a bootstrap is recommended for robustness. To disable bootstrap 189 anyways, pass <parameter>--disable-bootstrap</parameter> to the 190 <command>./configure</command> options below.</para> 191 192 <para>Install <application>GCC</application> by running the 193 following commands:</para> 193 194 194 195 <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in && 195 196 sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in && 196 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&197 sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&198 197 199 198 case `uname -m` in … … 201 200 esac && 202 201 202 sed -i -e /autogen/d -e /check.sh/d fixincludes/Makefile.in 203 mv -v libmudflap/testsuite/libmudflap.c++/pass41-frag.cxx{,.disable} 204 203 205 mkdir ../gcc-build && 204 206 cd ../gcc-build && … … 207 209 --prefix=/usr \ 208 210 --libdir=/usr/lib \ 209 --libexecdir=/usr/lib \210 211 --enable-shared \ 211 212 --enable-threads=posix \ 212 213 --enable-__cxa_atexit \ 214 --enable-clocale=gnu \ 213 215 --disable-multilib \ 214 --disable-bootstrap \215 --disable-install-libiberty \216 216 --with-system-zlib \ 217 --enable-clocale=gnu \218 217 --enable-lto \ 219 218 --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ && 220 make 221 </userinput></screen> 222 223 <para>If you have installed additional packages such as valgrind and gdb, 224 the gcc part of the testsuite will run more tests than in LFS. 225 Some of those will report FAIL and others XPASS (pass when expected 226 to FAIL). To run the checks:</para> 227 228 <screen><userinput> 229 ulimit -s 32768 && 219 make</userinput></screen> 220 221 <para>If you have installed additional packages such as 222 <application>Valgrind</application> and <application>GDB</application>, 223 the <application>GCC</application> part of the testsuite will run more 224 tests than in LFS. Some of those will report FAIL and others XPASS 225 (pass when expected to FAIL). To run the tests, issue:</para> 226 227 <screen><userinput>ulimit -s 32768 && 230 228 make -k check && 231 229 … … 238 236 ln -v -sf ../usr/bin/cpp /lib && 239 237 ln -v -sf gcc /usr/bin/cc && 238 239 mkdir -pv /usr/share/gdb/auto-load/usr/lib && 240 mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib && 240 241 241 242 chown -v -R root:root \ 242 243 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} \ 243 244 /usr/lib/gcc/*linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen> 244 <!-- Not needed since we do not install libffi245 <para>The <filename class='libraryfile'>libffi</filename> interface header246 is installed in a location where other packages will not be able to find247 it. If you included Java as one of the installed languages, create a248 symbolic link in <filename class='directory'>/usr/include</filename> to249 remedy this:</para>250 251 <screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>-->252 245 253 246 <para>You should now remove the <application>GNAT</application> … … 266 259 installation of the <application>libffi</application> library bundled 267 260 with <application>GCC</application>, since it is outdated compared to 268 <xref linkend="libffi"/>. The three other <command>sed</command> commands269 are the sameones used during the build of LFS.</para>261 <xref linkend="libffi"/>. The following three commands are the same 262 ones used during the build of LFS.</para> 270 263 271 264 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The … … 277 270 the <application>C++</application> libraries to published standards.</para> 278 271 272 <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a 273 failsafe for incomplete locale data.</para> 274 279 275 <para><parameter>--disable-multilib</parameter>: This parameter ensures 280 276 that files are created for the specific architecture of your computer.</para> 281 277 282 <!-- Double dashes are forbidden in comments, so use "- -". Change it to283 double dash if you ever remove this comment!284 <para><parameter>- -enable-bootstrap</parameter>: This parameter is used285 so that a bootstrap installation is performed.</para>286 -->287 <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a288 failsafe for incomplete locale data.</para>289 290 278 <para><parameter>--enable-lto</parameter>: Setting this parameter allows 291 to build a compiler which is able to perform <quote> link time292 optimization (lto)</quote>.</para>279 to build a compiler which is able to perform <quote>Link Time 280 Optimization (LTO)</quote>.</para> 293 281 294 282 <para> 295 <parameter>--enable-languages=c,c++,fortran, java,objc,obj-c++,ada,go</parameter>:283 <parameter>--enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++</parameter>: 296 284 This command identifies which languages to build. You may modify 297 285 this command to remove undesired languages.</para> … … 311 299 <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command 312 300 creates a link to the C PreProcessor as some packages expect it to be 313 installed in the <filename class= 'directory'>/lib</filename>301 installed in the <filename class="directory">/lib</filename> 314 302 directory.</para> 315 303 … … 320 308 /usr/lib/gcc/*linux-gnu/...</command>: 321 309 If the package is built by a user other than root, the ownership of the 322 installed <filename class= 'directory'>include</filename> and323 <filename class= 'directory'>adalib</filename> directories (and their310 installed <filename class="directory">include</filename> and 311 <filename class="directory">adalib</filename> directories (and their 324 312 contents) will be incorrect. These commands change the ownership to the 325 313 <systemitem class="username">root</systemitem> user and group . Omit the … … 338 326 339 327 <seglistitem> 340 <seg>aot-compile, gappletviewer, gc-analyze, gccgo, gcj, gcj-dbtool, 341 gcjh, gfortran, gij, gjar, gjarsigner, gjavah, gkeytool, 342 gnat, gnatbind, gnatchop, gnatclean, gnatfind, gnative2ascii, gnatkr, 343 gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gorbd, 344 grmic, grmid, grmiregistry, gserialver, gtnameserv, jcf-dump, 345 jv-convert, rebuild-gcj-db, and architecture specific names</seg> 346 <seg>libgcj_bc.so, libgcj.so, libgcj-tools.so, libgfortran.{so,a}, 347 libgij.so, libgo.{so,a}, libgobegin.a, libobjc.{so,a} and numerous other 348 run-time libraries and executables in /usr/lib/gcc</seg> 349 <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org,sun}, 350 /usr/lib/gcc/<arch-model>-linux-gnu/&gcc-version;/ada{include,lib}, 351 /usr/lib/gcj-&gcc-version;-13, 352 /usr/lib/go, 353 /usr/lib/security, 354 and /usr/share/java</seg> 328 <seg> 329 aot-compile, gappletviewer, gc-analyze, gccgo, gcj, gcj-dbtool, 330 gcjh, gfortran, gij, gjar, gjarsigner, gjavah, gkeytool, 331 gnat, gnatbind, gnatchop, gnatclean, gnatfind, gnative2ascii, gnatkr, 332 gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gorbd, 333 grmic, grmid, grmiregistry, gserialver, gtnameserv, jcf-dump, 334 jv-convert, rebuild-gcj-db, and architecture specific names 335 </seg> 336 <seg> 337 libgcj_bc.so, libgcj.so, libgcj-tools.so, libgfortran.{so,a}, 338 libgij.so, libgo.{so,a}, libgobegin.a, libobjc.{so,a} and numerous other 339 run-time libraries and executables in /usr/lib/gcc and /usr/libexec/gcc 340 </seg> 341 <seg> 342 /usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org,sun}, 343 /usr/lib/gcc/<arch-model>-linux-gnu/&gcc-version;/ada{include,lib}, 344 /usr/lib/gcj-&gcc-version;-13, 345 /usr/lib/go, 346 /usr/lib/security, and 347 /usr/share/java 348 </seg> 355 349 </seglistitem> 356 350 </segmentedlist> -
general/prog/py2cairo.xml
rcafc6c84 r7cadfea 31 31 </para> 32 32 33 &lfs7 4_checked;33 &lfs75_checked; 34 34 35 35 <bridgehead renderas="sect4">Package Information</bridgehead> -
general/prog/pygobject2.xml
rcafc6c84 r7cadfea 33 33 </para> 34 34 35 &lfs7 4_checked;35 &lfs75_checked; 36 36 37 37 <bridgehead renderas="sect4">Package Information</bridgehead> -
networking/connect/dhcp.xml
rcafc6c84 r7cadfea 38 38 </para> 39 39 40 &lfs7 4_checked;40 &lfs75_checked; 41 41 42 42 <bridgehead renderas="sect3">Package Information</bridgehead> -
postlfs/editors/nano.xml
rcafc6c84 r7cadfea 36 36 </para> 37 37 38 &lfs7 4_checked;38 &lfs75_checked; 39 39 40 40 <bridgehead renderas="sect3">Package Information</bridgehead> -
postlfs/security/cracklib.xml
rcafc6c84 r7cadfea 39 39 passwords to words in chosen word lists.</para> 40 40 41 &lfs7 4_checked;41 &lfs75_checked; 42 42 43 43 <bridgehead renderas="sect3">Package Information</bridgehead> … … 123 123 124 124 <screen role="root"><userinput>make install && 125 mv -v /usr/lib/libcrack.so. 2* /lib &&126 ln - v -sf ../../lib/libcrack.so.2.9.0/usr/lib/libcrack.so</userinput></screen>125 mv -v /usr/lib/libcrack.so.* /lib && 126 ln -sfv ../../lib/$(readlink /usr/lib/libcrack.so) /usr/lib/libcrack.so</userinput></screen> 127 127 128 128 <para>Issue the following commands as the -
postlfs/security/linux-pam.xml
rcafc6c84 r7cadfea 42 42 </para> 43 43 44 &lfs7 4_checked;44 &lfs75_checked; 45 45 46 46 <bridgehead renderas="sect3">Package Information</bridgehead> … … 141 141 --libdir=/usr/lib \ 142 142 --enable-securedir=/lib/security \ 143 --docdir=/usr/share/doc/Linux-PAM-&linux-pam-version; \ 144 --disable-nis && 143 --docdir=/usr/share/doc/Linux-PAM-&linux-pam-version; && 145 144 make</userinput></screen> 146 145 … … 222 221 This switch sets install location for the 223 222 <application>PAM</application> modules. 224 </para>225 226 <para>227 <option>--disable-nis</option>: This switch disables building228 of the Network Information Service/Yellow Pages support in229 pam_unix and pam_access modules. Remove it if you have installed230 <xref linkend="libtirpc"/>.231 223 </para> 232 224 -
postlfs/security/polkit.xml
rcafc6c84 r7cadfea 37 37 </para> 38 38 39 &lfs7 4_checked;39 &lfs75_checked; 40 40 41 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 133 133 --sysconfdir=/etc \ 134 134 --localstatedir=/var \ 135 --with-authfw=shadow \136 135 --disable-static \ 137 --libexecdir=/usr/lib/polkit-1 && 138 136 --with-authfw=shadow && 139 137 make</userinput></screen> 140 138 -
postlfs/security/shadow.xml
rcafc6c84 r7cadfea 42 42 </para> 43 43 44 &lfs7 4_checked;44 &lfs75_checked; 45 45 46 46 <bridgehead renderas="sect3">Package Information</bridgehead> -
pst/xml/docbook-xsl.xml
rcafc6c84 r7cadfea 40 40 performing transformations on XML DocBook files.</para> 41 41 42 &lfs7 4_checked;42 &lfs75_checked; 43 43 44 44 <bridgehead renderas="sect3">Package Information</bridgehead> -
pst/xml/docbook.xml
rcafc6c84 r7cadfea 36 36 transformations already written for that standard.</para> 37 37 38 &lfs7 4_checked;38 &lfs75_checked; 39 39 40 40 <bridgehead renderas="sect3">Package Information</bridgehead> -
x/lib/cairo.xml
rcafc6c84 r7cadfea 48 48 </para> 49 49 50 &lfs7 4_checked;50 &lfs75_checked; 51 51 52 52 <bridgehead renderas="sect3">Package Information</bridgehead>
Note:
See TracChangeset
for help on using the changeset viewer.