Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
OK so per Anonymous, I deleted the existing Makefile. Per marto I started a new session. Per Khen1950fx I set the env variable, but it's at /usr/local/pkgconfig.

On trying to install again, I get

cpan[1]> install Math::GSL Going to read '/root/.cpan/Metadata' Database was generated on Fri, 04 Mar 2011 10:27:20 GMT Running install for module 'Math::GSL' Running make for L/LE/LETO/Math-GSL-0.22.tar.gz Checksum for /root/.cpan/sources/authors/id/L/LE/LETO/Math-GSL-0.22.ta +r.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE CPAN.pm: Going to build L/LE/LETO/Math-GSL-0.22.tar.gz Checking for GSL..Package gsl was not found in the pkg-config search p +ath. Perhaps you should add the directory containing `gsl.pc' to the PKG_CONFIG_PATH environment variable No package 'gsl' found at Build.PL line 108 *** can not find package gsl *** check that it is properly installed and available in PKG_CONFIG_PA +TH at Build.PL line 108 Warning: No success on command[/usr/bin/perl Build.PL ] 'YAML' not installed, will not store persistent state LETO/Math-GSL-0.22.tar.gz /usr/bin/perl Build.PL -- NOT OK Running Build test Make had some problems, won't test Running Build install Make had some problems, won't install Could not read '/root/.cpan/build/Math-GSL-0.22-pXritF/META.yml'. Fall +ing back to other methods to determine prerequisites Failed during this command: LETO/Math-GSL-0.22.tar.gz : writemakefile NO '/usr +/bin/perl Build.PL ' returned status 256
GSL does not appear in /usr/local/pkgconfig, but it is installed
[root@stats corman]# yum info GSL Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Installed Packages Name : gsl Arch : i686 Version : 1.14 Release : 1.fc14 Size : 2.3 M Repo : installed From repo : fedora Summary : The GNU Scientific Library for numerical analysis URL : http://www.gnu.org/software/gsl/ License : GPLv3 and GFDL and BSD Description : The GNU Scientific Library (GSL) is a collection of rout +ines for : numerical analysis, written in C.
But locate gsl.pc returns nothing :-/ locate GSL only returns stuff in /home/corman/.cpan/build. And it strikes me that this could be part of the problem. When I first tried to install this I forgot to SU to root. Do these files need to be in /root/.cpan/build if I'm running CPAN as root?

But that still doesn't address the gsl.pc issue... UPDATE: I installed YAML. Now CPAN says:

cpan[3]> install Math::GSL Running install for module 'Math::GSL' Running Build for L/LE/LETO/Math-GSL-0.22.tar.gz Has already been unwrapped into directory /root/.cpan/build/Math-GSL +-0.22-yrnKBo '/usr/bin/perl Build.PL ' returned status 256, won't make Running Build test Make had some problems, won't test Running Build install Make had some problems, won't install

In reply to Re^2: Install Math::GSL fail by cormanaz
in thread Install Math::GSL fail by cormanaz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (6)
    As of 2015-07-03 00:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (47 votes), past polls