building ghc 6.4 from source on unstable debian fails make
install
Simon Marlow
simonmar at microsoft.com
Wed May 4 06:54:53 EDT 2005
It looks like you didn't do 'make' first. GHC requires 'make' or 'make
all' before 'make install'.
Cheers,
Simon
On 03 May 2005 15:46, Terrence Brannon wrote:
> terry at Abulafia:~/wares/ghc-6.4$ make install
> make[1]: Entering directory `/home/terry/wares/ghc-6.4/ghc'
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in includes lib utils
> driver docs compiler rts ...
> PWD = /home/terry/wares/ghc-6.4/ghc
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/includes
>
------------------------------------------------------------------------
> for i in Block.h Bytecodes.h ClosureMacros.h ClosureTypes.h
> Closures.h Cmm.h Constants.h DNInvoke.h DerivedConstants.h
Dotnet.h
> GHCConstants.h GranSim.h Hooks.h HsFFI.h InfoTables.h Linker.h
> Liveness.h MachDeps.h MachRegs.h Parallel.h Regs.h Rts.h RtsAPI.h
> RtsConfig.h RtsExternal.h RtsFlags.h RtsMessages.h RtsTypes.h SMP.h
> STM.h SchedAPI.h Signals.h Stable.h Stg.h StgDLL.h StgFun.h
> StgLdvProf.h StgMiscClosures.h StgProf.h StgTicky.h StgTypes.h
> Storage.h TSO.h TailCalls.h Updates.h config.h ghcautoconf.h
> ghcconfig.h ghcplatform.h ieee-flpt.h gmp.h ghcautoconf.h
> ghcplatform.h; do \ /usr/bin/install -c -m 644 $i
> /home/terry/tmp/lib/ghc-6.4/include; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/lib
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in compat ...
> PWD = /home/terry/wares/ghc-6.4/ghc/lib
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/lib/compat
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ===fptools== Finished making `install' in compat ...
> PWD = /home/terry/wares/ghc-6.4/ghc/lib
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/utils
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in hasktags ghc-pkg hp2ps
> hsc2hs parallel stat2resid prof unlit genprimopcode genapply runghc
> ...
> PWD = /home/terry/wares/ghc-6.4/ghc/utils
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/hasktags
>
------------------------------------------------------------------------
> /usr/bin/install -c -m 755 -s hasktags /home/terry/tmp/bin
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/ghc-pkg
>
------------------------------------------------------------------------
> Creating a symbolic link from ghc-pkg-6.4 to ghc-pkg in
> /home/terry/tmp/bin
> for i in ghc-pkg-6.4; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
> for i in ghc-pkg.bin; do \
> /usr/bin/install -c -m 755 -s $i /home/terry/tmp/lib/ghc-6.4;
\
> if test "" = "1"; then \
> sh ../../../mk/fix_install_names.sh
> /home/terry/tmp/lib/ghc-6.4
> /home/terry/tmp/lib/ghc-6.4/`basename $i` ; \ fi ; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/hp2ps
>
------------------------------------------------------------------------
> /usr/bin/install -c -m 755 -s hp2ps /home/terry/tmp/bin
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/hsc2hs
>
------------------------------------------------------------------------
> for i in hsc2hs; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
> for i in hsc2hs-bin; do \
> /usr/bin/install -c -m 755 -s $i /home/terry/tmp/lib/ghc-6.4;
\
> if test "" = "1"; then \
> sh ../../../mk/fix_install_names.sh
> /home/terry/tmp/lib/ghc-6.4
> /home/terry/tmp/lib/ghc-6.4/`basename $i` ; \ fi ; \
> done
> for i in template-hsc.h; do \
> /usr/bin/install -c -m 644 $i /home/terry/tmp/lib/ghc-6.4; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/parallel
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/stat2resid
>
------------------------------------------------------------------------
> rm -f stat2resid
> make - --no-print-directory -r INSTALLING=1 stat2resid
> rm -f stat2resid
> Creating stat2resid...
> echo "#! "/usr/bin/perl > stat2resid
> Done.
> for i in stat2resid; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
> for i in parse-gcstats.prl process-gcstats.prl ; do \
> case $i in \
> *.a) \
> /usr/bin/install -c -m 644 $i
/home/terry/tmp/lib/ghc-6.4; \
> : /home/terry/tmp/lib/ghc-6.4/`basename $i` ;; \
> *.dll) \
> /usr/bin/install -c -m 644 -s $i
/home/terry/tmp/lib/ghc-6.4
> ;; \ *.so) \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/lib/ghc-6.4
;; \
> *.dylib) \
> /usr/bin/install -c -m 755 $i
/home/terry/tmp/lib/ghc-6.4; \
> install_name_tool -id /home/terry/tmp/lib/ghc-6.4/`basename
$i`
> /home/terry/tmp/lib/ghc-6.4/`basename $i` ;; \ *) \
> /usr/bin/install -c -m 644 $i
/home/terry/tmp/lib/ghc-6.4; \
> esac; \
> done
> rm -f stat2resid
> Creating stat2resid...
> echo "#! "/usr/bin/perl > stat2resid
> Done.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/prof
>
------------------------------------------------------------------------
> for i in ghcprof; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in cgprof icons ...
> PWD = /home/terry/wares/ghc-6.4/ghc/utils/prof
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/prof/cgprof
>
------------------------------------------------------------------------
> for i in cgprof; do \
> /usr/bin/install -c -m 755 -s $i /home/terry/tmp/lib/ghc-6.4;
\
> if test "" = "1"; then \
> sh ../../../../mk/fix_install_names.sh
> /home/terry/tmp/lib/ghc-6.4
> /home/terry/tmp/lib/ghc-6.4/`basename $i` ; \ fi ; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/prof/icons
>
------------------------------------------------------------------------
> for i in absdelta.xbm absolute.xbm comm.xbm commslack.xbm comp.xbm
> compress.xbm compslack.xbm delete.xbm help.xbm hrel.xbm
> hrelslack.xbm jump.xbm mycomm.xbm oxpara.xbm percent.xbm reldelta.xbm
> sync.xbm time.xbm time1.xbm uncompress.xbm undo.xbm wait.xbm
> weightdelta.xbm; do \ /usr/bin/install -c -m 644 $i
> /home/terry/tmp/lib/ghc-6.4/icons; \
> done
>
------------------------------------------------------------------------
> ===fptools== Finished making `install' in cgprof icons ...
> PWD = /home/terry/wares/ghc-6.4/ghc/utils/prof
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/unlit
>
------------------------------------------------------------------------
> for i in unlit; do \
> /usr/bin/install -c -m 755 -s $i /home/terry/tmp/lib/ghc-6.4;
\
> if test "" = "1"; then \
> sh ../../../mk/fix_install_names.sh
> /home/terry/tmp/lib/ghc-6.4
> /home/terry/tmp/lib/ghc-6.4/`basename $i` ; \ fi ; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/genprimopcode
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/genapply
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/utils/runghc
>
------------------------------------------------------------------------
> /usr/bin/install -c -m 755 -s runghc /home/terry/tmp/bin
>
------------------------------------------------------------------------
> ===fptools== Finished making `install' in hasktags ghc-pkg hp2ps
> hsc2hs parallel stat2resid prof unlit genprimopcode genapply runghc
> ...
> PWD = /home/terry/wares/ghc-6.4/ghc/utils
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/driver
>
------------------------------------------------------------------------
> for i in package.conf ghc-usage.txt ghci-usage.txt; do \
> /usr/bin/install -c -m 644 $i /home/terry/tmp/lib/ghc-6.4; \
> done
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in mangler split ghc ghci
> ...
> PWD = /home/terry/wares/ghc-6.4/ghc/driver
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/driver/mangler
>
------------------------------------------------------------------------
> for i in ghc-asm; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/lib/ghc-6.4; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/driver/split
>
------------------------------------------------------------------------
> for i in ghc-split; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/lib/ghc-6.4; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/driver/ghc
>
------------------------------------------------------------------------
> Creating a symbolic link from ghc-6.4 to ghc in /home/terry/tmp/bin
> for i in ghc-6.4; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/driver/ghci
>
------------------------------------------------------------------------
> Creating a symbolic link from ghci-6.4 to ghci in /home/terry/tmp/bin
> for i in ghci-6.4; do \
> /usr/bin/install -c -m 755 $i /home/terry/tmp/bin; \
> done
>
------------------------------------------------------------------------
> ===fptools== Finished making `install' in mangler split ghc ghci ...
> PWD = /home/terry/wares/ghc-6.4/ghc/driver
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/docs
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ===fptools== Recursively making `install' in users_guide ext-core
> storage-mgt ...
> PWD = /home/terry/wares/ghc-6.4/ghc/docs
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/docs/users_guide
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/docs/ext-core
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ==fptools== make install - --no-print-directory -r;
> in /home/terry/wares/ghc-6.4/ghc/docs/storage-mgt
>
------------------------------------------------------------------------
> make[3]: Nothing to be done for `install'.
>
------------------------------------------------------------------------
> ===fptools== Finished making `install' in users_guide ext-core
> storage-mgt ...
> PWD = /home/terry/wares/ghc-6.4/ghc/docs
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make install -wr;
> in /home/terry/wares/ghc-6.4/ghc/compiler
>
------------------------------------------------------------------------
> ../../ghc/compiler/stage1/ghc-inplace -H16m -O -istage2/utils
> -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude
> -istage2/rename -istage2/typecheck -istage2/deSugar
> -istage2/coreSyn -istage2/specialise -istage2/simplCore
> -istage2/stranal -istage2/stgSyn -istage2/simplStg
> -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser
> -istage2/cprAnalysis -istage2/compMan -istage2/ndpFlatten
> -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci
> -Istage2 -DGHCI -package template-haskell -package readline
> -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I.
> -IcodeGen -InativeGen -Iparser -package unix -package Cabal -recomp
> -Rghc-timing -H16M '-#include "hschooks.h"' -c
> basicTypes/BasicTypes.lhs -o stage2/basicTypes/BasicTypes.o -ohi
> stage2/basicTypes/BasicTypes.hi make[2]:
> ../../ghc/compiler/stage1/ghc-inplace: Command not found
> make[2]: *** [stage2/basicTypes/BasicTypes.o] Error 127
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/home/terry/wares/ghc-6.4/ghc'
> make: *** [install] Error 1
> terry at Abulafia:~/wares/ghc-6.4$
>
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> Glasgow-haskell-bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list