From: Axel S. <Axe...@en...> - 2008-05-30 20:39:45
|
On May 30, 2008, at 19:40, John O'Donnell wrote: > Hi Axel, > > Thanks for your comments. There wasn't any gtk2hs file in > /usr/local/lib/ so it looks like the rpm was doing something funny. > > I tried compiling again, and it worked. The one think I did > differently > was to use gmake rather than make. Anyway, the build was > successful and > my test program now compiles and runs. > Yes, we need GNU make. > > There's still a little work to do to get MozEmbed to work (this > time I compiled > without enabling that package). By the way, is > there any prospect that MozEmbed would become available on the > Windows version? > My impression is that MozEmbed hasn't been ported to Windows yet, > and until it > is there's no way for gtk2hs to support it. > > Are there any alternative ways to render html in a gtk2hs window > that would be > portable across Windows as well has Linux? I strongly prefer > Linux, but want > my software to work on Windows as well... > Have a look at xulrunner. If I understand correctly, that's the current way to go. That library should also run under Windows. Axel. > > Thanks again for all your help! > John > > -----Original Message----- > From: Axel Simon [mailto:Axe...@en...] > Sent: Fri 2008-05-30 18:11 > To: John O'Donnell > Cc: Axel Simon; gtk...@li... > Subject: Re: [Gtk2hs-users] how to install gtk2hs from rpm > > > On May 30, 2008, at 18:50, John O'Donnell wrote: > > > Hi Axel, > > > > Thanks for your reply. There is a previous installation of > > ghc-6.8.2 from the bzip2 binary bundle, but it's not clear how to > > remove that. The ghc executables are in /usr/local/bin. I wasn't > > able to get gtk2hs working using that (gtk2hs doesn't compile, and > > the rpm insisted on an rpm'ed version of ghc), so that's why I > > tried the rpm for ghc. > > > The packages for the various distributions are not maintained by us. > Hence, if you want to find out where the rpm package puts the files > (and perhaps why it didn't register) you probably have to consult the > rpm specification for that package. > > Normally, Gtk2Hs looks for a ghc on the path and installs itself > under /usr/local/lib/gtk2hs > Building Gtk2Hs from source should be straightforward. If it is not, > maybe your environment is funny and that might also be the reason why > the rpm didn't install properly. Why does Gtk2Hs not build from > source? > > > > Presumably the rpm has put the package somewhere, but it isn't in > > any of the usual places (it's not in my .ghc directory, for > > example, or in /usr/local. I tried using locate, but that turned > > up thousands of files resulting from many unsuccessful attempts to > > compile gtk2hs, and the actual package probably got lost in all the > > noise. > > > Hm, you might try to locate libHSgtk.a, there will only be one for > each Gtk2Hs installation. > > Axel. > > > -----Original Message----- > > From: Axel Simon [mailto:Axe...@en...] > > Sent: Fri 2008-05-30 15:52 > > To: John O'Donnell > > Cc: gtk...@li... > > Subject: Re: [Gtk2hs-users] how to install gtk2hs from rpm > > > > John, > > > > On Fri, 2008-05-30 at 15:35 +0100, John O'Donnell wrote: > > > Hello, > > > > > > I've installed gtk2hs from an rpm (using Fedora 9 on an Intel > > machine, > > > with ghc-6.82). > > > > > > The rpm install appeared to work silently, but ghc doesn't know > > anything > > > about the gtk2hs package (it isn't in the list of installed > > packages). > > > How can I register this package? I have no idea where the rpm > > installer > > > put it. > > > > I think it should be registered automatically. Do you have other > > versions of ghc installed? > > > > Axel. > > > > > > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gtk2hs-users mailing list > > Gtk...@li... > > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > |