[Fedora-haskell-list] [Bug 250767] RPMs for ghc-gtk2hs, ghc661-gtk2hs, won't install with 256 MB RAM

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 15 16:25:57 UTC 2008

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: RPMs for ghc-gtk2hs, ghc661-gtk2hs, won't install with 256 MB RAM


------- Additional Comments From gdweber at indiana.edu  2008-07-15 12:25 EST -------
(In reply to comment #6)
> Shared library support should arrive in 6.10, so I propose to do nothing about
> this for another few months :-)

I guess that's fine.  I'd like to report an update on the situation, and to 
emphasize something in my earlier report.


  The point I would like to emphasize is that building and installing
from source finishes in a reasonable amount of time, but installing from rpm
(yum) does not.  Does that not suggest that something bizarre is happening 
in the rpm install that does not happen in the install from source?

  And since installing from source certainly generates  the .o files, does that
not cast some doubt on the theory that, when the rpm generates the .o files 
at install time, that's really the problem?  

  I realize that 256 MB RAM seems small to you guys, but it's all I've got --
and it's adequate for most things, including building and installing gtk2hs
from source, so why would it not be adequate for the rpm install?


Here's my update:

I've moved to a faster computer, but still with 256 MB RAM.  Installed
Fedora 9.  Tried to install ghc-gtk2hs, with the same results as I reported

Downloaded the source tarball for gtk2hs 0.9.13 from

# ./configure --prefix=/opt --enable-cairo --enable-svg \

(Note, --enable-docs not included because that led to an installation failure
-- incompatible version of haddock, I think.)

# time make
-- completed in 25 minutes 37 seconds real time, 
12 minutes 44 seconds user time, 5 minutes 29 seconds sys time,
with 2 Firefox processes running in the background 
(one for root and one for another user)

# time make install
-- completed in 41 seconds 


1.  rpm install of gtk2hs still does not work
2.  rpm generating .o files at install time does not seem to be the problem,
    since ...
3.  ... install from source mostly* works, and does generate .o files
    (*except for generating documentation).
4.  Since I have something that works, if you want to wait for GHC 6.10, 
    before looking at it again, that's fine with me.

By the way, thanks for moving this bug to rawhide, since (I guess) that keeps it
alive after Fedora 7.

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the Fedora-haskell-list mailing list