created : 2010-02-14 updated : 2010-02-14
Since Firefox is an actively developing project, the version is changing so fast that the one in BLFS 6.3 is a bit outdated.
BLFS 6.3 is still using Firefox-2.0.0.15. I decided to move to more recent version of firefox, so I go for the "svn" version of BLFS.
Dependency tree :
The dependency tree implies the order of the package to be installed.
(23)Firefox-3.5.2 : └(22)Xulrunner-1.9.1.2 : ├(01)ALSA Library-1.0.21 ├(17)GTK+-2.18.5 │ ├(05)cairo-1.8.8 │ │ (02)libpng-1.2.39 │ │ (03)pixman-0.15.20 │ │ (04)Fontconfig-2.7.3 (cannot use previously installed Fontconfig-2.4.2) │ ├(08)Pango-1.26.2 │ │ (07)GLib-2.22.3 │ │ (06)PCRE-8.00 │ ├(09)ATK-1.28.0 │ ├(10)libjpeg-7 │ ├(12)LibTIFF-3.8.2 │ │ (11)freeglut-2.4.0 (may not need, MesaLib-6.5.2 installed) │ ├(15)JasPer-1.900.1 │ │ (13)UnZip-5.52 │ │ (14)MesaLib-7.6 (may not need, MesaLib-6.5.2 installed) │ └(16)hicolor-icon-theme-0.11 ├(18)libIDL-0.8.13 ├(08)Pango-1.26.2 (installed above) ├(19)Python-2.6.4 ├(20)Zip-3.0 └(21)SQLite-3.6.16 Note : All packages in this page is assumed to be downloaded in the /blfs/firefox folder.real 7m0.926s user 0m55.743s sys 5m49.774s
ALSA Library-1.0.21Introduction to ALSA LibraryThe ALSA Library package contains the ALSA library. This is used by programs (including ALSA Utilities) requiring access to the ALSA sound interface. This package is known to build and work properly using an LFS-6.5 platform. Package Information
ALSA Library DependenciesOptionalDoxygen-1.5.9 and resmgr User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/alsa-lib Kernel ConfigurationIn the Device Drivers ⇒ Sound ⇒ Advanced Linux Sound Architecture section of the kernel configuration, select the settings and drivers appropriate for your hardware. Ensure that the deprecated Device Drivers ⇒ Sound ⇒ Open Sound System is not selected. If necessary, recompile and install your new kernel. Installation of ALSA LibraryInstall ALSA Library by running the following commands: ./configure --enable-static && make This package does not come with a test suite. Now, as the make install && install -v -m644 -D doc/asoundrc.txt \ /usr/share/doc/alsa-lib-1.0.21/asoundrc.txt If you have Doxygen installed and you wish to build the library API documentation, run the following commands from the top-level directory of the source tree: make doc Now, as the install -v -d -m755 /usr/share/doc/alsa-1.0.21/html && install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-1.0.21/html Command Explanations
Configuring ALSA LibraryConfig Files
Configuration InformationThe default ContentsInstalled Program: aserver
Installed Libraries: libasound.{so,a} and smixer-*.{so,a}
Installed Directories: /usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and /usr/share/doc/alsa-lib-1.0.21 Last updated on 2009-09-08 00:55:14 +0000 real 1m52.401s user 0m15.129s sys 1m30.206s libpng-1.2.42Introduction to libpngThe libpng package contains libraries used by other programs for reading and writing PNG files. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Additional Downloads
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpng Installation of libpngInstall libpng by running the following commands: patch -Np1 -i ../libpng-1.2.42-apng-1.patch && ./configure --prefix=/usr && make To test the results, issue: make check. Now, as the make install && install -v -m755 -d /usr/share/doc/libpng-1.2.42 && install -v -m644 README libpng-1.2.42.txt \ /usr/share/doc/libpng-1.2.42 ContentsInstalled Programs: libpng-config and libpng12-config
Installed Libraries: libpng.{so,a} and libpng12.{so,a}
Installed Directories: /usr/include/libpng12 and /usr/share/doc/libpng-1.2.42 Short Descriptions
Last updated on 2010-02-14 00:15:12 +0000 libpng-1.2.39 (Obsolete, use 1.2.42 above)Introduction to libpngThe libpng package contains libraries used by other programs for reading and writing PNG files. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Additional Downloads
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpng Installation of libpngInstall libpng by running the following commands: patch -Np1 -i ../libpng-1.2.39-apng-1.patch && ./configure --prefix=/usr && make To test the results, issue: make check. Now, as the make install && install -v -m755 -d /usr/share/doc/libpng-1.2.39 && install -v -m644 README libpng-1.2.39.txt \ /usr/share/doc/libpng-1.2.39 ContentsInstalled Programs: libpng-config and libpng12-config
Installed Libraries: libpng.{so,a} and libpng12.{so,a}
Installed Directories: /usr/include/libpng12 and /usr/share/doc/libpng-1.2.39 Short Descriptions
Last updated on 2010-02-14 00:15:12 +0000 real 3m1.022s user 0m25.986s sys 2m26.625s pixman-0.15.20Introduction to pixmanThe pixman package contains a library that provides low-level pixel manipulation features such as image compositing and trapezoid rasterization. This package is known to build and work properly using an LFS-6.5 platform. Package Information
pixman DependenciesOptional (required to run the test suite)User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pixman Installation of pixmanInstall pixman by running the following commands: ./configure --prefix=/usr && make To test the results, issue: make check. Note that GTK+2 must be installed. Now, as the make install ContentsInstalled Programs: None
Installed Library: libpixman-1.{so,a}
Installed Directory: /usr/include/pixman-1 Last updated on 2009-08-25 05:51:17 +0000 real 2m5.496s user 0m3.020s sys 0m19.161s Fontconfig-2.7.3Introduction to FontconfigThe Fontconfig package is a library for configuring and customizing font access. This package is known to build and work properly using an LFS-6.5 platform. Package Information
![]() NoteThe numbering system of Fontconfig is unusual. The beta versions of the package are numbered with a 9x in the last portion of the release number. This means that 2.6.92 is a beta release and the most current release is of the form 2.7.3 Fontconfig DependenciesRequiredFreeType-2.3.11 and either expat-2.0.1 or libxml2-2.7.6 Optional![]() NoteIf you have DocBook-utils installed and you remove the User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Fontconfig Installation of FontconfigInstall Fontconfig by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc --localstatedir=/var \ --disable-docs --without-add-fonts \ --with-docdir=/usr/share/doc/fontconfig-2.7.3 && make To test the results, issue: make check. Now, as the make install Command Explanations
Configuring FontconfigConfiguration InformationThe main configuration file for Fontconfig is
Fontconfig also ships many example configuration files in the More information about configuring Fontconfig can be found in the user's manual in file:///usr/share/doc/fontconfig-2.7.3/fontconfig-user.html. ContentsInstalled Programs: fc-cache, fc-cat, fc-list, fc-match, fc-query, and fc-scan
Installed Library: libfontconfig.{so,a}
Installed Directories: /etc/fonts, /usr/include/fontconfig, /usr/share/doc/fontconfig-2.7.3 and /var/cache/fontconfig Short Descriptions
Last updated on 2009-10-21 15:23:33 +0000 real 4m1.462s cairo-1.8.8Introduction to cairocairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, image buffers, PostScript, PDF and SVG. Experimental backends include OpenGL (through glitz), Quartz and XCB file output. cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (e.g., through the X Render Extension). The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo include stroking and filling cubic Bézier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.). This package is known to build and work properly using an LFS-6.5 platform. Package Information
cairo DependenciesRequiredlibpng-1.2.39, pixman-0.15.20, and Fontconfig-2.7.3 RecommendedOptionalglitz, DirectFB, GTK-Doc-1.11, xcb-util-0.3.6, libspectre, and Valgrind Optional (to provide extended test suite coverage)GTK+-2.18.5 (for testing the PDF backend), Poppler-0.12.0 (for testing the PDF backend), and librsvg-2.26.0 (for testing the SVG backend) Note that the GTK, Poppler and librsvg packages are circular in that using them for test suite coverage requires installing cairo first, then installing the desired package(s), then installing cairo again. User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cairo Installation of cairoInstall cairo by running the following commands: ./configure --prefix=/usr && make To test the results, issue: make check. Note that as many as 29 of the tests are known to fail for unknown reasons. If you do not have a gs binary in your path, many of the 205 tests will fail. Also, to enhance test coverage, the tests should be run with an available X Window screen (e.g. from a local xterm or equivalent window). Now, as the make install Command Explanations
ContentsInstalled Programs: None
Installed Library: libcairo.{so,a}
Installed Directories: /usr/include/cairo and /usr/share/gtk-doc/html/cairo Last updated on 2009-08-27 12:54:22 +0000 real 2m28.572s user 0m29.690s sys 1m49.515s PCRE-8.00Introduction to PCREThe PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5. This package is known to build and work properly using an LFS-6.5 platform. Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pcre Installation of PCREInstall PCRE by running the following commands: ./configure --prefix=/usr \ --docdir=/usr/share/doc/pcre-8.00 \ --enable-utf8 --enable-unicode-properties \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 && make To test the results, issue: make check. Note: The third set of the tests cannot be run if the "fr_FR" locale is missing from the system. Now, as the make install If you reinstall Grep after installing PCRE, Grep will get linked against PCRE and may cause problems if mv -v /usr/lib/libpcre.so.* /lib/ && ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so Command Explanations
ContentsInstalled Programs: pcregrep, pcretest, and pcre-config
Installed Libraries: libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}
Installed Directory: /usr/share/doc/pcre-8.00 Last updated on 2010-01-05 23:47:06 +0000 real 10m51.539s user 1m9.636s sys 9m0.934s GLib-2.22.3Introduction to GLibThe GLib package contains a low-level core library. This is useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system. This package is known to build and work properly using an LFS-6.5 platform. Package Information
GLib DependenciesRecommendedPCRE-8.00 (built with unicode properties) Optionalattr-2.4.44, Gamin-0.1.10, and GTK-Doc-1.11 Gamin requires GLib in order to compile; therefore, you must first install GLib, then compile Gamin, and recompile GLib against it. Optional Runtime Dependency for the gtester-report programUser Notes: http://wiki.linuxfromscratch.org/blfs/wiki/glib2 Installation of GLibInstall GLib by running the following commands: ./configure --prefix=/usr \ --with-pcre=system && make The GLib test suite requires desktop-file-utils in order to run. However, desktop-file-utils requires GLib in order to compile; therefore, you must first install GLib and then run the test suite. Now, as the make install && chmod -v 755 /usr/bin/gtester-report You should now install desktop-file-utils-0.15 and proceed to run the test suite. To test the results, issue: make check. Command Explanations
Configuring GLibConfiguration InformationBy default, GLib assumes that all filenames are in the UTF-8 charset. See the Wrong Filename Encoding section of the Locale Related Issues page for more details on this kind of issue. In order to tell GLib and applications that use it that filenames are in the default locale encoding, set the variable cat > /etc/profile.d/glib2-locale.sh << "EOF"
ContentsInstalled Programs: glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gtester and gtester-report
Installed Libraries: libgio-2.0.so, libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and libgthread-2.0.so
Installed Directories: /usr/include/gio-unix-2.0, /usr/include/glib-2.0, /usr/lib/gio, /usr/lib/glib-2.0, /usr/share/glib-2.0, /usr/share/gtk-doc/html/gio, /usr/share/gtk-doc/html/glib, and /usr/share/gtk-doc/html/gobject Last updated on 2010-01-01 06:38:02 +0000 real 2m46.664s user 0m9.333s sys 1m17.757s Pango-1.26.2Introduction to PangoThe Pango package contains the This package is known to build and work properly using an LFS-6.5 platform. Package Information
Pango DependenciesRequiredGLib-2.22.3 and one of cairo-1.8.8 or X Window System or Fontconfig-2.7.3 cairo is not required to build Pango, but it is highly recommended that you install cairo before building Pango. If you don't build Pango with a cairo backend, then GTK+-2 will not build. OptionalOptional (If cairo is Not Installed)Optional (To Rebuild the API Documentation)User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pango Installation of PangoInstall Pango by running the following commands: ./configure --prefix=/usr --sysconfdir=/etc && make To test the results, issue: make check. You can install GTK-Doc-1.11 if you wish to test the documentation section of the test suite. Also, the “testboundries” test could fail if you have LibThai installed. Now, as the make install Command Explanations
Configuring PangoContentsInstalled Programs: pango-querymodules and pango-view
Installed Libraries: libpango*-1.0.so and Pango loadable modules.
Installed Directories: /etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and /usr/share/gtk-doc/html/pango Short Descriptions
Last updated on 2010-01-01 07:55:42 +0000 real 2m11.063s user 0m2.484s sys 0m20.605s ATK-1.28.0Introduction to ATKThe ATK package contains the ATK libraries. They are useful for allowing accessibility solutions to be available for all GTK2 applications. This package is known to build and work properly using an LFS-6.5 platform. Package Information
ATK DependenciesRequiredOptionalUser Notes: http://wiki.linuxfromscratch.org/blfs/wiki/atk Installation of ATKInstall ATK by running the following commands: ./configure --prefix=/usr && make This package does not come with a test suite. Now, as the make install Command Explanations
ContentsInstalled Programs: None
Installed Library: libatk-1.0.so
Installed Directories: /usr/include/atk-1.0 and /usr/share/gtk-doc/html/atk Last updated on 2009-10-21 16:11:18 +0000 real 2m2.354s user 0m3.588s sys 0m18.089s libjpeg-7Introduction to libjpegThe libjpeg package contains libraries that allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm. This package is known to build and work properly using an LFS-6.5 platform. Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libjpeg Installation of libjpegInstall libjpeg by running the following commands: ./configure --prefix=/usr && make To test the results, issue: make test. Now, as the make install ContentsInstalled Programs: cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom
Installed Library: libjpeg.{so,a}
Installed Directories: None Short Descriptions
Last updated on 2010-02-11 22:52:39 +0000 real 5m21.520s user 0m6.784s sys 0m50.055s LibTIFF-3.8.2Introduction to LibTIFFThe LibTIFF package contains the TIFF libraries and associated utilities. The libraries are used by many programs for reading and writing TIFF files and the utilities are useful for general work with TIFF files. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Additional DownloadsLibTIFF DependenciesOptionallibjpeg-7, X Window System, and freeglut-2.4.0 Note that if you installed the optional MesaGLUT package with the MesaLib-7.6 package during an Xorg7 installation, a GLUT library is already installed and you don't need freeglut. User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libtiff Installation of LibTIFFInstall LibTIFF by running the following commands: patch -Np1 -i ../tiff-3.8.2-fixes-2.patch && ./configure --prefix=/usr && make To test the results, issue: make check. Now, as the make install ContentsInstalled Programs: bmp2tiff, fax2ps, fax2tiff, gif2tiff, pal2rgb, ppm2tiff, ras2tiff, raw2tiff, rgb2ycbcr, thumbnail, tiff2bw, tiff2pdf, tiff2ps, tiff2rgba, tiffcmp, tiffcp, tiffdither, tiffdump, tiffgt, tiffinfo, tiffmedian, tiffset, and tiffsplit
Installed Libraries: libtiff.{so,a} and libtiffxx.{so,a}
Installed Directory: /usr/share/doc/tiff-3.8.2 Short Descriptions
Last updated on 2009-07-31 18:10:06 +0000 real 0m24.495s user 0m0.960s sys 0m3.376s UnZip-6.0Introduction to UnZipThe UnZip package contains ![]() CautionThe previous version of the UnZip package had some locale related issues. Currently there are no BLFS editors capable of testing these local issues. Therefore, the locale related information is left on this page, but has not been tested. Note that the patch recommended for the locale issues will not apply to this version of UnZip. See the discussion below in the section called “UnZip Locale Issues”. A more general discussion of these problems can be found in the Program Assumes Encoding section of the Locale Related Issues page. Package Information
Additional Downloads
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/unzip UnZip Locale Issues![]() NoteUse of UnZip in the JDK, Mozilla, DocBook or any other BLFS package installation is not a problem, as BLFS instructions never use UnZip to extract a file with non-ASCII characters in the file's name. The UnZip package assumes that filenames stored in the ZIP archives created on non-Unix systems are encoded in CP850, and that they should be converted to ISO-8859-1 when writing files onto the filesystem. Such assumptions are not always valid. In fact, inside the ZIP archive, filenames are encoded in the DOS codepage that is in use in the relevant country, and the filenames on disk should be in the locale encoding. In MS Windows, the OemToChar() C function (from When using unzip to unpack a ZIP archive containing non-ASCII filenames, the filenames are damaged because unzip uses improper conversion when any of its encoding assumptions are incorrect. For example, in the ru_RU.KOI8-R locale, conversion of filenames from CP866 to KOI8-R is required, but conversion from CP850 to ISO-8859-1 is done, which produces filenames consisting of undecipherable characters instead of words (the closest equivalent understandable example for English-only users is rot13). There are several ways around this limitation: 1) For unpacking ZIP archives with filenames containing non-ASCII characters, use WinZip while running the Wine Windows emulator. 2) After running unzip, fix the damage made to the filenames using the convmv tool (http://j3e.de/linux/convmv/). The following is an example for the ru_RU.KOI8-R locale:
3) Apply the optional It allows to specify the assumed filename encoding in the ZIP archive using the Caveat: this method works only with 8-bit locale encodings, not with UTF-8. Attempting to use a patched unzip in UTF-8 locales may result in a segmentation fault and is probably a security risk. Installation of UnZipmake -f unix/Makefile linux To test the results, issue: make check. Now, as the make prefix=/usr install Command Explanations
ContentsInstalled Programs: funzip, unzip, unzipfsx, zipgrep, and zipinfo
Installed Libraries: None
Installed Directories: None Short Descriptions
Last updated on 2010-02-14 17:46:46 +0000 UnZip-5.52 (Obsoleted : use 6.0 above)Introduction to UnZipThe UnZip package contains ![]() CautionThe UnZip package has some locale related issues. See the discussion below in the section called “UnZip Locale Issues”. A more general discussion of these problems can be found in the Program Assumes Encoding section of the Locale Related Issues page. Package Information
Additional DownloadsUser Notes: http://wiki.linuxfromscratch.org/blfs/wiki/unzip UnZip Locale Issues![]() NoteUse of UnZip in the JDK, Mozilla, DocBook or any other BLFS package installation is not a problem, as BLFS instructions never use UnZip to extract a file with non-ASCII characters in the file's name. The UnZip package assumes that filenames stored in the ZIP archives created on non-Unix systems are encoded in CP850, and that they should be converted to ISO-8859-1 when writing files onto the filesystem. Such assumptions are not always valid. In fact, inside the ZIP archive, filenames are encoded in the DOS codepage that is in use in the relevant country, and the filenames on disk should be in the locale encoding. In MS Windows, the OemToChar() C function (from When using unzip to unpack a ZIP archive containing non-ASCII filenames, the filenames are damaged because unzip uses improper conversion when any of its encoding assumptions are incorrect. For example, in the ru_RU.KOI8-R locale, conversion of filenames from CP866 to KOI8-R is required, but conversion from CP850 to ISO-8859-1 is done, which produces filenames consisting of undecipherable characters instead of words (the closest equivalent understandable example for English-only users is rot13). There are several ways around this limitation: 1) For unpacking ZIP archives with filenames containing non-ASCII characters, use WinZip while running the Wine Windows emulator. 2) After running unzip, fix the damage made to the filenames using the convmv tool (http://j3e.de/linux/convmv/). The following is an example for the ru_RU.KOI8-R locale:
3) Apply the optional It allows to specify the assumed filename encoding in the ZIP archive using the Caveat: this method works only with 8-bit locale encodings, not with UTF-8. Attempting to use a patched unzip in UTF-8 locales may result in a segmentation fault and is probably a security risk. Installation of UnZipNote that if you applied the patch described above for locale issues, the first required security patch will have some offsets. Now install UnZip by running the following commands: patch -Np1 -i ../unzip-5.52-security_fix-1.patch && patch -Np1 -i ../unzip-5.52-security_fix-2.patch && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux To test the results, issue: make check. Now, as the make prefix=/usr install Command Explanations
ContentsInstalled Programs: funzip, unzip, unzipfsx, zipgrep, and zipinfo
Installed Libraries: None
Installed Directories: None Short Descriptions
Last updated on 2008-10-13 14:49:44 +0000 real 4m41.401s user 0m7.060s sys 0m43.219s JasPer-1.900.1Introduction to JasPerThe JasPer Project is an open-source initiative to provide a free software-based reference implementation of the JPEG-2000 codec. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Additional DownloadsJasPer DependenciesRequiredRecommendedlibjpeg-7, X Window System, and MesaLib-7.6 or freeglut-2.4.0 User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/jasper Installation of JasPer![]() NoteThe package source is distributed in patch -Np1 -i ../jasper-1.900.1-security_fixes-1.patch && ./configure --prefix=/usr --enable-shared && make This package does not come with a testsuite. Now, as the make install If you wish to install the PDF files for the Reference Manual and a tutorial on the JPEG-2000 standard, run the following commands as the install -v -m755 -d /usr/share/doc/jasper-1.900.1 && install -v -m644 doc/*.pdf /usr/share/doc/jasper-1.900.1 Command Explanations--enable-shared: This command causes the shared library to be built.
ContentsInstalled Programs: imgcmp, imginfo, jasper, jiv, and tmrdemo
Installed Library: libjasper.{so,a}
Installed Directories: /usr/include/jasper and /usr/share/doc/jasper-1.900.1 Short Descriptions
Last updated on 2009-07-31 18:10:06 +0000 real 0m3.272s user 0m0.096s sys 0m0.492s hicolor-icon-theme-0.11Introduction to hicolor-icon-themeThe hicolor-icon-theme package contains a default fallback theme for implementations of the icon theme specification. This package is known to build and work properly using an LFS-6.5 platform. Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/hicolor-icon-theme Installation of hicolor-icon-themeInstall hicolor-icon-theme by running the following commands: ./configure --prefix=/usr This package does not come with a test suite. Now, as the make install ContentsInstalled Programs: None
Installed Libraries: None
Installed Directory: /usr/share/icons/hicolor Last updated on 2009-10-21 16:34:30 +0000 real 36m8.662s user 0m48.987s sys 5m33.153s GTK+-2.18.5Introduction to GTK+The GTK+ package contains GTK+ libraries. These are useful for creating graphical user interfaces for applications. Package Information
GTK+ DependenciesRequiredcairo-1.8.8, Pango-1.26.2, and ATK-1.28.0 RecommendedLibTIFF-3.8.2, JasPer-1.900.1, libjpeg-7, and hicolor-icon-theme-0.11 Though not required, the GTK+ developers expect libtiff, libjasper and libjpeg to be installed. Other packages also expect GTK+-2 to be built with support for these graphics packages as well. OptionalCUPS-1.2.12, DocBook-utils-0.6.14, libbeagle, GTK-Doc-1.11, and Tracker User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gtk+2 Installation of GTK+Install GTK+ by running the following commands: ./configure --prefix=/usr --sysconfdir=/etc && make To test the results, issue: make check. Note that you must run the tests from a session with X Window Display capability (i.e., not a text-based terminal/console) as the tests attempt to open an X window, and the tests can take an excessively long time. Now, as the make install && install -v -m755 -d /usr/share/doc/gtk+-2.18.5/{faq,tutorial} && cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.18.5/faq && cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.18.5/tutorial && install -v -m644 docs/*.txt /usr/share/doc/gtk+-2.18.5 Command Explanations
ContentsInstalled Programs: gdk-pixbuf-csource, gdk-pixbuf-query-loaders, gtk-builder-convert, gtk-demo, gtk-query-immodules-2.0, and gtk-update-icon-cache
Installed Libraries: libgailutil.so, libgdk-x11-2.0.so, libgdk_pixbuf-2.0.so, libgdk_pixbuf_xlib-2.0.so, libgtk-x11-2.0.so, and numerous engine, module, and loader plugins
Installed Directories: /etc/gtk-2.0, /usr/include/gail-1.0, /usr/include/gtk-2.0, /usr/include/gtk-unix-print-2.0, /usr/lib/gtk-2.0, /usr/share/doc/gtk+-2.18.5, /usr/share/gtk-2.0, /usr/share/gtk-doc/html/{gail-libgail-util,gdk,gdk-pixbuf,gtk}, /usr/share/themes/Default/gtk*, /usr/share/themes/Emacs, and /usr/share/themes/Raleigh Short Descriptions
Last updated on 2010-01-02 06:54:21 +0000 real 1m24.869s user 0m2.204s sys 0m12.497s LibIDL-0.8.13Introduction to LibIDLThe libIDL package contains libraries for Interface Definition Language files. This is a specification for defining portable interfaces. This package is known to build and work properly using an LFS-6.5 platform. Package Information
LibIDL DependenciesRequiredOptional to Build DocumentationUser Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libidl Installation of LibIDLInstall libIDL by running the following commands: ./configure --prefix=/usr && make If you have teTeX installed and wish to build the documentation, issue the following commands: make pdf && make ps && makeinfo --plaintext libIDL2.texi >libIDL2.txt This package does not come with a test suite. Now, as the make install If you built the documentation, issue the following commands as the install -v -m755 -d /usr/share/doc/libIDL-0.8.13 && install -v -m644 libIDL2.{pdf,dvi,ps,txt} README \ /usr/share/doc/libIDL-0.8.13 ContentsInstalled Program: libIDL-config-2
Installed Library: libIDL-2.{so,a}
Installed Directories: /usr/include/libIDL-2.0/libIDL and /usr/share/doc/libIDL-0.8.13 Last updated on 2009-08-06 17:06:42 +0000
real 8m3.615s user 0m14.897s sys 1m9.860s Python-2.6.4Introduction to PythonThe Python package contains the Python development environment. This is useful for object-oriented programming, writing scripts, prototyping large programs or developing entire applications. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Additional DownloadsOptional HTML Documentation
Python DependenciesOptionalPth-2.0.7, GCC-4.1.2 (install JAVA for the Optional (to create package-specific support modules)OpenSSL-0.9.8l, Tk-8.5.6, Berkeley DB-4.5.20, and SQLite-3.6.22 User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Python Installation of PythonInstall Python by running the following commands: sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" \ setup.py && ./configure --prefix=/usr --enable-shared && make To test the results, issue: make test. Note that if you have an existing Python installation which includes the PyXML module, the tests could produce a segmentation fault. Now, as the make install There is no documentation installed using the instructions above. See the In order to use the help ('name_string') feature of the python interpreter with some statements and keywords, you must download (or create) the optional HTML documentation and install it. If you downloaded the HTML docs, issue the following commands as the install -v -m755 -d /usr/share/doc/Python-2.6.4/html && tar --strip-components=1 \ --no-same-owner \ --no-same-permissions \ -C /usr/share/doc/Python-2.6.4/html \ -xvf ../python-2.6-docs-html.tar.bz2 Command Explanationssed -i "s/ndbm_libs = ..." setup.py: This command is used to fix a build problem with the GDBM library. Configuring PythonIn order for python to find the installed documentation, you must add the following environment variable to individual user's or the system's profile: export PYTHONDOCS=/usr/share/doc/Python-2.6.4/html ContentsInstalled Programs: 2to3, pydoc, python, python-config, python2.6, python2.6-config, smtpd.py, and optionally if Tk is installed, idle
Installed Libraries: libpython2.6.so and numerous modules installed in /usr/lib/python2.6/lib-dynload
Installed Directories: /usr/include/python2.6, /usr/lib/python2.6, and /usr/share/doc/python-2.6.4 Last updated on 2010-01-05 23:54:28 +0000 real 0m38.211s user 0m1.492s sys 0m4.584s Zip-3.0Introduction to ZipThe Zip package contains Zip utilities. These are useful for compressing files into Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/zip Installation of ZipInstall Zip by running the following commands: make -f unix/Makefile generic_gcc This package does not come with a test suite. Now, as the make prefix=/usr -f unix/Makefile install Command Explanationsmake prefix=/usr -f unix/Makefile install: This command overrides the ContentsInstalled Programs: zip, zipcloak, zipnote, and zipsplit
Installed Libraries: None
Installed Directories: None Last updated on 2008-12-31 05:22:14 +0000 real 2m24.195s user 0m10.065s sys 0m14.621s SQLite-3.6.22Introduction to SQLiteThe SQLite package is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. This package is known to build and work properly using an LFS-6.5 platform. Package Information
Optional Documentationhttp://sqlite.org/sqlite_docs_3_6_22.zip User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/sqlite Installation of SQLiteIf you downloaded the optional documentation, issue the following command to install the documentation into the source tree: unzip -q ../sqlite_docs_3_6_22.zip Install SQLite by running the following commands: ./configure --prefix=/usr && make To test the results, issue: make test. Now, as the make install If you downloaded the optional documentation, issue the following commands as the install -v -m755 -d destdir/usr/share/doc/sqlite-3.6.22 & cp -v -R sqlite-3_6_22-docs/* \ destdir/usr/share/doc/sqlite-3.6.22 ContentsInstalled Program: sqlite3
Installed Library: libsqlite3.{so,a}
Installed Directories: None Last updated on 2010-02-15 01:27:35 +0000 real 81m40.567s user 2m13.156s sys 11m3.053s Xulrunner-1.9.1.2Introduction to XulrunnerXulrunner is a runtime environment for XUL applications, and forms the major part of the Mozilla codebase. In particular, it provides the gecko engine together with pkgconfig files so that applications such as Epiphany and Yelp can use it. Package InformationNote : The actual version I used was 3.5.7
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.7/source/firefox-3.5.7.source.tar.bz2
TipWhen a new version of firefox is released, sometimes a corresponding new version of xulrunner appears at the same time. At other times it appears several days later or not at all. So far in the firefox-3.x series, every new release has created xulrunner libraries with a corresponding new version. Whenever a separate xulrunner tarball has been released, it has been bitwise identical to the corresponding firefox tarball. So, we will use the firefox tarball to save downloading this large package twice.
Additional Downloads
Xulrunner DependenciesRequiredALSA Library-1.0.21 GTK+-2.18.5, libIDL-0.8.13, Pango-1.26.2, Python-2.6.4, and Zip-3.0 Note: libjpeg should have been installed before GTK+ and should exist on your system. If for some reason you haven't installed libjpeg, you should remove the RecommendedSQLite-3.6.16 (internal sqlite is incompatable with existing or future installations) OptionalD-Bus GLib Bindings-0.82, Doxygen-1.5.9, cURL-7.19.7 (only for crash-reporter), GNOME Virtual File System-2.24.2 and libgnomeui-2.24.2 (for gnome integration), little cms-1.18a, libpng-1.2.39 (patched for apng support), NSPR-4.8.2 (recommended if you build any other Mozilla.org packages), NSS-3.12.4 (recommended if you build any other Mozilla.org packages), startup-notification-0.9. UnZip-5.52, Valgrind (only for testing the jemalloc code), and Wget-1.11.4 User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xulrunner Installation of XulrunnerThe configuration of Xulrunner is accomplished by creating a cat > .mozconfig << "EOF"
ac_add_options --disable-crashreporter EOF Note : I added the options --disable-creashreporter removed the options : ac_add_options --with-system-nspr
If you did not install NSPR-4.8.2 and NSS-3.12.4, then apply the patch with the following command:
patch -Np1 -i ../firefox-3.5.2-provide_system_nspr_nss-2.patch Note : I applied the patch even though the version does not match Compile Xulrunner by issuing the following commands: sed 's@stable@unstable@' \ -i xulrunner/installer/mozilla-js.pc.in && echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in && make -f client.mk build This package does not come with a test suite. Now, as the make -f client.mk install && mkdir /usr/lib/mozilla && ln -sv /usr/lib/xulrunner-1.9.1.7/plugins \ /usr/lib/mozilla/plugins && chown -R root:root /usr/lib/xulrunner-* /usr/bin/xulrunner Note : changed from 1.9.1.2 to 1.9.1.7 If you've elected to use the included NSPR and NSS, while still the for DL in \ libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \ libplds4.so libplc4.so libnspr4.so do ln -sv xulrunner-1.9.1.7/$DL /usr/lib/$DL done Note : changed from 1.9.1.2 to 1.9.1.7
Command Explanationsecho "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in : If you try to build Yelp without this, the prtypes header from nspr will not be found. It is arguable whose error this is (the code presumably works on earlier geckos), but this fix is unlikely to cause any damage in other packages. make -f client.mk ...: Mozilla products are packaged to allow the use of a configuration file which can be used to pass the configuration settings to the configure command. make uses the for DL in ...: The nspr and nss libraries shipped with this package are installed into /usr/lib/xulrunner-1.9.1.2 which means they will not be found at runtime. By using symbolic links from ln -sv /usr/lib/xulrunner-1.9.1.2/plugins /usr/lib/mozilla/plugins: Some packages will install browser plugins into /usr/lib/mozilla/plugins. By creating this as a symlink to the basic plugins we keep them all together. ContentsInstalled Programs: xulrunner
Installed Libraries: Numerous libraries, browser components, plugins, extensions, and helper modules installed in
/usr/lib/xulrunner-1.9.1.2 Installed Directories: /etc/gre.d, /usr/include/xulrunner-1.9.1.2, /usr/lib/xulrunner-1.9.1.2, and /usr/lib/xulrunner-devel-1.9.1.2 Last updated on 2009-11-02 00:40:51 +0000 Note : The actual version I used was 3.5.7
real 3m19.405s user 0m21.553s sys 2m13.668s Firefox-3.5.2Introduction to FirefoxFirefox is a stand-alone browser based on the Mozilla codebase. With the introduction of firefox-3.x, the pkgconfig files for the Gecko engine (and for nss and nspr) are not installed. This means that applications such as Epiphany can no longer be built against firefox, and must instead be built against xulrunner (which is actually the same code, but built in a different way). If you wish to build other packages which use Gecko (for the moment, probably only gnome-2.24 or later versions will recognize xulrunner), build Xulrunner-1.9.1.2 first. ![]() TipFirefox is updated frequently as new vulnerabilities are found. Consult mozilla security for details of what is fixed in newer releases. The editors cannot guess what will differ in newer versions: it should be straightforward to upgrade within the same series (3.5), but it is always possible that newer versions will have increased dependencies, or that something using the nss or gecko libraries will break. If you update, begin by updating xulrunner if you use that, then update firefox (ensuring the libxul-sdk option points to the new version). Package Information
Additional Downloads
Firefox DependenciesRecommendedXulrunner-1.9.1.2 which shares all these dependencies, or for a standalone firefox the following Required and Optional dependencies: RequiredALSA Library-1.0.21, GTK+-2.18.5, libIDL-0.8.13 Pango-1.26.2 Python-2.6.4, and Zip-3.0 Note: libjpeg should have been installed before GTK+ and should exist on your system. If for some reason you haven't installed libjpeg, you should remove the OptionalD-Bus GLib Bindings-0.82, Doxygen-1.5.9, cURL-7.19.7 (only for crash-reporter), GNOME Virtual File System-2.24.2 and libgnomeui-2.24.2 (for gnome integration), little cms-1.18a, libpng-1.2.39 (patched for apng support), NSPR-4.8.2, NSS-3.12.4, startup-notification-0.9. SQLite-3.6.16, UnZip-5.52, Valgrind (only for testing the jemalloc code), and Wget-1.11.4 User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/firefox Installation of FirefoxThe configuration of Firefox is accomplished by creating a cat > .mozconfig << "EOF"
Note : I uncommented the line --disable-crashreporter I also changed xulrunner-devel-1.9.1.2 to xulrunner-devel-1.9.1.7
If you did not install Xulrunner-1.9.1.2 or NSPR-4.8.2 and NSS-3.12.4, then fix a couple of build errors with the following commands: patch -Np1 -i ../firefox-3.5.2-provide_system_nss_nspr-1.patch && sed 's@stable@unstable@' -i xulrunner/installer/mozilla-js.pc.in Compile Firefox by issuing the following commands: make -f client.mk build This package does not come with a test suite. Now, as the make -f client.mk install If you are building firefox on xulrunner, as the ln -sv /usr/lib/xulrunner-1.9.1.7/plugins \ /usr/lib/firefox-3.5.7/plugins Note : changed xulrunner-1.9.1.2 to xulrunner-1.9.1.7 , firefox-3.5.2 to firefox-3.5.7 If you've elected to use the included NSPR and NSS, while still the for DL in \ libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \ libplds4.so libplc4.so libnspr4.so do ln -sv xulrunner-1.9.1.7/$DL /usr/lib/$DL doneNote : changed xulrunner-1.9.1.2 to xulrunner-1.9.1.7 Command Explanationsmake -f client.mk ...: Mozilla products are packaged to allow the use of a configuration file which can be used to pass the configuration settings to the configure command. make uses the ln -sv /usr/lib/xulrunner-1.9.1.2/plugins /usr/lib/firefox-3.5.2/plugins: Firefox looks for plugins in its own directory, but when building on xulrunner the plugins were installed by that package. Configuring FirefoxNo specific configuration is required as long as the firefox script is in the user's path. If Firefox is installed in a non-standard location, then make a symlink to the firefox script in the If your Window or Desktop Manager does not allow you to configure a default mail client, you can add a configuration parameter to Firefox so that an email client will start when you click on a First, open the configuration dialog by entering The two configuration preference items you need to check so that Firefox uses a specified default mail client are the ![]() TipThere is a multitude of configuration parameters you can tweak to customize Firefox. A very extensive and up-to-date list of these parameters can be found at http://preferential.mozdev.org/preferences.html. Many applications look for netscape when they need to open a browser. You may wish to make the following symlink for convenience (as the ln -v -sf firefox /usr/bin/netscape For installing various Firefox plugins, refer to Mozdev's PluginDoc Project. If you have the JDK-6 Update 18 already installed, create the following link as the ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \ /usr/lib/firefox-3.5.7/plugins Note : changed from 3.5.2 to 3.5.7 Some packages install Mozilla plugins into the default system-wide directory ln -v -s ../../mozilla/plugins/ Note : changed from 3.5.2 to 3.5.7
ContentsInstalled Programs: firefox and firefox-config
Installed Libraries: Numerous libraries, browser components, plugins, extensions, and helper modules installed in
/usr/lib/firefox-3.5.2 Installed Directories: /usr/include/firefox-3.5.2, /usr/lib/firefox-3.5.2, and /usr/share/idl/firefox-3.5.2 Last updated on 2009-11-02 00:40:51 +0000 End |
BLFS >