[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    [Haskell-cafe] installing GSL packages on Windows
From:       Sean Matthews <seanmatthews1 () gmail ! com>
Date:       2015-10-28 22:41:11
Message-ID: CAMOTngwcUQF0daqCkmOHidSByZEvqhi892ac1=3GCLsGaxiULw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I'm  currently  trying to  install  the  gsl packages  (in  particular
hmatrix-gsl) for a Windows 7/32 system.

I've been using a fairly stripped down version of the GHC for a while,
but now that I'm trying to install packages like this, I'm running
into problems.

Anyway, I have installed pkg-config, etc. and I believe I've got the
various bits of gsl installed.  However cabal is still failing at
attaching this to the appropriate haskell modules, at what looks to be
very near the end, and suggstions for what I can try to get things to
finish would be welcome.  Below is the output as generated by cabal
(this is the result of several iterations and systematic googling, but
google seems to have run out on me).

All suggestions, advice, etc. very welcome,

Sean Matthews

> cabal install hmatrix-gsl --extra-include-dirs="C:\Users\sematthews\My
Software\gsl-1.15-dev-win32\include"
--extra-lib-dirs="C:\Users\sematthews\My Software\gsl-1.15-dev-win32\lib"
> cabal install hmatrix-gsl --extra-include-dirs="C:\Users\sematthews\My
Software\gsl-1.15-dev-win32\include"
--extra-lib-dirs="C:\Users\sematthews\My Software\gsl-1.15-dev-win32\lib"
> Resolving dependencies...
> Configuring hmatrix-gsl-0.17.0.0...
> Building hmatrix-gsl-0.17.0.0...
> Failed to install hmatrix-gsl-0.17.0.0
> Build log (
C:\Users\sematthews\AppData\Roaming\cabal\logs\hmatrix-gsl-0.17.0.0.log ):
> Building hmatrix-gsl-0.17.0.0...
> Preprocessing library hmatrix-gsl-0.17.0.0...
> [ 1 of 17] Compiling Graphics.Plot    ( src\Graphics\Plot.hs,
dist\build\Graphics\Plot.o )
> [ 2 of 17] Compiling Numeric.GSL.Internal ( src\Numeric\GSL\Internal.hs,
dist\build\Numeric\GSL\Internal.o )
> [ 3 of 17] Compiling Numeric.GSL.Integration (
src\Numeric\GSL\Integration.hs, dist\build\Numeric\GSL\Integration.o )
> [ 4 of 17] Compiling Numeric.GSL.Fourier ( src\Numeric\GSL\Fourier.hs,
dist\build\Numeric\GSL\Fourier.o )
> [ 5 of 17] Compiling Numeric.GSL.Polynomials (
src\Numeric\GSL\Polynomials.hs, dist\build\Numeric\GSL\Polynomials.o )
> [ 6 of 17] Compiling Numeric.GSL.Minimization (
src\Numeric\GSL\Minimization.hs, dist\build\Numeric\GSL\Minimization.o )
> [ 7 of 17] Compiling Numeric.GSL.Root ( src\Numeric\GSL\Root.hs,
dist\build\Numeric\GSL\Root.o )
> [ 8 of 17] Compiling Numeric.GSL.Fitting ( src\Numeric\GSL\Fitting.hs,
dist\build\Numeric\GSL\Fitting.o )
> [ 9 of 17] Compiling Numeric.GSL.ODE  ( src\Numeric\GSL\ODE.hs,
dist\build\Numeric\GSL\ODE.o )
> [10 of 17] Compiling Numeric.GSL.Interpolation (
src\Numeric\GSL\Interpolation.hs, dist\build\Numeric\GSL\Interpolation.o )
> [11 of 17] Compiling Numeric.GSL.LinearAlgebra (
src\Numeric\GSL\LinearAlgebra.hs, dist\build\Numeric\GSL\LinearAlgebra.o )
> [12 of 17] Compiling Numeric.GSL.SimulatedAnnealing (
src\Numeric\GSL\SimulatedAnnealing.hs,
dist\build\Numeric\GSL\SimulatedAnnealing.o )
> [13 of 17] Compiling Numeric.GSL.Vector ( src\Numeric\GSL\Vector.hs,
dist\build\Numeric\GSL\Vector.o )
> [14 of 17] Compiling Numeric.GSL.IO   ( src\Numeric\GSL\IO.hs,
dist\build\Numeric\GSL\IO.o )
> [15 of 17] Compiling Numeric.GSL.Random ( src\Numeric\GSL\Random.hs,
dist\build\Numeric\GSL\Random.o )
> [16 of 17] Compiling Numeric.GSL.Differentiation (
src\Numeric\GSL\Differentiation.hs,
dist\build\Numeric\GSL\Differentiation.o )
> [17 of 17] Compiling Numeric.GSL      ( src\Numeric\GSL.hs,
dist\build\Numeric\GSL.o )
> In-place registering hmatrix-gsl-0.17.0.0...
> setup-Simple-Cabal-1.22.4.0-i386-windows-ghc-7.10.2.exe:
> 'C:\Users\sematthews\My Software\Haskell\bin\ghc-pkg.exe' exited with an
> error:
> hmatrix-gsl-0.17.0.0: Warning: haddock-interfaces:
> 
C:\Users\SEMATT~1\AppData\Local\Temp\cabal-tmp-8196\hmatrix-gsl-0.17.0.0\dist\doc\html\hmatrix-gsl\hmatrix-gsl.haddock

