Re: [Haskell-cafe] Re: Installing Haskell on OSX
I uninstalled all ports and macports, to try with gtk-osx Once I did all of this, leksah builds, but leksah-server don't, with problems with version of libgthread2. I'm at "jhbuild build meta-gtk-osx-bootstrap" step of GTK-OSX. Once the next step ("jhbuild build meta-gtk-osx-core") is finished, and all is fine (and really I hope it), there are some consideration, before directly reinstall cabal gtk packages, and reinstall leksah? I ask because it sais thath jhbuild is needed to build gtk apps. Cheers. Note: Somebody wants a Macbook? I sell mine :P El 22/06/2010, a las 3:36, Hamish Mackenzie escribió: On 22 Jun 2010, at 08:01, Giuseppe Luigi Punzi Ruiz wrote: uhmm.. Now, with all gtk2 rebuilded with +no_x11 and +quartz I get Linking dist/build/leksah/leksah ... ld: library not found for -lgtk-x11-2.0 collect2: ld returned 1 exit status cabal: Error: some packages failed to install: leksah-0.8.0.6 failed during the building phase. The exception was: ExitFailure 1 I searched, and it suppose libgtk-x11-2.0 is part of GTK2, but I only can found it in darwinports inside xulrunner package, but fails me a lot building. Some idea? I think something must still have been built against gtk x11. Did you rebuild all of Gtk2Hs after rebuilding Gtk? cabal install --reinstall glib cabal install --reinstall gio cabal install --reinstall cairo cabal install --reinstall pango cabal install --reinstall gtk cabal install --reinstall gtksourceview If that does not fix it, you could try this to find the package at fault. grep gtk-x11 ~/.ghc/i386-darwin-6.12.1/package.conf.d/* I am interested to see how you get on with MacPorts. I have not tried it myself in a while. I built the current Leksah OS X binary with jhbuild... http://sourceforge.net/apps/trac/gtk-osx/wiki/Build I am sorry that the current binary is not compatible with OS X 10.5. I will try to use OS X 10.5 to build the next release to make sure it is compatible. Once you have Leksah working you will probably need to update the keymap file (~/.cabal/share/leksah-0.8.0.6/data/keymap.lkshk) if you want Command-C, V and X to work. Just uncomment the three lines already in there... x -> EditCut c -> EditCopy v -> EditPaste You will probably find it beeps each time you use them. I have a nice fix for that but I think it requires a newer version of ige-mac- integration than the one in MacPorts. Good Luck, Hamish Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Installing Haskell on OSX
uhmm.. Now, with all gtk2 rebuilded with +no_x11 and +quartz I get Linking dist/build/leksah/leksah ... ld: library not found for -lgtk-x11-2.0 collect2: ld returned 1 exit status cabal: Error: some packages failed to install: leksah-0.8.0.6 failed during the building phase. The exception was: ExitFailure 1 I searched, and it suppose libgtk-x11-2.0 is part of GTK2, but I only can found it in darwinports inside xulrunner package, but fails me a lot building. Some idea? Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Installing Haskell on OSX
Hi again, Yes, you are right, but now, "cabal install leksah" I get: .. .. Linking dist/build/leksah-server/leksah-server ... ld warning: atom sorting error for _ghczm6zi12zi1_LibFFI_Czuffizucif_closure_tbl and _ghczm6zi12zi1_LibFFI_Czuffizutype_closure_tbl in /Library/Frameworks/ GHC.framework/Versions/612/usr/lib/ghc-6.12.1/ghc-6.12.1/ libHSghc-6.12.1.a(LibFFI.o) ld warning: atom sorting error for _ghczm6zi12zi1_LibFFI_Czuffizucif_closure_tbl and _ghczm6zi12zi1_LibFFI_Czuffizutype_closure_tbl in /Library/Frameworks/ GHC.framework/Versions/612/usr/lib/ghc-6.12.1/ghc-6.12.1/ libHSghc-6.12.1.a(LibFFI.o) Undefined symbols: "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.2.0.0.a(iconv.o) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.2.0.0.a(iconv.o) "_iconv", referenced from: _hs_iconv in libHSbase-4.2.0.0.a(iconv.o) ld: symbol(s) not found collect2: ld returned 1 exit status cabal: Error: some packages failed to install: gtksourceview2-0.11.0 failed during the configure step. The exception was: ExitFailure 1 leksah-0.8.0.6 depends on leksah-server-0.8.0.6 which failed to install. leksah-server-0.8.0.6 failed during the building phase. The exception was: ExitFailure 1 El 20/06/2010, a las 17:29, Antoine Latter escribió: On Sun, Jun 20, 2010 at 10:08 AM, Giuseppe Luigi Punzi Ruiz wrote: [1 of 2] Compiling Gtk2HsSetup ( /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/Gtk2HsSetup.hs, /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/dist/setup/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/Setup.hs, /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/dist/setup/Main.o ) Linking /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/dist/setup/setup ... /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/dist/setup/setup configure --verbose=2 --ghc --prefix=/Users/glpunzi/.cabal --user --flags=closure_signals --constraint=base ==4.2.0.0 -- constraint=containers ==0.3.0.0 --constraint=haskell98 ==1.0.1.1 Configuring glib-0.11.0... Flags chosen: closure_signals=True Dependency base ==4.2.0.0: using base-4.2.0.0 Dependency containers ==0.3.0.0: using containers-0.3.0.0 Dependency haskell98 ==1.0.1.1: using haskell98-1.0.1.1 setup: gtk2hsC2hs is required but it could not be found. cabal: Error: some packages failed to install: glib-0.11.0 failed during the configure step. The exception was: ExitFailure 1 galilea-2:haskell-platform-2010.1.0.0 glpunzi$ If i do: cabal list gtk2hs-buildtools galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal list gtk2hs- buildtools * gtk2hs-buildtools Synopsis: Tools to build the Gtk2Hs suite of User Interface libraries. Latest version available: 0.9 Latest version installed: [ Not installed ] Homepage: http://www.haskell.org/gtk2hs/ License: GPL (Just (Version {versionBranch = [2], versionTags = []})) It's the second time I install it. It suppose install succesfully. * cabal install gtk2hs-buildtools [38 of 41] Compiling C( c2hs/c/C.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/C.o ) [39 of 41] Compiling GBMonad ( c2hs/gen/GBMonad.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/GBMonad.o ) [40 of 41] Compiling GenBind ( c2hs/gen/GenBind.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/GenBind.o ) [41 of 41] Compiling Main ( c2hs/toplevel/Main.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Main.o ) Linking dist/build/gtk2hsC2hs/gtk2hsC2hs ... Installing executable(s) in /Users/glpunzi/.cabal/bin Here we've installed gtk2hsC2hs in /Users/glpunzi/.cabal/bin. If that isn't in your path, it won't be available for 'glib' to use during its install. El 20/06/2010, a las 17:01, Antoine Latter escribió: cabal install glib -v Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Installing Haskell on OSX
[1 of 2] Compiling Gtk2HsSetup ( /var/folders/fA/ fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/ Gtk2HsSetup.hs, /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/ glib-0.11.096835/glib-0.11.0/dist/setup/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( /var/folders/fA/ fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/ Setup.hs, /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/ glib-0.11.096835/glib-0.11.0/dist/setup/Main.o ) Linking /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/ glib-0.11.096835/glib-0.11.0/dist/setup/setup ... /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/ glib-0.11.0/dist/setup/setup configure --verbose=2 --ghc --prefix=/Users/glpunzi/.cabal --user --flags=closure_signals --constraint=base ==4.2.0.0 -- constraint=containers ==0.3.0.0 --constraint=haskell98 ==1.0.1.1 Configuring glib-0.11.0... Flags chosen: closure_signals=True Dependency base ==4.2.0.0: using base-4.2.0.0 Dependency containers ==0.3.0.0: using containers-0.3.0.0 Dependency haskell98 ==1.0.1.1: using haskell98-1.0.1.1 setup: gtk2hsC2hs is required but it could not be found. cabal: Error: some packages failed to install: glib-0.11.0 failed during the configure step. The exception was: ExitFailure 1 galilea-2:haskell-platform-2010.1.0.0 glpunzi$ If i do: cabal list gtk2hs-buildtools galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal list gtk2hs- buildtools * gtk2hs-buildtools Synopsis: Tools to build the Gtk2Hs suite of User Interface libraries. Latest version available: 0.9 Latest version installed: [ Not installed ] Homepage: http://www.haskell.org/gtk2hs/ License: GPL (Just (Version {versionBranch = [2], versionTags = []})) It's the second time I install it. It suppose install succesfully. * cabal install gtk2hs-buildtools [38 of 41] Compiling C( c2hs/c/C.hs, dist/build/ gtk2hsC2hs/gtk2hsC2hs-tmp/C.o ) [39 of 41] Compiling GBMonad ( c2hs/gen/GBMonad.hs, dist/ build/gtk2hsC2hs/gtk2hsC2hs-tmp/GBMonad.o ) [40 of 41] Compiling GenBind ( c2hs/gen/GenBind.hs, dist/ build/gtk2hsC2hs/gtk2hsC2hs-tmp/GenBind.o ) [41 of 41] Compiling Main ( c2hs/toplevel/Main.hs, dist/ build/gtk2hsC2hs/gtk2hsC2hs-tmp/Main.o ) Linking dist/build/gtk2hsC2hs/gtk2hsC2hs ... Installing executable(s) in /Users/glpunzi/.cabal/bin El 20/06/2010, a las 17:01, Antoine Latter escribió: cabal install glib -v Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Installing Haskell on OSX
WTF! Sorry for the mistake in the title, is the problem of doing 124 different things at the same time :P El 20/06/2010, a las 16:28, Giuseppe Luigi Punzi Ruiz escribió: Hi all, I would like to play a little with erlang. I downloaded Haskell platform, ang ghc and ghci seems to work. Trying to install leksah, Cabal, gives me the following error. http://trac.haskell.org/haskell-platform/ticket/110 I downloaded and installed Haskell Platform from source. Did.. cabal update cabal install cabal-install cabal install gtk2hs-buildtools cabal install leksah The last command didn't finish, with this output: .. ... [22 of 23] Compiling Text.Regex.TDFA.Sequence ( Text/Regex/TDFA/ Sequence.hs, dist/build/Text/Regex/TDFA/Sequence.o ) Text/Regex/TDFA/Sequence.hs:36:9: Warning: orphan instance: instance RegexContext Regex (Seq Char) (Seq Char) Text/Regex/TDFA/Sequence.hs:40:9: Warning: orphan instance: instance RegexMaker Regex CompOption ExecOption (Seq Char) Text/Regex/TDFA/Sequence.hs:46:9: Warning: orphan instance: instance RegexLike Regex (Seq Char) [23 of 23] Compiling Text.Regex.TDFA ( Text/Regex/TDFA.hs, dist/ build/Text/Regex/TDFA.o ) Registering regex-tdfa-1.1.3... Installing library in /Users/glpunzi/.cabal/lib/regex-tdfa-1.1.3/ ghc-6.12.1 Registering regex-tdfa-1.1.3... cabal: Error: some packages failed to install: cairo-0.11.0 failed during the configure step. The exception was: ExitFailure 1 gio-0.11.0 depends on glib-0.11.0 which failed to install. glib-0.11.0 failed during the configure step. The exception was: ExitFailure 1 gtk-0.11.0 depends on glib-0.11.0 which failed to install. gtksourceview2-0.11.0 depends on glib-0.11.0 which failed to install. leksah-0.8.0.6 depends on glib-0.11.0 which failed to install. leksah-server-0.8.0.6 depends on glib-0.11.0 which failed to install. ltk-0.8.0.6 depends on glib-0.11.0 which failed to install. pango-0.11.0 depends on glib-0.11.0 which failed to install. Possible usefull info: galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal --version cabal-install version 0.8.0 using version 1.8.0.2 of the Cabal library galilea-2:haskell-platform-2010.1.0.0 glpunzi$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.12.1 Some idea how to get leskah, or/and full Haskell working under OSX? Thanks in advance. Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Installing Erlang on OSX
Hi all, I would like to play a little with erlang. I downloaded Haskell platform, ang ghc and ghci seems to work. Trying to install leksah, Cabal, gives me the following error. http://trac.haskell.org/haskell-platform/ticket/110 I downloaded and installed Haskell Platform from source. Did.. cabal update cabal install cabal-install cabal install gtk2hs-buildtools cabal install leksah The last command didn't finish, with this output: .. ... [22 of 23] Compiling Text.Regex.TDFA.Sequence ( Text/Regex/TDFA/ Sequence.hs, dist/build/Text/Regex/TDFA/Sequence.o ) Text/Regex/TDFA/Sequence.hs:36:9: Warning: orphan instance: instance RegexContext Regex (Seq Char) (Seq Char) Text/Regex/TDFA/Sequence.hs:40:9: Warning: orphan instance: instance RegexMaker Regex CompOption ExecOption (Seq Char) Text/Regex/TDFA/Sequence.hs:46:9: Warning: orphan instance: instance RegexLike Regex (Seq Char) [23 of 23] Compiling Text.Regex.TDFA ( Text/Regex/TDFA.hs, dist/build/ Text/Regex/TDFA.o ) Registering regex-tdfa-1.1.3... Installing library in /Users/glpunzi/.cabal/lib/regex-tdfa-1.1.3/ ghc-6.12.1 Registering regex-tdfa-1.1.3... cabal: Error: some packages failed to install: cairo-0.11.0 failed during the configure step. The exception was: ExitFailure 1 gio-0.11.0 depends on glib-0.11.0 which failed to install. glib-0.11.0 failed during the configure step. The exception was: ExitFailure 1 gtk-0.11.0 depends on glib-0.11.0 which failed to install. gtksourceview2-0.11.0 depends on glib-0.11.0 which failed to install. leksah-0.8.0.6 depends on glib-0.11.0 which failed to install. leksah-server-0.8.0.6 depends on glib-0.11.0 which failed to install. ltk-0.8.0.6 depends on glib-0.11.0 which failed to install. pango-0.11.0 depends on glib-0.11.0 which failed to install. Possible usefull info: galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal --version cabal-install version 0.8.0 using version 1.8.0.2 of the Cabal library galilea-2:haskell-platform-2010.1.0.0 glpunzi$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.12.1 Some idea how to get leskah, or/and full Haskell working under OSX? Thanks in advance. Giuseppe Luigi Punzi Ruiz Blog: http://www.lordzealon.com Twitter & Skype & GoogleTalk accounts: glpunzi ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe