[phc-general] Can't make maketea
Satyam
Satyam at satyam.com.ar
Mon Jul 9 19:52:08 CEST 2007
----- Original Message -----
From: "Edsko de Vries" <edsko at phpcompiler.org>
To: "Satyam" <Satyam at satyam.com.ar>
Cc: <phc-general at phpcompiler.org>
Sent: Monday, July 09, 2007 7:04 PM
Subject: Re: [phc-general] Can't make maketea
> Hi Satyam,
>
> On Sun, Jul 08, 2007 at 08:12:37PM +0200, Satyam wrote:
>> Before adding my own changes to the latest version of phc, I tried to
>> make
>> the whole package as released, to make sure I started from something
>> known.
>> I succeeded with basic phc, but since my plugin requires maketea, I tried
>> to build that as well, since it is not part of the default build. I did
>> install ghc and when making it, it produces the following error message:
>>
>> satyam at ubuntu:~/phc/tools/maketea$ make
>> ghc -fglasgow-exts -package text --make Main.hs -o maketea
>> ghc-6.6: unknown package: text
>> make: *** [maketea] Error 1
>
> This is due to an API change in ghc. Package "text" no longer exists but
> (I think) is now part of the standard libraries.
>
> Which version of phc are you using? If by "latest" you mean 0.1.7 (the
> latest released version), you should use the bundled maketea sources (as
> you seem to be doing anyway, so that's good). Try removing the "-package
> text" option from the Makefile in the maketea directory and see if you
> can compile maketea that way.
Yes, I'm using the released version from code.google.com. I deleted the
'package' option and got the following:
ghc -fglasgow-exts --make Main.hs -o maketea
Main.hs:13:7:
Could not find module `Parsec':
Use -v to see a list of the files searched for.
make: *** [maketea] Error 1
I then tried with the -v option:
ghc -fglasgow-exts -v --make Main.hs -o maketea
Glasgow Haskell Compiler, Version 6.6, for Haskell 98, compiled by GHC
version 6.6
Using package config file: /usr/lib/ghc-6.6/package.conf
wired-in package base mapped to base-2.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0
wired-in package template-haskell mapped to template-haskell-2.0
Hsc static flags: -static
*** Chasing dependencies:
Chasing modules from: Main.hs
Main.hs:13:7:
Could not find module `Parsec':
locations searched:
Parsec.hs
Parsec.lhs
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
make: *** [maketea] Error 1
Some other missing library perhaps?
Thanks
Satyam
More information about the phc-general
mailing list