> doesn't exist or isn't a file
> hmatrix-gsl-0.17.0.0: Warning: haddock-html:
> 
C:\Users\SEMATT~1\AppData\Local\Temp\cabal-tmp-8196\hmatrix-gsl-0.17.0.0\dist\doc\html\hmatrix-gsl

> doesn't exist or isn't a directory
> hmatrix-gsl-0.17.0.0: library-dirs: /usr/local/lib is a relative path
which
> makes no sense (as there is nothing for it to be relative to). You can
make
> paths relative to the package database itself by using ${pkgroot}. (use
> --force to override)
> hmatrix-gsl-0.17.0.0: include-dirs: /usr/local/include is a relative path
> which makes no sense (as there is nothing for it to be relative to). You
can
> make paths relative to the package database itself by using ${pkgroot}.
(use
> --force to override)
> cabal: Error: some packages failed to install:
> hmatrix-gsl-0.17.0.0 failed during the building phase. The exception was:
> ExitFailure 1


-- 
Sean Matthews
seanmatthews1@gmail.com / +49 1515 800 1901


[Attachment #5 (text/html)]

<div dir="ltr"><p>I&#39;m   currently   trying to   install   the   gsl packages   \
(in   particular<br>hmatrix-gsl) for a Windows 7/32 system.</p><p>I&#39;ve been using \
a fairly stripped down version of the GHC for a while,<br>but now that I&#39;m trying \
to install packages like this, I&#39;m running<br>into problems.</p><p>Anyway, I have \
installed pkg-config, etc.  and I believe I&#39;ve got the<br>various bits of gsl \
installed.   However cabal is still failing at<br>attaching this to the appropriate \
haskell modules, at what looks to be<br>very near the end, and suggstions for what I \
can try to get things to<br>finish would be welcome.   Below is the output as \
generated by cabal<br>(this is the result of several iterations and systematic \
googling, but<br>google seems to have run out on me).</p><p>All suggestions, advice, \
etc. very welcome,</p><p>Sean Matthews</p><p>&gt; cabal install hmatrix-gsl \
--extra-include-dirs=&quot;C:\Users\sematthews\My \
Software\gsl-1.15-dev-win32\include&quot; \
--extra-lib-dirs=&quot;C:\Users\sematthews\My \
Software\gsl-1.15-dev-win32\lib&quot;<br>&gt; cabal install hmatrix-gsl \
--extra-include-dirs=&quot;C:\Users\sematthews\My \
Software\gsl-1.15-dev-win32\include&quot; \
--extra-lib-dirs=&quot;C:\Users\sematthews\My \
Software\gsl-1.15-dev-win32\lib&quot;<br>&gt; Resolving dependencies...<br>&gt; \
Configuring hmatrix-gsl-0.17.0.0...<br>&gt; Building hmatrix-gsl-0.17.0.0...<br>&gt; \
Failed to install hmatrix-gsl-0.17.0.0<br>&gt; Build log ( \
C:\Users\sematthews\AppData\Roaming\cabal\logs\hmatrix-gsl-0.17.0.0.log ):<br>&gt; \
Building hmatrix-gsl-0.17.0.0...<br>&gt; Preprocessing library \
hmatrix-gsl-0.17.0.0...<br>&gt; [ 1 of 17] Compiling Graphics.Plot       ( \
src\Graphics\Plot.hs, dist\build\Graphics\Plot.o )<br>&gt; [ 2 of 17] Compiling \
Numeric.GSL.Internal ( src\Numeric\GSL\Internal.hs, dist\build\Numeric\GSL\Internal.o \
)<br>&gt; [ 3 of 17] Compiling Numeric.GSL.Integration ( \
src\Numeric\GSL\Integration.hs, dist\build\Numeric\GSL\Integration.o )<br>&gt; [ 4 of \
17] Compiling Numeric.GSL.Fourier ( src\Numeric\GSL\Fourier.hs, \
dist\build\Numeric\GSL\Fourier.o )<br>&gt; [ 5 of 17] Compiling \
Numeric.GSL.Polynomials ( src\Numeric\GSL\Polynomials.hs, \
dist\build\Numeric\GSL\Polynomials.o )<br>&gt; [ 6 of 17] Compiling \
Numeric.GSL.Minimization ( src\Numeric\GSL\Minimization.hs, \
dist\build\Numeric\GSL\Minimization.o )<br>&gt; [ 7 of 17] Compiling Numeric.GSL.Root \
( src\Numeric\GSL\Root.hs, dist\build\Numeric\GSL\Root.o )<br>&gt; [ 8 of 17] \
Compiling Numeric.GSL.Fitting ( src\Numeric\GSL\Fitting.hs, \
dist\build\Numeric\GSL\Fitting.o )<br>&gt; [ 9 of 17] Compiling Numeric.GSL.ODE   ( \
src\Numeric\GSL\ODE.hs, dist\build\Numeric\GSL\ODE.o )<br>&gt; [10 of 17] Compiling \
Numeric.GSL.Interpolation ( src\Numeric\GSL\Interpolation.hs, \
dist\build\Numeric\GSL\Interpolation.o )<br>&gt; [11 of 17] Compiling \
Numeric.GSL.LinearAlgebra ( src\Numeric\GSL\LinearAlgebra.hs, \
dist\build\Numeric\GSL\LinearAlgebra.o )<br>&gt; [12 of 17] Compiling \
Numeric.GSL.SimulatedAnnealing ( src\Numeric\GSL\SimulatedAnnealing.hs, \
dist\build\Numeric\GSL\SimulatedAnnealing.o )<br>&gt; [13 of 17] Compiling \
Numeric.GSL.Vector ( src\Numeric\GSL\Vector.hs, dist\build\Numeric\GSL\Vector.o \
)<br>&gt; [14 of 17] Compiling <a href="http://Numeric.GSL.IO">Numeric.GSL.IO</a>     \
( src\Numeric\GSL\IO.hs, dist\build\Numeric\GSL\IO.o )<br>&gt; [15 of 17] Compiling \
Numeric.GSL.Random ( src\Numeric\GSL\Random.hs, dist\build\Numeric\GSL\Random.o \
)<br>&gt; [16 of 17] Compiling Numeric.GSL.Differentiation ( \
src\Numeric\GSL\Differentiation.hs, dist\build\Numeric\GSL\Differentiation.o \
)<br>&gt; [17 of 17] Compiling Numeric.GSL           ( src\Numeric\GSL.hs, \
dist\build\Numeric\GSL.o )<br>&gt; In-place registering \
hmatrix-gsl-0.17.0.0...<br>&gt; \
setup-Simple-Cabal-1.22.4.0-i386-windows-ghc-7.10.2.exe:<br>&gt; \
&#39;C:\Users\sematthews\My Software\Haskell\bin\ghc-pkg.exe&#39; exited with \
an<br>&gt; error:<br>&gt; hmatrix-gsl-0.17.0.0: Warning: haddock-interfaces:<br>&gt; \
C:\Users\SEMATT~1\AppData\Local\Temp\cabal-tmp-8196\hmatrix-gsl-0.17.0.0\dist\doc\html\hmatrix-gsl\hmatrix-gsl.haddock<br>&gt; \
doesn&#39;t exist or isn&#39;t a file<br>&gt; hmatrix-gsl-0.17.0.0: Warning: \
haddock-html:<br>&gt; \
C:\Users\SEMATT~1\AppData\Local\Temp\cabal-tmp-8196\hmatrix-gsl-0.17.0.0\dist\doc\html\hmatrix-gsl<br>&gt; \
doesn&#39;t exist or isn&#39;t a directory<br>&gt; hmatrix-gsl-0.17.0.0: \
library-dirs: /usr/local/lib is a relative path which<br>&gt; makes no sense (as \
there is nothing for it to be relative to). You can make<br>&gt; paths relative to \
the package database itself by using ${pkgroot}. (use<br>&gt; --force to \
override)<br>&gt; hmatrix-gsl-0.17.0.0: include-dirs: /usr/local/include is a \
relative path<br>&gt; which makes no sense (as there is nothing for it to be relative \
to). You can<br>&gt; make paths relative to the package database itself by using \
${pkgroot}. (use<br>&gt; --force to override)<br>&gt; cabal: Error: some packages \
failed to install:<br>&gt; hmatrix-gsl-0.17.0.0 failed during the building phase. The \
exception was:<br>&gt; ExitFailure 1<br><br clear="all"><br>-- <br></p><div \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sean \
Matthews<br><a href="mailto:seanmatthews1@gmail.com" \
target="_blank">seanmatthews1@gmail.com</a> / +49 1515 800 \
1901</div></div></div></div></div></div> </div>



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic