Mercurial > hg > aboriginal
changeset 896:edc150001472
New FAQ entry, comment updates.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 20 Nov 2009 23:42:07 -0600 |
parents | c1ab614da7b9 |
children | 850da666acc6 |
files | download.sh www/FAQ.html |
diffstat | 2 files changed, 24 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/download.sh Thu Nov 19 19:38:04 2009 -0600 +++ b/download.sh Fri Nov 20 23:42:07 2009 -0600 @@ -33,7 +33,7 @@ URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.5.tar.bz2 \ SHA1=f4a580f75f605b8f7c285958c4f3ec11183dff6c \ -UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.31-rc5.tar.bz2 \ +UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.32-rc7.tar.bz2 \ download || dienow URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \ @@ -137,8 +137,9 @@ # Create a MANIFEST file listing package versions. # This can optionally call source control systems (hg and svn) to get version -# information for the FWL build scripts and any USE_UNSTABLE packages, so -# use $OLDPATH. (Most likely we haven't run host-tools.sh yet, but just +# information for the FWL build scripts and any USE_UNSTABLE packages. These +# are intentionally excluded from the new path setup by host-tools.sh, so +# just in case we've already run that use $OLDPATH for this. blank_tempdir "$WORK" PATH="$OLDPATH" do_readme > "$SRCDIR"/MANIFEST || dienow
--- a/www/FAQ.html Thu Nov 19 19:38:04 2009 -0600 +++ b/www/FAQ.html Fri Nov 20 23:42:07 2009 -0600 @@ -8,6 +8,8 @@ <li><p><a href=#ubuntu_mispackaged_qemu>Q: ./run-emulator.sh says qemu-system-mips isn't found, but I installed qemu. Why isn't this working?</a></p></li> <li><p><a href=#case_sensitive_patch>Q: I added my uClibc patch to sources/patches but it didn't do anything, what's wrong?</a></p></li> + +<li><p><a href=#package_breaks>Q: Why did packate build $NAME die because it couldn't find $PREREQUISITE, even though it's installed?</a></p></li> </ul> <a name=where_start /><h2>Q: Where do I start?</h2> @@ -128,5 +130,23 @@ <p>The Linux filesystem is case sensitive, so the patch has to start with "uClibc-" with a capital C.</p> +<a name=package_breaks /><h2>Q: Why did the $NAME package build die +with a complaint that it couldn't find $PREREQUISITE, even though that's +installed on the host? (For example, distcc and python.)</h2> + +<p>Because you skipped the host-tools.sh step, and because installing a package +on the host isn't the same as installing it on the target.</p> + +<p>Even though host-tools.sh is technically an optional step, your host has to +be carefully set up to work without it.</p> + +<p>Not only does host-tools.sh add prerequisite packages your build requires, +it _removes_ everything else from the path that might change the behavior of +the build. Without this, the ./configure stages of various packages will +detect that libtool exists, or that the host has Python or Perl installed, +and configure the packages to make use of things that the cross compiler's +headers and libraries don't have, and that the target root filesystem +may not have installed.</p> + <!--#include file="footer.html" --> </html>