good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Math::GSL installation on Windows XPby Barnabas (Initiate) |
on Nov 04, 2010 at 16:00 UTC ( [id://869495]=perlquestion: print w/replies, xml ) | Need Help?? |
Barnabas has asked for the wisdom of the Perl Monks concerning the following question:
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
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?
Back to
Seekers of Perl Wisdom
|
|