Re: [Haskell-cafe] installing Network on windows

2010-03-23 Thread Neil Mitchell
Hi,

I managed this with the following sequence of commands:
http://www.haskell.org/pipermail/libraries/2010-February/013038.html

Thanks, Neil

On Wed, Mar 17, 2010 at 9:44 PM, Niklas Larsson nikl...@ymail.com wrote:
 Hi!

 It needs some shell, if you install MSYS from mingw and do the cabal install
 from there it will work just fine.

 Here is the download for MSYS:
 http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download

 // Niklas L.
 
 From: gladst...@gladstein.com gladst...@gladstein.com
 To: haskell-cafe@haskell.org
 Sent: Wed, March 17, 2010 9:11:00 PM
 Subject: [Haskell-cafe] installing Network on windows

 I need some advice on the most straightforward way to install the Network
 package on Windows. I can install Cywgin if that's what it takes. Thanks in
 advance.

 cabal install network
 Resolving dependencies...
 Configuring network-2.2.1.7...
 cabal: Error: some packages failed to install:
 network-2.2.1.7 failed during the configure step. The exception was:
 sh: runGenProcess: does not exist (No such file or directory)


 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] installing Network on windows

2010-03-23 Thread John Lask

it is easier if you use msys
then in msys window, run ghc setup configure

after that you can run ghc setup build etc in normal dos window without 
further recourse to msys



Neil Mitchell wrote:

Hi,

I managed this with the following sequence of commands:
http://www.haskell.org/pipermail/libraries/2010-February/013038.html

Thanks, Neil

On Wed, Mar 17, 2010 at 9:44 PM, Niklas Larsson nikl...@ymail.com wrote:

Hi!

It needs some shell, if you install MSYS from mingw and do the cabal install
from there it will work just fine.

Here is the download for MSYS:
http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download

// Niklas L.

From: gladst...@gladstein.com gladst...@gladstein.com
To: haskell-cafe@haskell.org
Sent: Wed, March 17, 2010 9:11:00 PM
Subject: [Haskell-cafe] installing Network on windows

I need some advice on the most straightforward way to install the Network
package on Windows. I can install Cywgin if that's what it takes. Thanks in
advance.

cabal install network
Resolving dependencies...
Configuring network-2.2.1.7...
cabal: Error: some packages failed to install:
network-2.2.1.7 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] installing Network on windows

2010-03-17 Thread gladstein
I need some advice on the most straightforward way to install the Network package on Windows. I can install Cywgin if that's what it takes. Thanks in advance.

cabal install networkResolving dependencies...Configuring network-2.2.1.7...cabal: Error: some packages failed to install:network-2.2.1.7 failed during the configure step. The exception was:sh: runGenProcess: does not exist (No such file or directory)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] installing Network on windows

2010-03-17 Thread Andrew Coppin

gladst...@gladstein.com wrote:
I need some advice on the most straightforward way to install the 
Network package on Windows. I can install Cywgin if that's what it 
takes. Thanks in advance.
 
cabal install network

Resolving dependencies...
Configuring network-2.2.1.7...
cabal: Error: some packages failed to install:
network-2.2.1.7 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)


Looks like it wants to run sh (i.e., the Borne Shell), which obviously 
doesn't exist on Windows. Now I'm sure some kind soul somewhere has 
probably compiled a Win32 binary for it, but I would suggest that the 
build will just immediately trip over again because some *other* 
Unix-only tool isn't available.


How to fix? Well, I'm guessing you'll be forced to install some kind of 
Unix emulation layer such as Cygwin. I don't have any expertise of such 
things...


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] installing Network on windows

2010-03-17 Thread Maciej Podgurski

Am 17.03.2010 21:17 schrieb Andrew Coppin:

gladst...@gladstein.com wrote:
I need some advice on the most straightforward way to install the 
Network package on Windows. I can install Cywgin if that's what it 
takes. Thanks in advance.
 
cabal install network

Resolving dependencies...
Configuring network-2.2.1.7...
cabal: Error: some packages failed to install:
network-2.2.1.7 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)


Looks like it wants to run sh (i.e., the Borne Shell), which 
obviously doesn't exist on Windows. Now I'm sure some kind soul 
somewhere has probably compiled a Win32 binary for it, but I would 
suggest that the build will just immediately trip over again because 
some *other* Unix-only tool isn't available.


How to fix? Well, I'm guessing you'll be forced to install some kind 
of Unix emulation layer such as Cygwin. I don't have any expertise of 
such things...


You can also use MSYS/MinGW, I prefer this to Cygwin.

Best wishes,
Maciej
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] installing Network on windows

2010-03-17 Thread Stephen Tetley
On 17 March 2010 20:49, Maciej Podgurski
maciej.podgur...@googlemail.com wrote:


 You can also use MSYS/MinGW, I prefer this to Cygwin.


Hi Maciej

I'll second this - for building Haskell FFI bindings to C libraries
MSYS / MinGW is usually better (provided you can get the original C
library working of course). And the Network package that the original
poster wants to use is, in part, a C binding.

Best wishes

Stephen
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] installing Network on windows

2010-03-17 Thread Niklas Larsson
Hi!

It needs some shell, if you install MSYS from mingw and do the cabal install 
from there it will work just fine.

Here is the download for MSYS:
http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/MSYS-1.0.11.exe/download


// Niklas L.




From: gladst...@gladstein.com gladst...@gladstein.com
To: haskell-cafe@haskell.org
Sent: Wed, March 17, 2010 9:11:00 PM
Subject: [Haskell-cafe] installing Network on windows

I need some advice on the most straightforward way to install the Network 
package on Windows. I can install Cywgin if that's what it takes. Thanks in 
advance.

cabal install network
Resolving dependencies...
Configuring network-2.2.1.7...
cabal: Error: some packages failed to install:
network-2.2.1.7 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)



  ___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe