Why is the Haskell platform not installed on OS X?

I asked about it in the Haskell cafe, and the only answer I got was to try stackoverflow, it is more closely watched.

When I try to install the latest Haskell platform, the installation always fails.

I tried this several times in a few days. Here's the current situation: Package downloaded from the Haskell Wiki: http://lambda.galois.com/hp-tmp/2011.2.0.1/Haskell%20Platform%202011.2.0.1-i386.pkg , http://hackage.haskell.org /platform/mac.html

My system: OS X 10.6.8 (it was 10.6.7 the first time I had this problem), 2.4 GHz Intel Core 2 Duo. According to df -H, I have 221G of free disk.

I have Xcode 3.2.5.

After downloading, I look at the installation steps, and at the end he says: “Installation error, contact the software developer” or a word about it.

Is this a known issue? Any comments or suggestions?

NEW TRY at 7-1:

I was very puzzled by the links to "NeoOffice" in previous journal posts (see my comment below). I completely removed NeoOffice from my machine and started the installation of the Haskell platform again. Now the console system log indicates:

- Jul 1 11:06:43 jrv installd [1489]: Launch Jul 1 11:06:43 jrv installd [1489]: uid = 0, euid = 0 Jul 1 11:06:43 jrv installd [1489]: PackageKit: * Package identifier is missing: / Library / Receipts / Print selection Service.pkg Jul 1 11:07:41 jrv Installer [1472]: The installer detected an error, due to which the installation failed. Contact the software manufacturer for assistance.


If so, I am surprised that no one has seen this problem.

New edit July 2:

Problems with the library / receipt / print selection service and others were red herring, because the installer found broken installations, but eliminating them did not affect the final result. Maybe this is something new in 10.6.8?

After fixing these problems, I unpacked both the current Haskell platform and the previous one, and tried to compare them, but that did not help. Running diff in the Distribution file of both outputs, which has “choice4” in the previous one, and current has “choice14”, but with my meager knowledge of os x packages, I don’t see that it matters.

I ran the installer in verbose mode from the command line, and now I get:


sudo installer -verbose -pkg Haskell\ Platform\ 2011-2.2.0.1-i386.pkg -target / installer: Package name is Haskell Platform installer: Upgrading at base path / installer: Preparing for installation…..... installer: Preparing the disk…..... installer: Preparing Haskell Platform…..... installer: Waiting for other installations to complete…..... installer: Configuring the installation…..... installer: installer: Writing files…..... (lots of writing files, then ) installer: Moving items into place….....(lots of these) installer: Running package scripts…..... (lots of these, too, and finally:) installer: Running package scripts…..... ## installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) 

Ie, no real additional information.

I have no ideas, but at least I destroyed a couple of hacked applications from my machine :-)

Thanks for all the comments.

Jrv

+6
source share
1 answer

I think it is so close that I can answer. I must conclude that something in my HaskellPlatform installation was messed up, which caused the installation to fail.

When the installation was unsuccessful for the first time (for any reason), it installed some elements of the platform, but did not make it fully usable.

Finally, I deleted all traces (as far as I could tell) of HakellPlatform, cabal and GHC from my computer. After that, I rebooted HP and reinstalled it successfully.

So far, the new installation is _did_not_fail_ and is working fine.

Thanks to everyone who commented. I learned a lot.

+1
source

Source: https://habr.com/ru/post/891776/


All Articles