[Debichem-devel] Autoconf issue in mpqc
Jeremy Sowden
jeremy at azazel.net
Mon Apr 6 22:18:35 BST 2020
On 2020-04-05, at 22:38:39 +0100, Jeremy Sowden wrote:
> On 2020-04-05, at 14:32:16 +0200, Andreas Tille wrote:
> > On Sun, Apr 05, 2020 at 12:34:55PM +0100, Jeremy Sowden wrote:
> > > > > I've attached the part or the build log that seems to be
> > > > > autoconf relevant. I admit I'm a bit astonished since I can
> > > > > only see warnings but no error ...
> > > >
> > > > Here's a patch that fixes the autoheader warnings.
> > >
> > > Whoops. That version doesn't seem to apply. The patch I've
> > > attached to this message I have actually tested properly.
> > >
> > > > autoreconf is still failing.
> > >
> > > That's not quite right: "autoreconf" fails, but "autoreconf -f
> > > -i" (which is what dh_autoreconf does) succeeds. Now
> > > dh_auto_configure fails.
> >
> > I confirm it fails with
> >
> > ...
> > checking if semctl requires semun... no
> > checking if fortran compiler works... no
> > configure: error: in `/build/mpqc-2.3.1':
> > configure: error: fortran compiler does not work
> >
> >
> > I've updated Git with your patch - thanks a lot so far.
>
> In my case, the problem was:
>
> ./configure: line 4287: mpicc: command not found
>
> IOW, missing build-deps. Once I installed those, dh_auto_configure
> was happy, but there were compilation failures because autoheader
> clobbered src/lib/scconfig.h.in. I've attached two patches which fix
> those.
Having re-read the autoconf and autoheader doc's this evening, I think
the attached fixes are an improvement over yesterday's.
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-shmtype-fix.patch
Type: text/x-diff
Size: 1441 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20200406/f2cc104e/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0002-restrictxx-fix.patch
Type: text/x-diff
Size: 1579 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20200406/f2cc104e/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20200406/f2cc104e/attachment-0002.sig>
More information about the Debichem-devel
mailing list