
Hi folks, I am running GHC 6.4.1 on my Linux box at work, which is the latest packaged version for Ubuntu Dapper Drake. (They have a 6.4.2 package for Edgy, but I don't know how to install that. The Synaptic Package Manager seems to only want to install packages specifically labeled for Dapper Drake.) I tried downloading the latest binary snapshot. But when I try to unpack the archive, bzip2 tells me it's a bad archive. So, I downloaded the latest source version. That unpacked just fine, and I'm currently building it. My question is, when I do 'make install', will it just overwrite the version (6.4.1) I already have? Or will they go in separate places? I have no idea how it decides where to go. Right now ghc 6.4.1 is in /usr/local/bin/ghc. After I 'make install', will it be ghc 6.5? I don't want to screw up the installed package so it can't be updated later. Thanks, Lyle

"Lyle" == Lyle Kopnicky
writes:
Lyle> My question is, when I do 'make install', will it just overwrite Lyle> the version (6.4.1) I already have? Or will they go in separate Lyle> places? This depends on the prefix you configured sources with (/usr/local by default). Lyle> I have no idea how it decides where to go. Right now ghc Lyle> 6.4.1 is in /usr/local/bin/ghc. After I 'make install', will it Lyle> be ghc 6.5? I don't want to screw up the installed package so it Lyle> can't be updated later. It should be :-) PS: It is better to build a custom package (dh_make will help you). -- WBR, Max Vasin.

Max Vasin wrote:
Lyle> I have no idea how it decides where to go. Right now ghc Lyle> 6.4.1 is in /usr/local/bin/ghc. After I 'make install', will it Lyle> be ghc 6.5? I don't want to screw up the installed package so it Lyle> can't be updated later. It should be :-)
It should be screwed up? Or it should be updated later? Ideally I'd like to keep the Ubuntu package where it is. I'd like to install the experimental GHC in a different place. Then I want to change my path to point to the experimental one for building.
PS: It is better to build a custom package (dh_make will help you).
I don't have a command called dh_make. I do have some other dh_* commands. What do I need to run dh_make? Where can I find documentation? Thanks, Lyle
participants (2)
-
Lyle Kopnicky
-
Max Vasin