On 06/26/15 17:23, Eric Bavier wrote:
This seems related to perl's array interpolation in strings.  Line 72 contains:

my @automake_includes =
("/ptmp/bavier/projects/spack/opt/unknown_arch/gcc@4.3.4/automake@1.14.1-56e69c6c/share/aclocal-$APIVERSION");


Replacing the '@' characters with "\@" lets aclocal run without error.

But the better method would be to get the desired effect without string interpolation here, i.e. to write something that becomes

my @automake_includes =
('/ptmp/bavier/projects/spack/opt/unknown_arch/gcc@4.3.4/automake@1.14.1-56e69c6c/share/aclocal-' . $APIVERSION);

Please see the attached (passes make check on Debian x64, but otherwise untested) patch

Thomas
--
Thomas Jahns
HD(CP)^2
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <ja...@dkrz.de>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

Attachment: 0001-Avoid-problematic-string-interpolation.patch.gz
Description: GNU Zip compressed data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to