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