PERL MONKS DISCUSSION Hi, I'm new at installing Perl programming libraries, a little
familiar with Linux and Unix, and a little more familiar with setting up Windows XP for programming. I want to use
CPAN’s complex math libraries (constants, complex numbers,vectors, and matricies) in Math::GSL for a Perl
program that I've written. Can you help me figure out I'm missing to complete the installation of this library?

I've downloaded and extracted pre-compiled versions of pkg- config_0.23-3_win32.zip, and I set the system environment variable
PKG_CONFIG_PATH to its root directory on the C: drive. I've
downloaded and extracted a pre-compiled version of gsl-1.8-win.zip as
C code in the pkg-config folder, and I renamed the file gsl.pc.in as
gsl.pc and placed it in the pkg-config root directory. I assigned the
user environment variable GSL_DIR to the directory where gsl.pc is located, and I modified gsl.pc to direct to the proper folders. I also downloaded
and extracted pre-compiled mingw32 files and installed them in the
same pkg-config directory.

From CPAN, using Strawberry Perl, I've already downloaded ExtUtils::PkgConfig, Module::Build, and Math::GSL. It seems to be
installing Math-GSL v0.2. Here's what I get when I try to build Math::GSL. Building Math-GSL
In file included from C:/Perl/lib/CORE/sys/socket.h:32, from C:/Perl/lib/CORE/win32.h:388, from C:/Perl/lib/CORE/win32thread.h:4, from C:/Perl/lib/CORE/perl.h:2817, from xs\BLAS_wrap.c:731: C:/Perl/lib/CORE/win32.h:393:26: warning: "/*" within comment C:/Perl/lib/CORE/win32.h:394:33: warning: "/*" within comment In file included from C:/Perl/lib/CORE/win32thread.h:4, from C:/Perl/lib/CORE/perl.h:2817, from xs\BLAS_wrap.c:731: C:/Perl/lib/CORE/win32.h:393:26: warning: "/*" within comment C:/Perl/lib/CORE/win32.h:394:33: warning: "/*" within comment xs\BLAS_wrap.c:1560:29: gsl/gsl_nan.h: No such file or directory xs\BLAS_wrap.c:1561:30: gsl/gsl_math.h: No such file or directory xs\BLAS_wrap.c:1562:31: gsl/gsl_monte.h: No such file or directory


GSL_DIR points to %PATH%\PkgConfig\ . Path points to %SHORTPATH%\PKGCON~1\bin . The files needed (gsl_nan.h, gsl_math.h, and gsl_monte.h) are in the GSL_DIR\gsl\ , and the GSL_DIR
contains gsl.pc.

What am I missing?

In reply to Math::GSL installation on Windows XP by Barnabas

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, 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.