Skip Menu |

This queue is for tickets about the Math-GSL CPAN distribution.

Report information
The Basics
Id: 85037
Status: new
Priority: 0/
Queue: Math-GSL

Owner: Nobody in particular
Requestors: dhm267 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

From dchmiller [...] Fri May 3 16: 44:52 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.119 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="047d7b86e764306d8804dbd66b52"
Message-ID: <CAGZSOiGKC477So7E=3Pt8fDVbxH+JAN5=E-SJyF2g2GatubuQA [...]>
X-Received: by with SMTP id yl5mr16337136pab.104.1367613874659; Fri, 03 May 2013 13:44:34 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -6.119
Received: from localhost (localhost []) by (Postfix) with ESMTP id B13BF240989 for <cpan-bug+Math-Gsl [...]>; Fri, 3 May 2013 16:44:52 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 0CCLKbjRWRdg for <cpan-bug+Math-Gsl [...]>; Fri, 3 May 2013 16:44:50 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 80AA324011B for <bug-Math-Gsl [...]>; Fri, 3 May 2013 16:44:50 -0400 (EDT)
Received: (qmail 24340 invoked by alias); 3 May 2013 20:44:49 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Fri, 03 May 2013 13:44:38 -0700
Received: by with SMTP id u36so960837dak.41 for <bug-Math-Gsl [...]>; Fri, 03 May 2013 13:44:34 -0700 (PDT)
Received: by with HTTP; Fri, 3 May 2013 13:44:03 -0700 (PDT)
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+Math-Gsl [...]
Subject: Math::GSL build script error on Arch, can't find cflags, and a fix
Return-Path: <dchmiller [...]>
X-RT-Mail-Extension: math-gsl
X-Original-To: cpan-bug+Math-Gsl [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=8rNBq2gZFpP0tNeNC0kmnZEX0MYCYGn81vnF50AiMt8=; b=l7XUYthNypDYoSNK33D41+CzyGGB0O6tj+awx9zHPXgqxhQuwOq+LIxWIwf+mwDaqq Aceeo4cpuhAP61zakNQVvSXExhbsPoig6RPwZpNkdH5VdmXmnxTQaXQ5uurSicAO3Luj uo+igliFaFKxFFBoa2Mhv5oXPMdOOGpvEi726J9HRCf5EXYtqYk513dOSaJCTG/fxiFT aw/qia400yyM1faHUZqGuqvY9tgsD1CZK7ibayeONany4GyKg4rh794a8f1K3GJO4iON CWVNFwM4aBqf2TCe/Dl8pnLQMgDdlyvZe8FPkz2C/A5tdm1FolJKXA4eF/gBblF6zSmD X+zw==
X-Google-Sender-Auth: AoCuyydLLIpq8i-znvtUokBd_Lg
Date: Fri, 3 May 2013 16:44:03 -0400
Sender: dchmiller [...]
To: bug-Math-Gsl [...]
From: Darach Miller <dhm267 [...]>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1100
On line 156 of the script (reprinted below), my system threw an error about finding the cflags. Line 156: my %gsl_pkgcfg = ExtUtils::PkgConfig->find ('gsl'); " *** can't find cflags for "gsl" " The terminal command "gsl-config --cflags" replies with "-I/usr/include", which matches with what the file /usr/lib/pkgconfig/gsl.pc says. "pkg-config gsl --cflags" returns an empty line, as it should. I replaced line 156 with manually declaring a hash of proper values: my %gsl_pkgcfg = ( modversion => "1.15", cflags => `gsl-config --cflags`, libs => `gsl-config --libs`); This works, and the rest of the script installs beautifully without any errors. It looks like ExtUtils::PkgConfig can't find gsl on my system, even through $PKG_CONFIG_PATH contains gsl.pc. Looks like an error with ExtUtils, but I figure y'all might want to know in case others have trouble. My system is 3.8.5-1-ARCH, SMP, x86_64. Arch distributes gsl alone, without offering gsl-dev. Maybe bundling gsl.pc into the user package instead of splitting off the dev package does something weird with how ExtUtils works.
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1735

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to