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

People
Owner: Nobody in particular
Requestors: dhm267 [...] nyu.edu
Cc:
AdminCc:

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



From dchmiller [...] gmail.com 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 [...] mail.gmail.com>
X-Received: by 10.66.163.229 with SMTP id yl5mr16337136pab.104.1367613874659; Fri, 03 May 2013 13:44:34 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.119
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B13BF240989 for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Fri, 3 May 2013 16:44:52 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CCLKbjRWRdg for <cpan-bug+Math-Gsl [...] hipster.bestpractical.com>; Fri, 3 May 2013 16:44:50 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 80AA324011B for <bug-Math-Gsl [...] rt.cpan.org>; Fri, 3 May 2013 16:44:50 -0400 (EDT)
Received: (qmail 24340 invoked by alias); 3 May 2013 20:44:49 -0000
Received: from mail-da0-f54.google.com (HELO mail-da0-f54.google.com) (209.85.210.54) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 03 May 2013 13:44:38 -0700
Received: by mail-da0-f54.google.com with SMTP id u36so960837dak.41 for <bug-Math-Gsl [...] rt.cpan.org>; Fri, 03 May 2013 13:44:34 -0700 (PDT)
Received: by 10.68.95.130 with HTTP; Fri, 3 May 2013 13:44:03 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
Subject: Math::GSL build script error on Arch, can't find cflags, and a fix
Return-Path: <dchmiller [...] gmail.com>
X-RT-Mail-Extension: math-gsl
X-Original-To: cpan-bug+Math-Gsl [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; 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 [...] gmail.com
X-Spam-Level:
To: bug-Math-Gsl [...] rt.cpan.org
From: Darach Miller <dhm267 [...] nyu.edu>
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 Build.pl 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.