Hi everyone, I’m trying to create a derivation for an ancient program called QDP++. I am following the instructions on github but I get the error warning: The macro 'AC_TRY_LINK' is obsolete.
. Here is my derivation-in-progress:
{
pkgs ? import <nixpkgs> { system = builtins.currentSystem; },
stdenv ? pkgs.stdenv
}:
stdenv.mkDerivation {
pname = "QDP++";
version = "1-46-0";
src = pkgs.fetchFromGitHub {
owner = "usqcd-software";
repo = "qdpxx";
rev = "016182f3c97081204020d6996d3d742583b5d6a9";
sha256 = "sha256-uxlrSeFcFUYUtnpW8WiimAK9DRF9Ne+sMY23vpVs/zQ=";
};
buildInputs = with pkgs; [
gcc
autoconf
automake
];
buildPhase = ''
autoupdate
autoconf # trying "./configure.ac" ends up with an error "syntax error near unexpected token `[qdp++],[1.45.0],[edwards@jlab.org]'"
make
make install
'';
#args = [ ./message.txt ];
}
I think(?) the issue is caused by a backwards compatibility issue with automate. So I’m also trying with autoconf264
and automake115x
but this isn’t helping. Wondering if this is a known issue?
The goal is to compile this bad boy, which requires QDP++ as a dependency GitHub - JeffersonLab/chroma: The Chroma Software System for Lattice QCD