<div dir="ltr">Redhat Enterprise 6. </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 9:26 AM, Hollister Herhold <span dir="ltr"><<a href="mailto:hollister@fafoh.com" target="_blank">hollister@fafoh.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>What distro are you running? </div><div><div class="h5"><div><br>
</div><br><div><div>On Apr 2, 2013, at 11:16 AM, Josh Stratton wrote:</div><br><blockquote type="cite"><div dir="ltr">Downloading the platform, it says it needs to have ghc already installed. Am I really the only one hitting this issue? <div>
<br></div><div>It's erroring out here...<br><div><br></div><div><div>ifeq "$(findstring clean,$(MAKECMDGOALS))" ""</div>
<div>include mk/<a href="http://config.mk/" target="_blank">config.mk</a></div><div>ifeq "$(ProjectVersion)" ""</div><div>$(error Please run ./configure first)</div><div>endif</div><div>endif</div></div>
</div><div><br>
</div><div>But I don't where this ProjectVersion is being set...</div><div><br></div><div><div>> grep ProjectVersion *</div><div>ghc.mk:ifeq "$(ProjectVersion)" ""</div><div>ghc.mk:SRC_DIST_BASE_NAME = ghc-$(ProjectVersion)</div>
<div>ghc.mk:SRC_DIST_GHC_NAME = ghc-$(ProjectVersion)-src</div><div>ghc.mk:SRC_DIST_TESTSUITE_NAME = ghc-$(ProjectVersion)-testsuite</div><div><a href="http://ghc.mk/" target="_blank">ghc.mk</a>:<span style="white-space:pre-wrap">        </span>echo $(ProjectVersion) >VERSION</div>
<div><a href="http://ghc.mk/" target="_blank">ghc.mk</a>:<span style="white-space:pre-wrap">        </span>tar tjf $(SRC_DIST_GHC_TARBALL) | sed "s|^ghc-$(ProjectVersion)/||" | sort >sdist-manifest</div><div>ghc.mk:SRC_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt)</div>
<div>Makefile:ifeq "$(ProjectVersion)" ""</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 29, 2013 at 5:38 AM, Hollister Herhold <span dir="ltr"><<a href="mailto:hollister@fafoh.com" target="_blank">hollister@fafoh.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>(Coming from a Haskell newbie who has both used the Haskell Platform and built ghc from scratch-)</div>
<div><br></div><div>You want the Haskell Platform. It comes with a bunch of useful libraries in addition to ghc. If you're a beginner, it will do everything you need for quite a while.</div><div><br></div><div>Once you get used to using ghc and cabal and such, you can "upgrade" to the latest ghc (or the development head, if you're a bleeding-edge kind of person).</div>
<div><div><div><br></div><div><br></div><br><div><div>On Mar 29, 2013, at 7:31 AM, Josh Stratton wrote:</div><br><blockquote type="cite"><div dir="ltr">Maybe I'm confused, but I did download the binary package. That's the one I can't install. I downloaded the binary package and followed the steps in the INSTALL file which included running the configure step (with an optional prefix) and "make install". I don't think it's actually building ghc. I can try the haskell platform to see what happens. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 29, 2013 at 12:05 AM, Karl Voelker <span dir="ltr"><<a href="mailto:ktvoelker@gmail.com" target="_blank">ktvoelker@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">This isn't exactly an answer to your question, but have you considered using the Haskell Platform (which is recommended for most purposes) or a GHC binary package?<div>
<br></div><div><a href="http://www.haskell.org/platform/" target="_blank">http://www.haskell.org/platform/</a><br>
</div><div><a href="http://www.haskell.org/ghc/download_ghc_7_6_2#binaries" target="_blank">http://www.haskell.org/ghc/download_ghc_7_6_2#binaries</a><br></div><div><br></div><div>-Karl</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>
On Thu, Mar 28, 2013 at 9:37 AM, Josh Stratton <span dir="ltr"><<a href="mailto:strattonbrazil@gmail.com" target="_blank">strattonbrazil@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>
<div dir="ltr">I recently downloaded the ghc distribution for Linux (x86_64) and had difficulty installing to my machine. The configure step seems to have completed successfully, but when I run the followup "make install", it fails suggesting that I haven't run the configure command yet. <br>
<div><br></div><div><div>atlas => ./configure --prefix=/opt/ghc</div><div>checking for path to top of build tree... /tmp/ghc-7.6.2</div><div>Build platform inferred as: x86_64-unknown-linux</div><div>Host platform inferred as: x86_64-unknown-linux</div>
<div>Target platform inferred as: x86_64-unknown-linux</div><div>GHC build : x86_64-unknown-linux</div><div>GHC host : x86_64-unknown-linux</div><div>GHC target : x86_64-unknown-linux</div><div>checking for perl... /rel/map/generic-2012.18.last/bin/perl</div>
<div>checking if your perl works in shell scripts... yes</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether ln -s works... yes</div><div>checking for gsed... sed</div><div>checking for gcc... /usr/bin/gcc</div>
<div>checking for gcc... /usr/bin/gcc</div><div>checking whether the C compiler works... yes</div><div>checking for C compiler default output file name... a.out</div><div>checking for suffix of executables... </div><div>
checking whether we are cross compiling... no</div>
<div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether /usr/bin/gcc accepts -g... yes</div><div>checking for /usr/bin/gcc option to accept ISO C89... none needed</div>
<div>checking version of gcc... 4.4.6</div><div>checking how to run the C preprocessor... /usr/bin/gcc -E</div><div>checking whether ld understands --hash-size=31... </div><div>checking whether ld understands --reduce-memory-overheads... </div>
<div>checking for extra options to pass gcc when compiling via C... -fwrapv</div><div>checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done</div><div>checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done</div>
<div>checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done</div><div>checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done</div>
<div>checking for .subsections_via_symbols... no</div><div>checking whether your assembler supports .ident directive... yes</div><div>checking for GNU non-executable stack support... yes</div><div>checking for grep that handles long lines and -e... /bin/grep</div>
<div>checking for egrep... /bin/grep -E</div><div>checking for ANSI C header files... yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>
checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... yes</div><div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div>
<div>checking size of void *... 8</div><div>checking for ar... /usr/bin/ar</div><div>checking whether /usr/bin/ar is GNU ar... yes</div><div>checking for ar arguments... q</div><div>checking whether ranlib is needed... no</div>
<div>configure: creating ./config.status</div><div>config.status: creating settings</div><div>config.status: creating mk/<a href="http://config.mk/" target="_blank">config.mk</a></div><div>config.status: creating mk/<a href="http://install.mk/" target="_blank">install.mk</a></div>
<div>****************************************************</div><div>Configuration done, ready to 'make install'</div><div>(see README and INSTALL files for more info.)</div><div>****************************************************</div>
<div> atlas => make install</div><div>make -r --no-print-directory -f <a href="http://ghc.mk/" target="_blank">ghc.mk</a> install BINDIST=YES NO_INCLUDE_DEPS=YES</div>
<div><a href="http://ghc.mk:122/" target="_blank">ghc.mk:122</a>: *** Please run ./configure first. Stop.</div><div>make: *** [install] Error 2</div></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>