bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison wget problem


From: Paul Eggert
Subject: Re: Bison wget problem
Date: Thu, 25 Aug 2005 12:08:31 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden writes:

> ++ a bison-2.0c.tar.gz would be nice

I was hoping that we could go straight to Bison 2.1, as the patches
since 2.0b are so minor.

> wget: invalid option -- C
>
> wget --version:
> GNU Wget 1.10

Thanks for reporting the problem.  I guess the wget guys have
changed the syntax for disabling caches.  I unbended a bit on
my usual insistence that everyone upgrade to the latest stable
version and installed the patch enclosed below.

> ++ in README-cvs version numbers for tools are missing

I'd rather not put version numbers in there, as we'd have to maintain
the numbers.  Let's just continue to say 'latest stable version'.
I agree we should mention Valgrind and Wget, though.

I installed this; I hope it fixes your wget problem.

2005-08-25  Paul Eggert  <address@hidden>

        * bootstrap (no_cache): New var, to accommodate different wget
        variants.  Use it instead of '-C off'.  Problem reported by
        address@hidden

        * README-cvs: Give URLs for recommended tools.
        Mention Gzip version problem, and bootstrapping issues.
        Remove troubleshooting section, as it's somewhat obsolete.

--- bootstrap   22 Jul 2005 18:35:27 -0000      1.23
+++ bootstrap   25 Aug 2005 18:48:38 -0000
@@ -25,6 +25,7 @@ package=bison
 
 # Ensure file names are sorted consistently across platforms;
 # e.g., m4/ulonglong_gl.m4 should follow m4/ulonglong.m4.
+# Also, ensure diagnostics are in English, e.g., "wget --help" below.
 LC_ALL=C
 export LC_ALL
 
@@ -164,10 +165,19 @@ sed '
 
 case $SKIP_PO in
 '')
+  case `wget --help` in
+  *'--no-cache'*)
+    no_cache='--no-cache';;
+  *'--cache=on/off'*)
+    no_cache='--cache=off';;
+  *)
+    no_cache='';;
+  esac
+
   echo "$0: getting translations into po (please ignore the robots.txt ERROR 
404)..."
   (cd po &&
    rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
-   wget -nv -nd -r -l 1 -A .po -C off \
+   wget -nv -nd -r -l 1 -A .po $no_cache \
      http://www.iro.umontreal.ca/translation/maint/$package/ &&
    ls *.po | sed 's/\.po$//' >LINGUAS
   ) || exit
@@ -177,7 +187,7 @@ case $SKIP_PO in
     echo "$0: getting translations into po (please ignore the robots.txt ERROR 
404)..."
     (cd runtime-po &&
      rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po$/p'` &&
-     wget -nv -nd -r -l 1 -A .po -C off \
+     wget -nv -nd -r -l 1 -A .po $no_cache \
        http://www.iro.umontreal.ca/translation/maint/$package-runtime/ &&
 
      # For translations that have not yet been upgraded to the new
--- README-cvs  14 May 2005 06:49:46 -0000      1.12
+++ README-cvs  25 Aug 2005 19:05:57 -0000
@@ -9,11 +9,25 @@ Only the sources are installed in the CV
 maintenance, merges etc.), therefore you will have to get the latest
 stable versions of the maintainer tools we depend upon, including:
 
-- Automake
-- Autoconf
-- Flex
-- Gettext
-- CVS Bison itself
+- Automake <http://www.gnu.org/software/automake/>
+- Autoconf <http://www.gnu.org/software/autoconf/>
+- Flex <http://www.gnu.org/software/flex/>
+- Gettext <http://www.gnu.org/software/gettext/>
+- Gzip <http://www.gnu.org/software/gzip/>
+- Tar <http://www.gnu.org/software/tar/>
+- Wget <http://www.gnu.org/software/wget/>
+
+As of this writing, the latest stable version of Gzip is 1.2.4 but we
+suggest using test version 1.3.5 (or later, if one becomes available).
+
+Valgrind <http://valgrind.org/> is also highly recommended, if
+Valgrind supports your architecture.
+
+Bison is written using Bison grammars, so there are bootstrapping
+issues.  The bootstrap script attempts to discover when the C code
+generated from the grammars is out of date, and to bootstrap with an
+out-of-date version of the C code, but the process is not foolproof.
+Also, you may run into similar problems yourself if you modify Bison.
 
 Only building the initial full source tree will be a bit painful,
 later, a plain `cvs update -P & make' should be sufficient.
@@ -39,33 +53,13 @@ and the CVS master copy:
 
        $ cvs diff
 
-should output no difference, except maybe the date in po/*.po files.
+should output no difference.
 
 Enjoy!
 
-* Troubleshooting
-
-Unfortunately the current Gettext still does not include all the
-needed tools so that the bootstrapping always perform successfully.
-
-If you experience problems, I suggest the following:
-
-1. Do a regular CVS checkout
-
-2. Fetch a recent tarball in:
-   ftp://alpha.gnu.org/gnu/bison/
-
-3. Extract it
-
-4. Override the content of your checkout with the content of this
-   tarball, i.e.:
-   cp -r bison-1.875c/* bison-cvs
-
-5. Proceed on ./configure && make etc.
-
 -----
 
-Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
 This file is part of GNU Bison.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]