Re: Re[2]: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Duncan Coutts
On Mon, 2006-07-17 at 19:59 +0400, Bulat Ziganshin wrote: > Hello Duncan, > > Monday, July 17, 2006, 6:18:49 PM, you wrote: > > >> - I include file io.h, but this particular system has "sys/io.h" > > > Are you sure you need sys/io.h? What are you using from it? As far as I > > can see it doesn't

Re[2]: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Bulat Ziganshin
Hello Duncan, Monday, July 17, 2006, 6:18:49 PM, you wrote: >> - I include file io.h, but this particular system has "sys/io.h" > Are you sure you need sys/io.h? What are you using from it? As far as I > can see it doesn't define anything that you might want to use, just > functions for reading

Re[2]: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Bulat Ziganshin
Hello Eugene, Monday, July 17, 2006, 6:41:26 PM, you wrote: >> - I include file io.h, but this particular system has "sys/io.h" >> instead. > Just out of the blue: could it be that you rather need ? > It's the place where open() and friends are defined. Maybe(?) windows > have them in ... the o

Re: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Lennart Augustsson
On Jul 17, 2006, at 10:04 , Bulat Ziganshin wrote: #!/usr/bin/env runhaskell instead of #!/usr/bin/runhaskell at the start of Setup.hs file. Is that really better? Yes, much better. I think it's crazy to have runhaskell installed in /usr/bin. It should be somewhere in your path, but n

Re: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Eugene Crosser
Bulat Ziganshin wrote: > - I include file io.h, but this particular system has "sys/io.h" > instead. Just out of the blue: could it be that you rather need ? It's the place where open() and friends are defined. Maybe(?) windows have them in ... > - mingw supports _commit operation which (as i g

Re: [Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Duncan Coutts
On Mon, 2006-07-17 at 18:04 +0400, Bulat Ziganshin wrote: > Hello gurus :) > > i got message about problems compiling Streams 0.2.1 library on Unix systems: > > - I include file io.h, but this particular system has "sys/io.h" Are you sure you need sys/io.h? What are you using from it? As far as

[Haskell-cafe] Unix gurus, help me please

2006-07-17 Thread Bulat Ziganshin
Hello gurus :) i got message about problems compiling Streams 0.2.1 library on Unix systems: - I include file io.h, but this particular system has "sys/io.h" instead. I think that i should solve this problem by including HsBase.h which should include proper io.h on any system supported. One more