Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Daniel Fischer wrote: Am Mittwoch 24 Februar 2010 23:17:46 schrieb Andrew Coppin: Erlend Hamberg wrote: if you open the software manager and go to configuration → repositories, you should be able to add new software sources. i use the following repository: Server name:

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 13:23:11 schrieb Andrew Coppin: Daniel Fischer wrote: Or, go to http://software.opensuse.org/search/ , type ghc [alex, happy, ...] in the search box, click the search button and 1-click-install. This works - and adds all the Haskell stuff to the respositories

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Daniel Fischer wrote: Am Sonntag 28 Februar 2010 13:23:11 schrieb Andrew Coppin: Amusingly, I installed the GHC package, and then discovered that while GHC runs, it won't compile anything. But if you (manually) install GCC as well, *then* it works. (Isn't that the package manager's job?

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin: It also puts the binary in a strange place, but I guess I can live with that... Which strange place? By default, it should go to ~/.cabal/bin, I think. Anyway, you should add that to your path, put something like if [ -z `/bin/echo

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Daniel Fischer wrote: Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin: It also puts the binary in a strange place, but I guess I can live with that... Which strange place? By default, it should go to ~/.cabal/bin, I think. Indeed. You'd expect it to be in some

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread David Virebayre
On Sun, Feb 28, 2010 at 6:30 PM, Andrew Coppin andrewcop...@btinternet.comwrote: Daniel Fischer wrote: if [ -z `/bin/echo ${PATH} | /usr/bin/grep cabal` ] then export PATH=/home/andrew/.cabal/bin:$PATH fi in your .bashrc Uh... what? that snippet supposes you have cabal

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 18:30:59 schrieb Andrew Coppin: Daniel Fischer wrote: Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin: It also puts the binary in a strange place, but I guess I can live with that... Which strange place? By default, it should go to ~/.cabal/bin, I

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Anyway, I'm currently attempting to get cabal-install to work... What's the problem? Downloading the .tar.gz from hackage, unpacking it and running bootstrap.sh *should* get you a working cabal-install with minimum fuss. No problem, I just haven't finished it yet. I just retried

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
David Virebayre wrote: On Sun, Feb 28, 2010 at 6:30 PM, Andrew Coppin andrewcop...@btinternet.com mailto:andrewcop...@btinternet.com wrote: Daniel Fischer wrote: if [ -z `/bin/echo ${PATH} | /usr/bin/grep cabal` ] then export

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 20:07:28 schrieb Andrew Coppin: Oh, right. So it's checking whether it's already in the search path before adding it. Right. I would have just added it. ;-) That wouldn't do much harm, you'd just have it several times in your $PATH (which means it'll take a

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Daniel Fischer wrote: Let me guess, you'd have tried ';' as the path-separator? I didn't know you have to use export for this to work... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 20:40:15 schrieb Andrew Coppin: Daniel Fischer wrote: Let me guess, you'd have tried ';' as the path-separator? I didn't know you have to use export for this to work... You probably wouldn't need export in SUSE, there $HOME/.bashrc is sourced in /etc/profile (I

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Andrew Coppin
Andrew Coppin wrote: Now, hypothetically, I should have a Linux Haskell system, so I can actually compile *anything* that's on Hackage. Heh, I forgot how much fun building Gtk2hs is. ;-) The only library I've ever seen that takes more than 11 seconds to build... (Currently at 10 *minutes*

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-28 Thread Daniel Fischer
Am Sonntag 28 Februar 2010 22:57:05 schrieb Andrew Coppin: Andrew Coppin wrote: Now, hypothetically, I should have a Linux Haskell system, so I can actually compile *anything* that's on Hackage. Heh, I forgot how much fun building Gtk2hs is. ;-) But that's not yet on hackage :) The only

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-24 Thread Erlend Hamberg
On Wednesday 24. February 2010 21.47.56 Andrew Coppin wrote: no ammount of prodding YaST will convince it that it's possible to install anything remotely Haskell-related if you open the software manager and go to configuration → repositories, you should be able to add new software sources. i

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-24 Thread Andrew Coppin
Erlend Hamberg wrote: if you open the software manager and go to configuration → repositories, you should be able to add new software sources. i use the following repository: Server name: download.opensuse.org Directory: /repositories/devel:/languages:/haskell/openSUSE_11.2/ This repository

Re: [Haskell-cafe] OpenSUSE 11.2

2010-02-24 Thread Daniel Fischer
Am Mittwoch 24 Februar 2010 23:17:46 schrieb Andrew Coppin: Erlend Hamberg wrote: if you open the software manager and go to configuration → repositories, you should be able to add new software sources. i use the following repository: Server name: download.opensuse.org Directory: