From edk at illinois.edu Tue Sep 6 10:10:24 2022 From: edk at illinois.edu (Karrels, Edward) Date: Tue, 6 Sep 2022 15:10:24 +0000 Subject: [Darshan-users] missing "prepare" scripts in darshan-3.4.0 Message-ID: The 3.4.0 release build instructions say that before running configure it is necessary to run "./prepare" but the prepare scripts in darshan-runtime and darshan-util are missing. I saw the contents of the prepare script from 3.3.1 were pretty simple ("aclocal -I ../maint/config && autoheader && autoconf") so I tried running that in darshan-3.4.0/darshan-util, but then the configure command failed, complaining about missing install-sh. This is on Ubuntu 22.04, automake version 1.16.5. Here's the output from the aclocal, autoheader, and autoconf: $ aclocal -I ../maint/config && autoheader && autoconf configure.ac:40: warning: The macro `AC_LANG_C' is obsolete. configure.ac:40: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... ../maint/config/check_bzlib.m4:26: CHECK_BZLIB is expanded from... configure.ac:40: the top level configure.ac:97: warning: Checking for headers with the preprocessor is configure.ac:97: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:97: instead of using fourth argument `-'. (Many headers need configure.ac:97: no prerequisites. If you truly need to test whether configure.ac:97: something passes the preprocessor but not the compiler, configure.ac:97: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... configure.ac:97: the top level configure.ac:108: warning: Checking for headers with the preprocessor is configure.ac:108: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:108: instead of using fourth argument `-'. (Many headers need configure.ac:108: no prerequisites. If you truly need to test whether configure.ac:108: something passes the preprocessor but not the compiler, configure.ac:108: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... configure.ac:108: the top level Here's the output from configure: $ ./configure --prefix=$HOME/sw/darshan configure: error: cannot find required auxiliary files: compile missing install-sh -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssnyder at mcs.anl.gov Tue Sep 6 13:17:41 2022 From: ssnyder at mcs.anl.gov (Snyder, Shane) Date: Tue, 6 Sep 2022 18:17:41 +0000 Subject: [Darshan-users] missing "prepare" scripts in darshan-3.4.0 In-Reply-To: References: Message-ID: Hi, Thanks for the report. This was an oversight on our part in terms of updating our docs to reflect some changes in our build system in version 3.4.0. The short story is that the 'prepare.sh' script moved to the top-level of the Darshan repo, so you need to invoke that first before running the 'configure' script in either darshan-runtime or darshan-util directories. This change was made so that it's possible to build/install both darshan-runtime and darshan-util with a single configure command at the top-level of the repo. You can still build darshan-runtime and darshan-util independently, as in the install instructions you were originally following, just need to make sure you call the top-level prepare script first. I've updated the docs in our repo so they will be correct for our next release, and have also corrected our online docs here: https://www.mcs.anl.gov/research/projects/darshan/documentation/ --Shane ________________________________ From: Darshan-users on behalf of Karrels, Edward Sent: Tuesday, September 6, 2022 10:10 AM To: darshan-users at lists.mcs.anl.gov Subject: [Darshan-users] missing "prepare" scripts in darshan-3.4.0 The 3.4.0 release build instructions say that before running configure it is necessary to run ?./prepare? but the prepare scripts in darshan-runtime and darshan-util are missing. I saw the contents of the prepare script from 3.3.1 were pretty simple (?aclocal -I ../maint/config && autoheader && autoconf?) so I tried running that in darshan-3.4.0/darshan-util, but then the configure command failed, complaining about missing install-sh. This is on Ubuntu 22.04, automake version 1.16.5. Here?s the output from the aclocal, autoheader, and autoconf: $ aclocal -I ../maint/config && autoheader && autoconf configure.ac:40: warning: The macro `AC_LANG_C' is obsolete. configure.ac:40: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... ../maint/config/check_bzlib.m4:26: CHECK_BZLIB is expanded from... configure.ac:40: the top level configure.ac:97: warning: Checking for headers with the preprocessor is configure.ac:97: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:97: instead of using fourth argument `-'. (Many headers need configure.ac:97: no prerequisites. If you truly need to test whether configure.ac:97: something passes the preprocessor but not the compiler, configure.ac:97: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... configure.ac:97: the top level configure.ac:108: warning: Checking for headers with the preprocessor is configure.ac:108: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:108: instead of using fourth argument `-'. (Many headers need configure.ac:108: no prerequisites. If you truly need to test whether configure.ac:108: something passes the preprocessor but not the compiler, configure.ac:108: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... configure.ac:108: the top level Here?s the output from configure: $ ./configure --prefix=$HOME/sw/darshan configure: error: cannot find required auxiliary files: compile missing install-sh -------------- next part -------------- An HTML attachment was scrubbed... URL: