Installing wxhaskell.
I am running a Fedora Core 3 x86 box and attempting to install wxhaskell-ghc622 without success. Specifically it is obvious that I need to find libwx_gtk2-2.4.so and libwx_gtk2_gl-2.4.so. Which package, from which repository, have people installed these base libraries? I have tried installing wxGTK from the DAG repository, but it appears to have installed the wxWidgets library for GTK1.2. I have looked at the wxWidgets and wxHaskell websites and this appears to be the recommended combination, however it looks like the repository version is compiled against wxGTK2, and I can't seem to find that anywhere. I have done a yum whatprovides libwx_gtk2-2.4.so.0, with no success. I really am at a loss as to where to go from here? I have attached the output of the attempt to install wxhaskell in case there is something else wrong I'm missing. Andrae -- Andrae Muys <andrae@internode.on.net> Principal Netymon Pty Ltd +61 7 3392 1296 / +61 414 517 882 [andrae@charis ~]$ sudo yum install wxhaskell-ghc622 Setting up Install Process Setting up Repos dag 100% |=========================| 1.1 kB 00:00 haskell-stable 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 updates-released 100% |=========================| 951 B 00:00 Reading repository metadata in from local files dag : ################################################## 2050/2050 haskell-st: ################################################## 69/69 base : ################################################## 2622/2622 primary.xml.gz 100% |=========================| 307 kB 00:06 MD Read : ################################################## 752/752 updates-re: ################################################## 752/752 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package wxhaskell-ghc622.i386 0:0.9-1 set to be updated --> Running transaction check --> Processing Dependency: libwx_gtk2_gl-2.4.so.0 for package: wxhaskell-ghc622 --> Processing Dependency: libwx_gtk2_gl-2.4.so.0(WXGTK2_2.4) for package: wxhaskell-ghc622 --> Processing Dependency: libwx_gtk2-2.4.so.0 for package: wxhaskell-ghc622 --> Processing Dependency: libwx_gtk2-2.4.so.0(WXGTK2_2.4) for package: wxhaskell-ghc622 --> Processing Dependency: wxGTK2 for package: wxhaskell-ghc622 --> Finished Dependency Resolution Error: Missing Dependency: libwx_gtk2_gl-2.4.so.0 is needed by package wxhaskell-ghc622 Error: Missing Dependency: libwx_gtk2_gl-2.4.so.0(WXGTK2_2.4) is needed by package wxhaskell-ghc622 Error: Missing Dependency: libwx_gtk2-2.4.so.0 is needed by package wxhaskell-ghc622 Error: Missing Dependency: libwx_gtk2-2.4.so.0(WXGTK2_2.4) is needed by package wxhaskell-ghc622 Error: Missing Dependency: wxGTK2 is needed by package wxhaskell-ghc622
Hi Andrae, Andrae Muys wrote:
I am running a Fedora Core 3 x86 box and attempting to install wxhaskell-ghc622 without success. Specifically it is obvious that I need to find libwx_gtk2-2.4.so and libwx_gtk2_gl-2.4.so. Which package, from which repository, have people installed these base libraries?
Good question - this should really be documented somewhere... The wxhaskell package is built against the wxGTK package from Fedora Extras. If you add say /etc/yum.repos.d/extras.repo containing: [extras] name=Fedora Extras - $releasever - $basearch baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basea... gpgcheck=1 gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora... and try to "sudo yum install wxhaskell-ghc622" again you should be all set. :) Cheers, Jens
participants (2)
-
Andrae Muys -
Jens Petersen