overlapping instances and modules

2004-01-14 Thread Iavor S. Diatchki
hello, i am a bit stuck on the following problem, which seems to be GHC related. consider the following two modules: {-# OPTIONS -fglasgow-exts -fallow-overlapping-instances #-} module Test where data T m a = T (m a) class C m where get :: m a instance C (T m) instance C m = C (t m) obs

Fail to compile ghc-6.2 on a Sun/Sparc

2004-01-14 Thread Patrick Scheibe
Hi there. I tried to compile the new ghc with hopengl support on a sun workstation. uname -a SunOS userv1 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-80 The configure script seems to work. My options were: ./configure --prefix=/home/mai99dnn/built --enable-hopengl But when I did a make

Re: Fail to compile ghc-6.2 on a Sun/Sparc

2004-01-14 Thread Patrick Scheibe
Ok, that was definitely my fault. I´ve built the gnu-make and tried again. After an hour of compilation ghc ended with: Reading package info from stdin... done. Expanding embedded variables... done. warning: can't find GHCi lib `HSbase.o' Saving old package config file... done. Writing new