Re: hugs98 on macports
"Benjamin L. Russell" <[email protected]> Sun, 6 Apr 2008 19:58:24 -0700 (PDT)
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
Not sure if this will help, but I just read about a similar problem that a user had in installing SWI-Prolog on X11 on Leopard; since this problem seems related, let me forward to this list his message below. To sum, I would suggest that you try the following procedure (the following procedure has been quoted and edited from the version by Tom Conlon): > [1.] Make sure ... that your MacPorts installation=20 > has updated its portfiles: >=20 > sudo port -v selfupdate >=20 > [2.] [U]se the port command with the <f> option: >=20 > sudo port -f install <program-name> >=20 > [(E.g., for SWI-Prolog, the above command would be=20 > typed as follows: =20 > sudo port -f install swi-prolog > )] >=20 > [3.] Be sure in advance to install not just the=20 > latest version of Leopard, but also get the latest=20 > X11 from the usual source: >=20 > http://trac.macosforge.org/projects/xquartz Hope this helps! Benjamin L. Russell --- Tom Conlon <[email protected]> wrote: > [snip] >=20 > On 3 Apr 2008, at 11:30, Benjamin L. Russell wrote: > > By any chance, would you happen to remember just > what > > you did to get it to work? I may need to go > through > > that exact procedure soon once I upgrade my PPC > Mac. >=20 > My need for 'wrestling' was partly to do with the > fact that at the =20 > time I did the installation (a few weeks ago now), > MacPorts hadn't yet =20 > committed to v5.6.52, which was the version I needed > to get (because =20 > Jan had fixed in it a bug that was important to me). > Paulo kindly =20 > pointed out that I could edit the then existing > portfile manually, so =20 > as to persuade MacPorts not to pick the older > version of SWI-Prolog. =20 > That worked. But the portfile-editing trick isn't > necessary now that =20 > MacPorts is fully up to date -- I can confirm that > today, because I =20 > just installed SWI-Prolog via MacPorts, without any > fuss, on another =20 > PPC Leopard Mac. >=20 > Make sure of course that your MacPorts installation > has updated its =20 > portfiles: >=20 > sudo port -v selfupdate >=20 > A second problem I had was the one Jan referred to > -- system library =20 > files messed up, probably due to previous > installation of SWI-Prolog =20 > via the binary download an/or due to incompatible > X11 problems. That =20 > was fixed by another tip of Paulo's, viz. use the > port command with =20 > the <f> option: >=20 > sudo port -f install swi-prolog >=20 > Be sure in advance to install not just the latest > version of Leopard, =20 > but also get the latest X11 from the usual source: >=20 > http://trac.macosforge.org/projects/xquartz >=20 > As for full-screen mode, I don't ever use it so I > can't say anything =20 > about that, sorry. But check out the many reports on > the net about the =20 > X11 saga that has followed the initial X11 release > under Leopard, =20 > which was pretty much a disaster! >=20 > I hope this information is helpful -- and accurate! >=20 > Best of luck, >=20 > Tom --- Calum Robertson <[email protected]> wrote: > Hi, >=20 > I've installed hugs98 (version September 2006) using > macports on =20 > Leopard and I'm having a few problems when I try to > load code that =20 > contains: import Graphics.SOE (I'm typing in > programs from the School =20 > of Expression book by Paul Hudak). I get the error: >=20 > ERROR > "/opt/local/lib/hugs/packages/HGL/Graphics/HGL/Internals/ >=20 > Types.hs" - Can't find imported module > "Graphics.X11.Xlib" >=20 > Apart from this, Hugs seems to run okay. Any ideas > on how to fix this? >=20 > C > _______________________________________________ > Hugs-Users mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/hugs-users >=20