[Haskell-cafe] Building gtkhs, OpenSolaris x86

2008-10-03 Thread Lally Singh
Hey folks,

  I know it seems an obtuse OS to build on, but trust me, it's pretty
nice despite the hassles.

  I'm getting these three errors (repeated a few times) while building
gtkhs-0.9.13 on ghc 6.8.3, and was hoping for any suggestions on where
to go from here:

tools/c2hs/base/general/Map.hs:16:7:
Could not find module `Data.Map':
  it is a member of package containers-0.1.0.2, which is hidden
tools/c2hs/base/errors/Errors.hs:44:0:
Failed to load interface for `Position':
  Use -v to see a list of the files searched for.
glib/System/Glib.hs:13:0:
Failed to load interface for `System.Glib.UTFString':
  Use -v to see a list of the files searched for.

What did I screw up?  Is there something else I should load?  Maybe an
older version of gtkhs? ghc?

Thanks for any help!
-- 
H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Building gtkhs, OpenSolaris x86

2008-10-03 Thread Brandon S. Allbery KF8NH

On 2008 Oct 3, at 16:08, Lally Singh wrote:

 I know it seems an obtuse OS to build on, but trust me, it's pretty
nice despite the hassles.

 I'm getting these three errors (repeated a few times) while building
gtkhs-0.9.13 on ghc 6.8.3, and was hoping for any suggestions on where
to go from here:

tools/c2hs/base/general/Map.hs:16:7:
   Could not find module `Data.Map':
 it is a member of package containers-0.1.0.2, which is hidden
tools/c2hs/base/errors/Errors.hs:44:0:
   Failed to load interface for `Position':
 Use -v to see a list of the files searched for.
glib/System/Glib.hs:13:0:
   Failed to load interface for `System.Glib.UTFString':
 Use -v to see a list of the files searched for.



The first error is the real one; the others happen because the gtk2hs  
makefile doesn't properly abort when a sub-build fails.  (This is  
probably a bash-ism:  setting -e aborts the current iteration of a  
loop, not the entire script/fragment containing the loop.  Supposedly  
POSIX mandates this braindamage.  I'm dubious.)


I have no idea what's causing the first one, though; normally it means  
something is missing from a Cabal configuration file, but last I  
checked gtk2hs didn't use Cabal and I don't see an obvious candidate  
in our gtk2hs 0.9.13 source tree.


--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon universityKF8NH


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe