So, I recently tried to install WxHaskell because it was a dependency of GenI. I tried to emerge it (I use Gentoo), but it wanted to pull in GHC 6.4 (!). I immediately canceled it and went and got it from darcs.
After a few failed darcs gets of <http://darcs.haskell.org/wxhaskell>, I finally got it. First, I checked that WxWidgets was installed: > $ emerge -p wxGTK > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] x11-libs/wxGTK-2.8.7.1-r1 Good. WxHaskell doesn't seem cabalized, boo, but let's continue on: > [EMAIL PROTECTED]:1015~/bin/wxhaskell>make realclean > [ 5:48PM] > rm -f -r out/* > rmdir out > [EMAIL PROTECTED]:1016~/bin/wxhaskell>./configure --prefix=/home/gwern/bin > > [ 5:48PM] > checking system: > wx-config found > ghc found > ghc-pkg found > haddock found > install program found > > creating configuration files: > config > config/config.mk > config/wxcore.pkg > config/wx.pkg > config/wxhaskell-register.bat > config/wxhaskell-unregister.bat > config/setcd > config/macosx-install.info > config/macosx-postinstall > config/macosx-app > config/wxhaskell.spec > config/prologue.txt > config/cache.txt > > configuration: > library: wxhaskell-0.10.1 (release 0) > compiler: ghc-6.8.2 > wxwidgets: gtk-2.6.4 > with openGL: no > with stc: no > library dir: /home/gwern/bin/lib > > done: > type 'make' to build wxhaskell. > type 'make install' to install wxhaskell. > type 'make help' to receive help on all other make targets Looks good. I doubt I need 3D acceleration in my widgets anyway. So I build: > [EMAIL PROTECTED]:1017~/bin/wxhaskell>make > [ 5:48PM] > ..... > x86_64-pc-linux-gnu-g++ -shared -o out/wxc/libwxc-gtk2.6.4-0.10.1.so > > out/wxc/ewxw_main.o out/wxc/extra.o out/wxc/wrapper.o out/wxc/eljevent.o > > out/wxc/eljmime.o out/wxc/treectrl.o out/wxc/image.o out/wxc/apppath.o > > out/wxc/db.o out/wxc/dragimage.o out/wxc/glcanvas.o out/wxc/sound.o > > out/wxc/managed.o out/wxc/mediactrl.o out/wxc/printout.o > out/wxc/previewframe.o > out/wxc/taskbaricon.o out/wxc/textstream.o > out/wxc/stc.o > out/wxc/ewxw/eljaccelerator.o out/wxc/ewxw/eljbitmap.o > out/wxc/ewxw/eljbrush.o > out/wxc/ewxw/eljbusyinfo.o out/wxc/ewxw/eljbutton.o > > out/wxc/ewxw/eljcalendarctrl.o out/wxc/ewxw/eljcaret.o > > out/wxc/ewxw/eljcheckbox.o out/wxc/ewxw/eljchecklistbox.o > > out/wxc/ewxw/eljchoice.o out/wxc/ewxw/eljclipboard.o > out/wxc/ewxw/eljcoldata.o > out/wxc/ewxw/eljcolour.o > out/wxc/ewxw/eljcolourdlg.o out/wxc/ewxw/eljcombobox.o > > out/wxc/ewxw/eljconfigbase.o out/wxc/ewxw/eljcontrol.o > out/wxc/ewxw/eljcursor.o > out/wxc/ewxw/eljdataformat.o > out/wxc/ewxw/eljdatetime.o out/wxc/ewxw/eljdc.o > out/wxc/ewxw/eljdialog.o > out/wxc/ewxw/eljdirdlg.o out/wxc/ewxw/eljdnd.o > out/wxc/ewxw/eljdrawing.o > out/wxc/ewxw/eljfiledialog.o > out/wxc/ewxw/eljfilehist.o > out/wxc/ewxw/eljfont.o out/wxc/ewxw/eljfontdata.o > out/wxc/ewxw/eljfontdlg.o > out/wxc/ewxw/eljframe.o out/wxc/ewxw/eljgauge.o > out/wxc/ewxw/eljgrid.o > out/wxc/ewxw/eljhelpcontroller.o out/wxc/ewxw/eljicon.o > > out/wxc/ewxw/eljimage.o out/wxc/ewxw/eljimagelist.o > > out/wxc/ewxw/eljlayoutconstraints.o out/wxc/ewxw/eljlistbox.o > > out/wxc/ewxw/eljlistctrl.o out/wxc/ewxw/eljlocale.o out/wxc/ewxw/eljlog.o > > out/wxc/ewxw/eljmask.o out/wxc/ewxw/eljmdi.o out/wxc/ewxw/eljmenu.o > > out/wxc/ewxw/eljmenubar.o out/wxc/ewxw/eljmessagedialog.o > > out/wxc/ewxw/eljminiframe.o out/wxc/ewxw/eljnotebook.o > out/wxc/ewxw/eljpalette.o > out/wxc/ewxw/eljpanel.o out/wxc/ewxw/eljpen.o > out/wxc/ewxw/eljprintdlg.o > out/wxc/ewxw/eljprinting.o > out/wxc/ewxw/eljprocess.o out/wxc/ewxw/eljradiobox.o > > out/wxc/ewxw/eljradiobutton.o out/wxc/ewxw/eljregion.o > > out/wxc/ewxw/eljregioniter.o out/wxc/ewxw/eljsash.o > out/wxc/ewxw/eljscrollbar.o > out/wxc/ewxw/eljscrolledwindow.o > out/wxc/ewxw/eljsizer.o > out/wxc/ewxw/eljslider.o out/wxc/ewxw/eljspinctrl.o > > out/wxc/ewxw/eljsplitterwindow.o out/wxc/ewxw/eljstaticbox.o > > out/wxc/ewxw/eljstaticline.o out/wxc/ewxw/eljstatictext.o > > out/wxc/ewxw/eljstatusbar.o out/wxc/ewxw/eljsystemsettings.o > > out/wxc/ewxw/eljtextctrl.o out/wxc/ewxw/eljtimer.o out/wxc/ewxw/eljtoolbar.o > > out/wxc/ewxw/eljvalidator.o out/wxc/ewxw/eljwindow.o > out/wxc/ewxw/eljwizard.o > out/wxc/ewxw/eljfindrepldlg.o > out/wxc/ewxw/eljartprov.o out/wxc/ewxw/eljtipwnd.o > > out/wxc/ewxw/eljicnbndl.o out/wxc/ewxw/eljctxhelp.o > out/wxc/ewxw/eljsingleinst.o > -L/usr/lib64 -pthread -Wl,-O1 > -Wl,--no-keep-memory -Wl,--sort-common -Wl,-s > -Wl,--as-needed > -L/usr/X11R6/lib64 -lwx_gtk2u_media-2.6 -lwx_gtk2u_xrc-2.6 > > -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 > > -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 -Wl > > --soname=/home/gwern/bin/lib/libwxc-gtk2.6.4-0.10.1.so > make: execvp: x86_64-pc-linux-gnu-g++: Too many levels of symbolic links > make: *** [out/wxc/libwxc-gtk2.6.4-0.10.1.so] Error 127 > make 10.35s user 1.05s system 92% cpu 12.266 total I am a little perplexed by this. I certainly didn't add in any symbolic links, much less loop them. And it seems to happen irregardless of the configure flags. -- gwern DSD JRB Skipjack IRIDF ISDS Keyhole BIOLWPN Security 97 RG
pgpeClqWxJEPn.pgp
Description: PGP signature
------------------------------------------------------------------------- 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/
_______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users