I understand this isn't a Haskell Platform thing. I just uninstalled the Haskell Platform before installing the binary as I wanted to make sure I didn't have a mixture of both on my machine
Before doing the last make install I had done: ./configure --prefix=/usr/local On Mon, Nov 9, 2015 at 9:51 AM, Carter Schonwald <[email protected] > wrote: > Why were you trying to do Haskell platform things ? > This isn't a Haskell platform build. Just configure --prefix=blsh and > then make install > > > On Monday, November 9, 2015, George Colpitts <[email protected]> > wrote: > >> install into /opt works fine >> However the INSTALL file says >> >> `make show-install-setup' prints the details of where the different >> pieces of the bundle are heading when -- possibly helpful >> >> but this doesn't work: >> >> make show-install-setup >> make: *** No rule to make target `show-install-setup'. Stop. >> >> I installed in /opt as I didn't want to overwrite my current ghc. It >> would be nice if there was an uninstall target for make. >> >> I removed /opt/bin/* and /opt/lib/* as there were only ghc files there. >> Then I did an uninstall-hs (uninstall of Haskell Platform) >> Then install into the default (/usr/local) I get: >> >> /usr/bin/install -c -m 644 docs/man/ghc.1 "/usr/local/share/man/man1" >> install: /usr/local/share/man/man1/ghc.1: No such file or directory >> make[1]: *** [install_man] Error 71 >> make: *** [install] Error 2 >> >> I then did >> >> ls -l /usr/local/share/man/man1/ghc.1 >> lrwxr-xr-x 1 gcolpitts admin 81 Oct 11 17:35 >> /usr/local/share/man/man1/ghc.1 -> >> /Library/Frameworks/GHC.framework/Versions/7.10.2-x86_64/usr/share/man/man1/ghc.1 >> >> then >> >> rm /usr/local/share/man/man1/ghc.1 >> >> and then "make install" worked >> >> However cabal install hlint didn't work because it couldn't install >> text-1.2.1.3: >> >> cabal install text >> ... >> >> Data/Text.hs:203:8: >> Could not find module ‘Control.DeepSeq’ >> Perhaps you haven't installed the profiling libraries for package >> ‘deepseq-1.4.1.1@deeps_6vMKxt5sPFR0XsbRWvvq59’? >> Use -v to see a list of the files searched for. >> >> Data/Text.hs:208:8: >> Could not find module ‘Data.Char’ >> Perhaps you haven't installed the profiling libraries for package >> ‘base-4.8.2.0’? >> Use -v to see a list of the files searched for. >> >> Data/Text.hs:209:8: >> Could not find module ‘Data.Data’ >> Perhaps you haven't installed the profiling libraries for package >> ‘base-4.8.2.0’? >> Use -v to see a list of the files searched for. >> >> Data/Text.hs:211:8: >> Could not find module ‘Control.Monad’ >> Perhaps you haven't installed the profiling libraries for package >> ‘base-4.8.2.0’? >> Use -v to see a list of the files searched for. >> >> Data/Text.hs:212:8: >> Could not find module ‘Control.Monad.ST’ >> Perhaps you haven't installed the profiling libraries for package >> ‘base-4.8.2.0’? >> ... >> >> >> ghc-pkg list >> /usr/local/lib/ghc-7.10.2.20151105/package.conf.d: >> Cabal-1.22.4.0 >> array-0.5.1.0 >> base-4.8.2.0 >> bin-package-db-0.0.0.0 >> binary-0.7.5.0 >> rts-1.0 >> bytestring-0.10.6.0 >> containers-0.5.6.2 >> deepseq-1.4.1.1 >> directory-1.2.2.0 >> filepath-1.4.0.0 >> (ghc-7.10.2.20151105) >> ghc-prim-0.4.0.0 >> haskeline-0.7.2.1 >> hoopl-3.10.0.2 >> hpc-0.6.0.2 >> integer-gmp-1.0.0.0 >> pretty-1.1.2.0 >> process-1.2.3.0 >> template-haskell-2.10.0.0 >> terminfo-0.4.0.1 >> time-1.5.0.1 >> transformers-0.4.2.0 >> unix-2.7.1.0 >> xhtml-3000.2.1 >> >> ghc-pkg check >> >> Similar problems with cabal install vector >> >> >> >> On Mon, Nov 9, 2015 at 12:07 AM, Carter Schonwald < >> [email protected]> wrote: >> >>> nope, my error was a bad copy and paste :) >>> >>> heres a link to my build (uses the GCC style rts build, which should be >>> more performant than the default clang one last i checked, also has html >>> docs and should work OS X >= 10.7) >>> >>> >>> https://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unofficial/ghc-7.10.2.20151105-x86_64-apple-darwin.tar.bz2 >>> >>> (http:// also works) >>> >>> >>> shasum -a512 ghc-7.10.2.20151105-x86_64-apple-darwin.tar.bz2 >>> 003a23929a17e9d01f52ef0a9388b6af51d409eda12627b20500c820f44da1e21976a46da7a50d040072cf5243a05d8f6a4344899fe3c2d8fb3f4f101ef29dce >>> >>> >>> for those who want to check the check the sha sum >>> >>> >>> >>> On Sun, Nov 8, 2015 at 9:36 PM, George Colpitts < >>> [email protected]> wrote: >>> >>>> I get >>>> >>>> make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 >>>> make[1]: *** Waiting for unfinished jobs.... >>>> checking whether byte ordering is bigendian... no >>>> checking assembler .cfi pseudo-op support... yes >>>> checking for _ prefix in compiled symbols... yes >>>> checking whether .eh_frame section should be read-only... expr: syntax >>>> error >>>> no >>>> checking for __attribute__((visibility("hidden")))... no >>>> checking that generated files are newer than configure... done >>>> configure: creating ./config.status >>>> config.status: creating include/Makefile >>>> config.status: creating include/ffi.h >>>> config.status: creating Makefile >>>> config.status: creating testsuite/Makefile >>>> config.status: creating man/Makefile >>>> config.status: creating libffi.pc >>>> config.status: creating fficonfig.h >>>> config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h >>>> config.status: executing buildir commands >>>> config.status: create top_srcdir/Makefile guessed from local Makefile >>>> config.status: build in x86_64-apple-darwin (HOST=) >>>> config.status: executing depfiles commands >>>> config.status: executing libtool commands >>>> config.status: executing include commands >>>> config.status: executing src commands >>>> # wc on OS X has spaces in its output, which libffi's Makefile >>>> # doesn't expect, so we tweak it to sed them out >>>> mv libffi/build/Makefile libffi/build/Makefile.orig >>>> sed "s#wc -w#wc -w | sed 's/ //g'#" < libffi/build/Makefile.orig > >>>> libffi/build/Makefile >>>> "touch" libffi/stamp.ffi.static-shared.configure >>>> make: *** [all] Error 2 >>>> >>>> Is that the same error you are getting? >>>> >>>> >>>> On Sun, Nov 8, 2015 at 9:34 PM, Carter Schonwald < >>>> [email protected]> wrote: >>>> >>>>> I'm having trouble setting the make file flags to make the Mac build >>>>> use the intree gmp. I'm going to dig into this a bit more this evening. >>>>> >>>>> >>>>> On Sunday, November 8, 2015, Ben Gamari <[email protected]> wrote: >>>>> >>>>>> Ben Gamari <[email protected]> writes: >>>>>> >>>>>> > Ben Gamari <[email protected]> writes: >>>>>> > >>>>>> >> Hello everyone, >>>>>> >> >>>>>> >> We are pleased to announce the second release candidate for GHC >>>>>> 7.10.3: >>>>>> >> >>>>>> >> https://downloads.haskell.org/~ghc/7.10.3-rc2/ >>>>>> >> >>>>>> > It has been brought to my attention that the configure script in >>>>>> this >>>>>> > source tarballs is out of date. Because of this `configure` will >>>>>> > still fail on OS X. Reports suggest that there may be other issues >>>>>> > unrelated to the configure issue on OS X as well. >>>>>> > >>>>>> Further testing suggests that perhaps the only issue is the >>>>>> out-of-date >>>>>> `configure` script. Mac OS X users with `autotools` installed should >>>>>> be >>>>>> able to run `./boot` in the source tree to bring `configure` >>>>>> up-to-date, >>>>>> at which point this release candidate should be buildable. >>>>>> >>>>>> I'll cut an -rc3 with a fixed `configure` script today. >>>>>> >>>>>> Cheers, >>>>>> >>>>>> - Ben >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> ghc-devs mailing list >>>>> [email protected] >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>> >>>>> >>>> >>> >>
_______________________________________________ ghc-devs mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
