Re: convert_libraries chokes on Posix.hsc

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
On Sat, Oct 12, 2002 at 11:00:13AM -0700, Levent Erkok wrote:
> Typing "make" on a freshly checked out hugs yields:
> 
> ............
> Converting base/Text/Regex/Posix.hsc
> /usr/local/ghc-5.04/bin/i386-unknown-linux/hsc2hs: /hsc2hs-bin: No such file or directory
> sed: can't read ../../libraries/Text/Regex/Posix.hs: No such file or directory
> Converting base/Text/Show.hs
> ............
> 
> everything else goes fine..
> 
> (apologies if this is a local problem on my machine. The ghc installation 
> being used is right out of the linux binary bundle. If I'm having this problem, 
> others might be getting into trouble as well.)

Looks like /usr/local/ghc-5.04/bin/i386-unknown-linux/hsc2hs doesn't set
the HSC2HS_BINDIR variable (i.e. a problem in the ghc bundle).

This also raises the issue that Posix.hsc makes the Hugs build depend
on a GHC installation.  The script already avoids depending on happy
to convert *.ly by using the corresponding .hs file if available, and
the rpm source bundle contains a converted Language/Haskell/Parser.hs.
I'll do the same for *.hsc and Text/Regex/Posix.hsc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.