HSX11 1.00 A Haskell binding for X11 In preparation for a major release of HSX11, we are making an alpha release for folk to play with. We welcome bug reports, comments on how the system is packaged, the web page, examples, comments from those who build binary and source packages, etc. and especially welcome comments accompanied by patches or cvs commit messages. We are pleased to announce a new release of the Haskell binding for X11 which provides a binding to most of Xlib. The library is distributed as open source. The library can be downloaded from: http://www.haskell.org/packages. You will need GreenCard 3.00 and GHC 6.0 to build the library. Installation instructions are in HSX11-1.0/INSTALL. Bug reports should be sent to X11@reid-consulting-uk.ltd.uk Enjoy! -- Alastair Reid http://www.reid-consulting-uk.ltd.uk ps Though they are really independent issues, it is worth noting two other things about this release: 1) We have created a page http://www.haskell.org/packages which contains a list of Haskell packages and acts as a 'homepage' for packages like this that are too small to justofy a full homepage. Please feed this page. 2) This release is based on the GHC team's fptools infrastructure which is evolving in the direction of supporting packages like this one. We welcome comments on this infrastructure and, especially, offers to help make it better.
2003年06月06日(金)の23時06分に Alastair Reid 曰く:
HSX11 1.00 A Haskell binding for X11
In preparation for a major release of HSX11, we are making an alpha release for folk to play with. We welcome bug reports, comments on how the system is packaged, the web page, examples, comments from those who build binary and source packages, etc. and especially welcome comments accompanied by patches or cvs commit messages.
Thanks for the release. :-) When I run "make all" I get: % cd libraries/X11/ % make all rm -f Graphics/X11/Types.o; if [ ! -d Graphics/X11/Types_split ]; then mkdir Graphics/X11/Types_split; else /usr/bin/find Graphics/X11/Types_split -name '*.o' -print | xargs rm -f __rm_food; fi; /usr/bin/ghc -H16m -O -cpp -fglasgow-exts -fffi -Iinclude -package-name X11 -O -Rghc-timing -package HSgreencard -package haskell98 -split-objs -c Graphics/X11/Types.hs -o Graphics/X11/Types.o -ohi Graphics/X11/Types.hi ghc-6.0: unknown package name: Main <<ghc: 524314348 bytes, 117 GCs, 5477914/8452384 avg/max bytes residency (8 samples), 23M in use, 0.00 INIT (0.00 elapsed), 3.91 MUT (3.95 elapsed), 1.63 GC (1.67 elapsed) :ghc>> make: *** [Graphics/X11/Types.o] Error 1 Anyone else see this? I wonder what is going on? Jens
When I run "make all" I get: [...] ghc-6.0: unknown package name: Main
I believe what is going wrong is that you have some old .hi files from greencard 3.00 lying around. These were slightly broken in that they didn't use the -package-name flag reliably and so ghc plugged in the default package name of 'Main'. What I've found to work in the past is to delete everything connected with the broken install and start again. Something like: su rm -r /usr/local/lib/greencard-* rm -r /usr/local/lib/HSX11-* rm -r /usr/local/lib/HSHGL-* ghc-pkg --remove greencard ghc-pkg --remove HSX11 ghc-pkg --remove HSHGL And then reinstall. It may be possible to get away with less or, better, to use the uninstall targets in the makefiles but the above has worked in the past. -- Alastair Reid ps If anyone can figure out exactly how to reproduce this wedged situation, the GHC team would like to hear from you.
2003年06月06日(金)の23時06分に Alastair Reid 曰く:
In preparation for a major release of HSX11, we are making an alpha release for folk to play with. We welcome bug reports, comments on how the system is packaged, the web page, examples, comments from those who build binary and source packages, etc. and especially welcome comments accompanied by patches or cvs commit messages.
Thanks for the release. I made an rpm package built with ghc-6.0 and put it in: http://haskell.org/~petersen/rpms/HSX11/ Cheers, Jens
participants (2)
-
Alastair Reid -
Jens Petersen