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?-KarlOn Thu, Mar 28, 2013 at 9:37 AM, Josh Stratton <strattonbrazil@gmail.com> wrote:_______________________________________________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.
atlas => ./configure --prefix=/opt/ghcchecking for path to top of build tree... /tmp/ghc-7.6.2Build platform inferred as: x86_64-unknown-linuxHost platform inferred as: x86_64-unknown-linuxTarget platform inferred as: x86_64-unknown-linuxGHC build : x86_64-unknown-linuxGHC host : x86_64-unknown-linuxGHC target : x86_64-unknown-linuxchecking for perl... /rel/map/generic-2012.18.last/bin/perlchecking if your perl works in shell scripts... yeschecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking for gsed... sedchecking for gcc... /usr/bin/gccchecking for gcc... /usr/bin/gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether /usr/bin/gcc accepts -g... yeschecking for /usr/bin/gcc option to accept ISO C89... none neededchecking version of gcc... 4.4.6checking how to run the C preprocessor... /usr/bin/gcc -Echecking whether ld understands --hash-size=31...checking whether ld understands --reduce-memory-overheads...checking for extra options to pass gcc when compiling via C... -fwrapvchecking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... donechecking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... donechecking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... donechecking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... donechecking for .subsections_via_symbols... nochecking whether your assembler supports .ident directive... yeschecking for GNU non-executable stack support... yeschecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking size of void *... 8checking for ar... /usr/bin/archecking whether /usr/bin/ar is GNU ar... yeschecking for ar arguments... qchecking whether ranlib is needed... noconfigure: creating ./config.statusconfig.status: creating settingsconfig.status: creating mk/config.mkconfig.status: creating mk/install.mk****************************************************Configuration done, ready to 'make install'(see README and INSTALL files for more info.)****************************************************atlas => make installmake -r --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YESghc.mk:122: *** Please run ./configure first. Stop.make: *** [install] Error 2
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners