On Thu, Mar 15, 2007 at 07:11:16PM +0100, Daniel Fischer wrote:
> Hi,
> I'm trying to install a ghc on a sidux box (something akin to debian, I
> believe). apt-get install seemed to work, but running ghc results in:
> /usr/local/lib/ghc-6.6/ghc-6.6: error while loading shared libraries:
> librea
On Thu, 2007-03-15 at 18:15 -0700, Jeremy Shaw wrote:
> At Fri, 16 Mar 2007 01:07:31 +,
> Brian Hulley wrote:
>
> > I can't find any info on the debian.org website about where to
> > find the key or what command to use to tell apt about it. Do you know
> > where the GPG key for the repo can be
At Fri, 16 Mar 2007 01:07:31 +,
Brian Hulley wrote:
> I can't find any info on the debian.org website about where to
> find the key or what command to use to tell apt about it. Do you know
> where the GPG key for the repo can be found?
> I've spent hours googling with no luck.
Hello,
In gene
Hi Ian,
On Mar 15, 2007, at 6:06 PM, Ian Lynagh wrote:
On Thu, Mar 15, 2007 at 05:15:02PM -0400, Gregory Wright wrote:
in build.mk, so I assume it has optimization on. Can I simply add
GhcRtsHcOpts += -O0
or should I change SRC_HC_OPTS with
SRC_HC_OPTS += -O0
in the build.mk of the 6.4.
On Fri, 2007-03-16 at 00:16 +, Ian Lynagh wrote:
> On Thu, Mar 15, 2007 at 11:32:13PM +, Brian Hulley wrote:
> >
> > >From the ghc downloads page it says the Debian packages are in Debian
> > testing and unstable (I assume 'testing' is the one people are supposed
> > to use(?)).
>
> For G
All,
So here's the Put monad for the binary serialisation stuff:
newtype Put a = Put {
runPut :: (a -> Buffer -> [B.ByteString])
-> Buffer -> [B.ByteString]
}
data Buffer = Buffer {-# UNPACK #-} !(ForeignPtr Word8)
{-# UNPACK #-} !Int
Brian Hulley wrote:
I'm trying to find all the ghc library packages so I can download them
to my own computer and make a local repository to then add to
my /etc/apt/sources.list
After downloading them, another option is to skip apt and repositories,
e.g.,
sudo dpkg -i ghc6_6.6-3_i386.deb
On Thu, Mar 15, 2007 at 11:32:13PM +, Brian Hulley wrote:
>
> >From the ghc downloads page it says the Debian packages are in Debian
> testing and unstable (I assume 'testing' is the one people are supposed
> to use(?)).
For GHC debs, they're currently identical.
> I've managed to get ghc by
Hi,
I'm a total linux newbie and am trying to get ghc6.6 installed together
with all the libraries. I'm using Ubuntu linux which uses Debian package
format but has its own repositories which only have ghc6.4.2 at the
moment.
>From the ghc downloads page it says the Debian packages are in Debian
te
On Thu, Mar 15, 2007 at 05:15:02PM -0400, Gregory Wright wrote:
>
> in build.mk, so I assume it has optimization on. Can I simply add
>
> GhcRtsHcOpts += -O0
>
> or should I change SRC_HC_OPTS with
>
> SRC_HC_OPTS += -O0
>
> in the build.mk of the 6.4.2 tree? I'm also assuming that I can
> j
Hi Ian,
On Mar 15, 2007, at 12:21 PM, Ian Lynagh wrote:
I think the first thing to do is to see if
newPinnedByteArrayzh_fast is
being passed plausible values. The easiest way is probably to set a
breakpoint in gdb on newPinnedByteArrayzh_fast (Having
"GhcRtsHcOpts += -keep-hc-files" in mk/
Hi,
I'm trying to install a ghc on a sidux box (something akin to debian, I
believe). apt-get install seemed to work, but running ghc results in:
/usr/local/lib/ghc-6.6/ghc-6.6: error while loading shared libraries:
libreadline.so.4: cannot open shared object file: No such file or directory
So I
On Thu, Mar 15, 2007 at 11:13:02AM -0400, Gregory Wright wrote:
>
> #6 0x0159e439 in allocatePinned (n=34359738372) at Storage.c:
> 593
> #7 0x015a1376 in newPinnedByteArrayzh_fast ()
> #8 0x0159d3e2 in StgRun (f=0x15a1330
> ,
> basereg=0x3a2) at StgCRun.c:93
> #9
On Thursday 15 March 2007 15:50, I wrote:
> [...] Same question for runhugs, as the corresponding executable is called
> hugs98. [...]
Oops, I mixed up the RPM package name and the executable name. The former is
hugs98, the latter simply hugs, so runhugs is totally OK.
Cheers,
S.
Hi Ian,
I'm building ghc-6.6.20070314 using the unregisterized ghc-6.4.2.
(BTW, the unregisterized 6.4.2 seems quite reliable. I was able to
build happy-1.15 and alex-2.0.1 without any problem.)
I configured 6.6.20070314 for debugging by putting
GhcUnregisterised=YES
GhcWithNativeCodeGen=NO
G
Hello Frederik,
Thursday, March 15, 2007, 2:22:19 PM, you wrote:
we should ask GHC developers. the problem is that runghc understands
only hs and lhs extensions and i don't know how to force it to
accept other ones
> Is there an alternative? I try not to couple interface with
> implementation, a
On Thursday 15 March 2007 15:27, Malcolm Wallace wrote:
> Sven Panne <[EMAIL PROTECTED]> wrote:
> > And 'runhs' is actually not a very good name to run nhc98,
> > runnhc or runnhc98 would be much better IMHO.
>
> Well, I chose 'runhs', because it can equally well invoke ghc, hbc, yhc
> nhc98,
Sven Panne <[EMAIL PROTECTED]> wrote:
> And 'runhs' is actually not a very good name to run nhc98,
> runnhc or runnhc98 would be much better IMHO.
Well, I chose 'runhs', because it can equally well invoke ghc, hbc, yhc
nhc98, or whatever. It is an extension of hmake, which is
compiler-inde
FWIW, I used to employ a combination of environment vars and registry
entries (for file associations) on Windows in order to be able to work with
multiple GHC versions. The environment vars (e.g. for PATH or LIB
inclusion) would all depend on a GHC_HOME var, which could be redefined to
point to t
Is there an alternative? I try not to couple interface with
implementation, and since not everything I write is in Haskell that is
an aspect of the implementation.
On Thu, Mar 15, 2007 at 12:16:09AM +0300, Bulat Ziganshin wrote:
> Hello Frederik,
>
> Wednesday, March 14, 2007, 10:31:55 PM, you wr
On Thursday 15 March 2007 10:56, Malcolm Wallace wrote:
> [...] If you install hmake, and change 'runhaskell' to runhs, it works.
This reminds me of something, at least for the Linux world: No Haskell
compiler/interpreter should directly install 'runhaskell'. Instead of that,
it should only dire
Frederik Eaton <[EMAIL PROTECTED]> wrote:
> What is the proper technique for creating a Haskell script on a Unix
> system?
>
> $ cat test
> #!/usr/bin/env runhaskell
> module Main where
> main = do
> putStrLn "hello world"
If you install hmake, and change 'runhaskell' to runhs, it works.
Re
22 matches
Mail list logo