<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 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.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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:
<a href="https://www.mcs.anl.gov/research/projects/darshan/documentation/" id="LPNoLPOWALinkPreview">
https://www.mcs.anl.gov/research/projects/darshan/documentation/</a><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--Shane<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Darshan-users <darshan-users-bounces@lists.mcs.anl.gov> on behalf of Karrels, Edward <edk@illinois.edu><br>
<b>Sent:</b> Tuesday, September 6, 2022 10:10 AM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><br>
<b>Subject:</b> [Darshan-users] missing "prepare" scripts in darshan-3.4.0</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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. </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">This is on Ubuntu 22.04, automake version 1.16.5.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Here’s the output from the aclocal, autoheader, and autoconf:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">$ aclocal -I ../maint/config && autoheader && autoconf</p>
<p class="x_MsoNormal">configure.ac:40: warning: The macro `AC_LANG_C' is obsolete.</p>
<p class="x_MsoNormal">configure.ac:40: You should run autoupdate.</p>
<p class="x_MsoNormal">./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...</p>
<p class="x_MsoNormal">../maint/config/check_bzlib.m4:26: CHECK_BZLIB is expanded from...</p>
<p class="x_MsoNormal">configure.ac:40: the top level</p>
<p class="x_MsoNormal">configure.ac:97: warning: Checking for headers with the preprocessor is</p>
<p class="x_MsoNormal">configure.ac:97: deprecated. Specify prerequisite code to AC_CHECK_HEADER</p>
<p class="x_MsoNormal">configure.ac:97: instead of using fourth argument `-'. (Many headers need</p>
<p class="x_MsoNormal">configure.ac:97: no prerequisites. If you truly need to test whether</p>
<p class="x_MsoNormal">configure.ac:97: something passes the preprocessor but not the compiler,</p>
<p class="x_MsoNormal">configure.ac:97: use AC_PREPROC_IFELSE.)</p>
<p class="x_MsoNormal">./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...</p>
<p class="x_MsoNormal">./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...</p>
<p class="x_MsoNormal">configure.ac:97: the top level</p>
<p class="x_MsoNormal">configure.ac:108: warning: Checking for headers with the preprocessor is</p>
<p class="x_MsoNormal">configure.ac:108: deprecated. Specify prerequisite code to AC_CHECK_HEADER</p>
<p class="x_MsoNormal">configure.ac:108: instead of using fourth argument `-'. (Many headers need</p>
<p class="x_MsoNormal">configure.ac:108: no prerequisites. If you truly need to test whether</p>
<p class="x_MsoNormal">configure.ac:108: something passes the preprocessor but not the compiler,</p>
<p class="x_MsoNormal">configure.ac:108: use AC_PREPROC_IFELSE.)</p>
<p class="x_MsoNormal">./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...</p>
<p class="x_MsoNormal">./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...</p>
<p class="x_MsoNormal">configure.ac:108: the top level</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Here’s the output from configure:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">$ ./configure --prefix=$HOME/sw/darshan</p>
<p class="x_MsoNormal">configure: error: cannot find required auxiliary files: compile missing install-sh</p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>