RE: problem using ghc-6.5.20051122-i386-unknown-linux.tar.bz2

2005-11-24 Thread Konovalov, Vadim
...
  Indeed, the compiler I have has version gcc-3.3.4, and this
  mismatches with gcc-3.4.3, also
  
  How should I avoid this problem?
  Why having that precise requirement of GCC version?
 
 Sorry, that bundle is the output from our nightly build 
 process, and we
 sometimes test specific gcc versions to ensure compatibility.  You can
 use '-pgmc gcc-3.3.4', or build the sources yourself using ghc 6.4.1.

thanks.

I was only afraid that it was newly introduced incompatibility, thanks for
explanations.

There *is* newly introduced incompatibility, though, so PUGS is not built
with a following message:


No context is allowed on a GADT-style data declaration
(You can put a context on each contructor, though.)
Build failed: 256 at util/build_pugs.pl line 86.

But this is probably a subject of different question.

Best regards,
Vadim.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


problem using ghc-6.5.20051122-i386-unknown-linux.tar.bz2

2005-11-23 Thread Konovalov, Vadim
I downloaded ghc-6.5.20051122-i386-unknown-linux.tar.bz2 and tried to use it
(as bootstrap for building Haskell at first, but building Pugs fails the
same way)

It installed fine.

My attempts to compile something with it result with a following error:

ghc-6.5.20051122: could not execute: gcc-3.4.3
ghc: 16599408 bytes, 3 GCs, 123124/123124 avg/max bytes residency (1
samples), 15M in use, 0.00 IN
IT (0.00 elapsed), 0.11 MUT (0.21 elapsed), 0.02 GC (0.03 elapsed) :ghc

Indeed, the compiler I have has version gcc-3.3.4, and this mismatches with
gcc-3.4.3, also 

How should I avoid this problem?
Why having that precise requirement of GCC version?

Best regards,
Vadim.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: upgrading Cabal in ghc-6.4.1-pre

2005-08-08 Thread Konovalov, Vadim
[skipped]

 Then,   ghci -package Cabal
 reports of  Cabal-1.0.
 
 I need to upgrade Cabal to 1.1.1. 
 To do this, I unfold new Cabal to  
/home/mechvel/ghc/cabal/1.1.1/cabal/
 Then I do
   cd /home/mechvel/ghc/cabal/1.1.1/cabal/


[skipped]



 ---
 Preprocessing library dumatel-1.3...
 Building dumatel-1.3...
 Chasing modules from: 
 Dumatel,Dumatel.Prelude,Dumatel.Prelude5,Dumatel.TermComp,Duma
 tel.Reduce,Dumatel.CritPair,Dumatel.KBC,Dumatel.Bool,Dumatel.B
 Term,Dumatel.ReduceBT,Dumatel.UKBB,Dumatel.Prover,Dumatel.Demo
 Test.Test,Dumatel.DemoTest.T_kbcTrad,Dumatel.DemoTest.T_ukb,Du
 matel.DemoTest.T_logicSimp,Dumatel.DemoTest.T_nat,Dumatel.Demo
 Test.T_list,Prelude0,Prelude0_0,Prelude1,Prelude2,Prelude2_0,P
 relude3,Prelude3_0,Prelude3_1,Prelude4,Bool0,BTerm0,BTerm1,Pro
ver0,Parse1,Parse2,Parse3,Prover1,Prover2,Prover3,Dumatel.DemoTest.Test0
 Could not find module `Prelude':
   it is a member of package base-1.0, which is hidden
   (imported from Dumatel.hs)
 ---

I faced similar problem when building a module with ghc-6.5-pre, asked
similar question on this list and received following advice:
quote
 Cabal hides all packages when using GHC 6.5. Add 'base' to
 build-depends in trhsx's cabal file and send a patch to the author.
/quote

Vadim
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


problems building trhsx-0.2 with ghc-6.5.20050723

2005-08-01 Thread Konovalov, Vadim
I built and installed ghc-6.5.20050723 on Linux from sources successfully,
and it looks quite normally-working.

I've stepped into a problem building trhsx from a package
haskell-src-exts-0.2.tar.gz with a quite unexpected (for me) message:

Preprocessing executables for trhsx-0.2...
Building trhsx-0.2...
hsSourceDirs: [.]
Chasing modules from: Hsx.hs

Hsx.hs:6:7:
Could not find module `Data.List':
  it is a member of package base-1.0, which is hidden

Lines in error is quite innocent-looking:
import Data.List (intersperse, isPrefixOf)

GHC version 6.4 builds that module okay.

Is that error is due to beta version of ghc-6.5.20050723, or I am
misunderstanding some configuration issues?

TIA,
Vadim.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: Re[2]: ANNOUNCE: GHC survey results

2005-06-30 Thread Konovalov, Vadim
 btw, in Pugs sources 

(http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/Perl6-Pugs-6.2.7.tar.g
z)
 there is Unicode.hs module wich can classify and convert full range of
 Unicode symbols under any OS. i don't understand - is this module
 already included in GHC 6.5? if not, it would be good addition

that file reads:

-- Based on the GHC.Unicode library, Copyright 2005, Dimitry Golubovsky.
-- See GHC's LICENSE file for the full license text.

That said, it is part of GHC?
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users