cvs commit: www/test/blfs faq.html

jeroen at jeroen at
Mon Aug 25 22:42:23 PDT 2003

jeroen      03/08/25 23:42:22

  Added:       test/blfs faq.html
  Split up the FAQ part 3 - add the BLFS FAQ.
  Revision  Changes    Path
  1.1                  www/test/blfs/faq.html
  Index: faq.html
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
  <html xmlns="" xml:lang="en">
  	<title>BLFS - FAQ</title>
  	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  	<meta http-equiv="Content-Style-Type" content="text/css" />
  	<meta name="description" content="Beyond Linux From Scratch - Expand and customize your LFS to a server, workstation or desktop machine" />
  	<meta name="keywords" content="Linux, LinuxFromScratch, Linux From Scratch, BeyondLinuxFromScratch, Beyond Linux From Scratch, BLFS, build your own Linux, DIY Linux, do-it-yourself Linux, create your own Linux" />
  	<link rel="stylesheet" type="text/css" href="../style/screen.css" media="screen" />
  	<link rel="stylesheet" type="text/css" href="../style/print.css" media="print" />
  	<link rel="icon" href="../images/favicon.ico" type="image/x-icon" />
  <body id="body" class="faq">
  <div id="header">
  	<ul id="sectionnav">
  		<li><a href="#content" class="hidden" accesskey="2">Skip to content</a></li>
  		<li><a href="../lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  		<li><a href="../alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
  		<li><a href="../hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
  	<h1><a href="news.html" accesskey="b">Beyond Linux From Scratch</a></h1><span class="hidden"> - </span>
  	<h2><a href="whatisblfs.html">Your distro. Your rules.</a></h2>
  	<div id="search">
  		<form method="get" action="">
  			<label title="Enter your search terms"><input size="15" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
  			<label title="Submit the search terms"><input type="submit" value="search" /></label><br />
  			<a href="../search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
  <div id="container">
  	<div id="content">
  	<em><a href="#projectnav" class="hidden">Skip to subproject-navigation</a></em>
  	<em><a href="#generalnav" class="hidden">Skip to sitewide navigation</a></em>
  <h2>The BLFS FAQ</h2>
  <h3>Originally by Seth W. Klein - now maintained by <a href="mailto:jeroen at">Jeroen Coumans</a></h3>
  <div id="pagenav">
  		<li><a href="../faq/#generalfaq">General FAQ</a></li>
  		<li><a href="../lfs/faq.html">LFS FAQ</a></li>
  		<li><a href="#header">BLFS FAQ</a></li>
  		<li><a href="../faq/#oldfaq">Old FAQ's</a></li>
  		<li><a href="../faq/#changelog">Changelog</a></li>
  		<li><a href="../faq/#thanks">Thanks</a></li>
  <h4><a href="#genblfs">General BLFS questions</a></h4>
  	<li><a href="#bootcd">How do I make a bootable CD?</a></li>
  	<li><a href="#quake3">You LFSers play Quake?!?</a></li>
  <h4><a href="#compissues">Compilation issues</a></h4>
  	<li><a href="#gtk-2_0">I'm getting errors building a package that requires GTK+,but I've installed GTK+ 2.x.</a></li>
  	<li><a href="#undefined-deflate">undefined reference to `deflate'</a></li>
  	<li><a href="#missing-x-includes">X11/Xlib.h: No such file or directory</a></li>
  	<li><a href="#gnome-versions">Any error while building part of Gnome</a></li>
  <h4><a href="#confissues">Configuration issues</a></h4>
  	<li><a href="#how-to-print">How do I print?</a></li>
  	<li><a href="#konsole-ps1">How do I set PS1 in Konsole?</a></li>
  <h4 id="genblfs">General BLFS questions</h4>
  	<dt id="bootcd">How do I make a bootable CD?</dt>
  			<p>There are several <a href="../hints/files/">hints</a> related to boot CD's.</p>
  			<p>There are also ISO images at <a href=""></a> and <a href=""></a>.</p>
  	<dt id="quake3">You LFSers play Quake?!?</dt>
  			<p>Glad you asked ;) Ian Molton in the UK runs a Quake server for LFS users. Here are details:</p>
  				<li>Players need the latest Quake 3 release. As of February, 2003, this is <a href="">1.32b</a>.</li>
  				<li>Players need the pak0.pk3 file from the full game of Quake 3. This is available on the Quake 3 CD (even the MS Windows version). It goes in /usr/local/games/quake3/baseq3/ unless you installed Quake 3 somewhere else.</li>
  				<li>Players need the add on maps used in the server which they can get from <a href=""></a> and install in ~/.q3a/baseq3/ or where ever the pak0.pk3 file is. Downloading the maps manually is absolutely necessary because the server has automatic map downloading disabled.</li>
  				<li>For the same reason that automatic map downloading is disabled, please don't download from the web while a game is in progress.</li>
  				<li>Although the server is only guarenteed to be running when games are scheduled, players may connect to the server for testing whenever they like.</li>
  				<li>Games are held every week on Tuesday at 20:00 UTC and on Saturday at 22:00 UTC. Note that those times are in UTC.</li>
  				<li>Because the server is only for LFS users, and Ian would like to avoid setting a password, the server id is recorded only in the lfs-chat archives.</li>
  				<li>If you've created an entry for the server in your "favorites" but it's not showing up, you may have "Show empty servers" turned off.</li>
  <p><a href="#header">Back to the top.</a></p>
  <h4 id="compissues">Compilation issues</h4>
  	<dt id="gtk-2_0">I'm getting errors building a package that requires GTK+, but I've installed GTK+ 2.x.</dt>
  			<p>GTK+ 2.x and 1.2.x aren't compatible. The package you're installing may need GTK+ (and GLIB) 1.2.x. You can install GTK+ (and GLIB) 1.2.x next to 2.x.</p>
  	<dt id="missing-x-includes">X11/Xlib.h: No such file or directory</dt>
  			<p>Typical symptoms look like this:</p>
  			<ul class="code">
  				<li>$ echo -en 'x11:\n\tgcc x11.c\n' > Makefile</li>
  				<li>$ echo -en '#include <X11/Xlib.h>\nmain() { }\n' > x11.c</li>
  				<li>$ make</li>
  				<li>gcc x11.c</li>
  				<li><strong>x11.c:1: X11/Xlib.h: No such file or directory</strong></li>
  				<li><strong>make: *** [x11] Error 1</strong></li>
  				<li>$ rm Makefile x11.c</li>
  			<p>Creating a couple symlinks will fix it. Here are the commands:</p>
  			<ul class="code">
  				<li>cd /usr</li>
  				<li>ln -s X11R6 X11</li>
  				<li>cd include</li>
  				<li>ln -s ../X11/include/X11 X11</li>
  	<dt id="gnome-versions">Any error while building part of Gnome</dt>
  			<p>Using the latest version of every Gnome package doesn't work. You have to use versions that are known to work together.</p>
  			<p>To find a list of such versions go to <a href=""></a>, drill down to the latest version , and use the versions there.</p>
  	<dt id="undefined-deflate">undefined reference to `deflate'</dt>
  			<p>If, when compiling XFree86, ghostscript, or anything else that uses libpng, you get an error including the following line:<code>/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../ undefined reference to `deflate'</code>.</p>
  			<p>Then rebuild libpng with the patch at <a href=""></a>.  Make sure you apply the patch immediately after  unpacking the sources. Like this:</p>
  			<ul class="code">
  				<li>tar --no-same-owner -xvjf libpng-1.2.5.tar.bz2</li>
  				<li>cd libpng-1.2.5</li>
  				<li>cat ../libpng-1.2.5-lz.patch | patch -p0</li>
  				<li>ln -s scripts/makefile.linux Makefile</li>
  				<li>make ZLIBLIB=/lib ZLIBINC=/usr/include</li>
  				<li>make ZLIBLIB=/lib ZLIBINC=/usr/include install</li>
  				<li>cd ..</li>
  				<li>rm -r libpng-1.2.5</li>
  			<p>Needless to say, if you originally put zlib in /usr/local or did something else different, you'll have to adjust those instructions accordingly.</p>
  <p><a href="#header">Back to the top.</a></p>
  <h4 id="confissues">Configuration issues</h4>
  	<dt id="how-to-print">How do I print?</dt>
  			<p>See <a href="../hints/files/">one of the various printing hints</a></p>
  			<p>Before you try any of the advanced printer daemons (for example CUPS) make sure your printer works by following <a href="../hints/files/pfs.txt">the Printing From Scratch hint</a>. For most people, this hint is all that is required to setup basic printing. </p>
  	<dt id="konsole-ps1">How do I set PS1 in Konsole?</dt>
  			<p>Follow the instructions in <a href="">the BLFS page about profile</a> to properly setup your enviroment.</p>
  			<p>Alternatively, you can try the following solutions:</p>
  			<p>Start konsole as a login shell:</p>
  			<code>konsole --ls</code>
  			<p>Change the session in Konsole to start <code>/bin/bash --login</code> instead of <code>/bin/bash</code>.</p>
  <p><a href="#header">Back to the top.</a></p>
  </div> <!-- end content -->
  <div id="footer">
  		<li><a href="#header">Back to the top.</a></li>
  		<li>© 1998-2003  Gerard Beekmans.</li>
  		<li>Site design by Jeroen Coumans.</li>
  		<li><a href=""><img src="../images/xhtml-1.1.png" alt="Valid XHTML 1.1!" height="15" width="80" /></a></li>
  		<li><a href=""><img src="../images/css.png" alt="Valid CSS!" height="15" width="80" /></a></li>
  <div id="projectnav">
  	<a href="#generalnav" class="hidden">Skip to general navigation</a>
  		<li><a href="news.html">BLFS News</a></li>
  		<li><a href="whatisblfs.html" title="Introduction to BLFS">What is Beyond Linux From Scratch?</a></li>
  		<li><a href="acknowledgements.html" title="People who earned credits for their contributions">Acknowledgements</a></li>
  		<li><a href="" title="Report a bug through our bugzilla">Report a bug</a></li>
  					<li><a href="" title="Download older versions">Book Releases</a></li>
  					<li><a href="" title="The latest stable BLFS version">Current stable</a></li>
  					<li><a href="packages.html" title="How to download all packages required by BLFS">Packages</a></li>
  					<li><a href="" title="Desktop backgrounds, bootup logo's etc">Artwork</a></li>
  					<li><a href="stable.html" title="Release information and translations of BLFS">Stable and translation</a></li>
  					<li><a href="cvs.html" title="Get the bleeding-edge development version">Development (CVS)</a></li>
  					<li><a href="contribute.html" title="Getting involved">Write for BLFS</a></li>
  					<li><a href="edguide/guide.html" title="BLFS Editor's Guide">Editor's guide</a></li>
  </div><!-- end sectionnav -->
  <div id="generalnav">
  				<li><a href="../donation.html" title="Donate via paypal">Make a donation</a></li>
  				<li><a href="" title="Get counted!">Register as LFS user</a></li>
  				<li><a href="../becomemirror.html" title="If you have some bandwidth to spare">Become a mirror</a></li>
  				<li><a href="../patches/" title="Submit patches for LFS or BLFS">Submit patches</a></li>
  		<li><h3>Help and contact:</h3>
  				<li><a href="faq.html" class="currentpage" title="Frequently Asked Questions (and answers!)">BLFS FAQ</a></li>
  				<li><a href="../search.html" title="Advanced search page">Search</a></li>
  				<li><a href="../irc.html" title="Chat channels and nick names">IRC</a></li>
  				<li><a href="../newsgroups.html" title="For following development and advanced support">News groups</a></li>
  				<li><a href="../mail.html" title="For following development and advanced support">Mailing lists</a></li>
  				<li><a href="../people.html" title="Who is who and who does what">The LFS team</a></li>
  		<li><h3>About this website:</h3>
  				<li><a href="index.html" title="Home (mirror list)" accesskey="1">Home (Mirror list)</a></li>
  				<li><a href="../sitemap.html" title="Structured overview of the website" accesskey="3">Sitemap</a></li>
  				<li><a href="../accesskeys.html" title="Keyboard shortcuts for this site" accesskey="0">Accesskeys</a></li>
  				<li><a href="../website.html" title="General info about this site">Website information</a></li>
  				<li><a href="" title="Mail us if you run into problems with this website" accesskey="9">Contact webmaster</a></li>
  </div><!-- end generalnav -->
  </div><!-- end container -->

More information about the website mailing list