summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-02-19 07:57:53 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-02-19 07:57:53 (GMT)
commitec90898719730156a5ad3d89653e8183fc52a546 (patch)
tree700e463e54d27f4404091db40f7549fbff42de9b /autogen.sh
parent14664baf4fe8411b6ed332b6622ab753ace9566e (diff)
downloadhdf5-ec90898719730156a5ad3d89653e8183fc52a546.zip
hdf5-ec90898719730156a5ad3d89653e8183fc52a546.tar.gz
hdf5-ec90898719730156a5ad3d89653e8183fc52a546.tar.bz2
[svn-r26228] Added a helpful note to autogen.sh about the Xcode/OS X bison bug
that causes a circular dependency issue. Tested on: 64-bit linux VM (autogen only - just a comment change)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh23
1 files changed, 16 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index b079b6c..f9e5ff9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,26 +16,31 @@
# A script to reconfigure autotools for HDF5, and to recreate other
# generated files specifc to HDF5.
#
-# IMPORTANT OS-X NOTE
+# IMPORTANT OS X NOTE
#
-# If you are using OS-X, you will probably not have the autotools
-# installed, even if you have the XCode command-line tools. The
-# easiest way to fix this is to install them via Homebrew:
+# If you are using OS X, you will probably not have the autotools
+# installed, even if you have the Xcode command-line tools. The
+# bison version you have installed may also have a bug that makes
+# it unable to process our input files.
+#
+# The easiest way to fix this is to install everything via Homebrew:
#
# http://brew.sh/
#
-# After you install the base packages, install autoconf, automake, and
-# libtool.
+# After you install the base packages, install autoconf, automake,
+# libtool, and flex/bison.
#
# brew install autoconf
# brew install automake
# brew install libtool
+# brew install flex
+# brew install bison
#
# This only takes a few minutes. Note that libtool and libtoolize will
# be glibtool and glibtoolize so as not to conflict with Apple's non-gnu
# tools. This autogen.sh script handles this for you.
#
-# END IMPORTANT OS-X NOTE
+# END IMPORTANT OS X NOTE
#
# If you want to use a particular version of the autotools, the paths
# to each tool can be overridden using the following environment
@@ -382,6 +387,10 @@ bin/make_overflow src/H5overflow.txt || exit 1
# Run flex and bison
# automatically generates hl/src/H5LTanalyze.c and hl/src/H5LTparse.c
+# Note that, as of Xcode 6.1 (2015), the default bison version on OS X
+# is old enough to have the circular dependency bug. You'll have
+# to install a later version of bison. See the OS X note at the top
+# of this script.
echo
echo "Running flex/bison:"
cd hl/src