From: <cod...@go...> - 2008-10-28 19:51:02
|
Issue 7: HOC build errors http://code.google.com/p/hoc/issues/detail?id=7 New issue report by rzilibow...@yahoo.com.au: What steps will reproduce the problem? 1. check out hoc using svn 2. cd to the directory hoc 3. run autogen.sh; configure; make Below is the output from make that includes the errors. I'm trying to build HOC on Mac OS 10.5 on an Intel iMac using GHC 6.8.3. for dir in HOC_cbits HOC InterfaceGenerator InterfaceGenerator2 Bindings Foundation AppKit Tools docs ; do (cd $dir; echo "In directory $dir"; make all) done In directory HOC_cbits make[1]: Nothing to be done for `all'. In directory HOC make[1]: Nothing to be done for `all'. In directory InterfaceGenerator make[1]: Nothing to be done for `all'. In directory InterfaceGenerator2 mkdir -p build ghc --make Main.hs \ -odir build -hidir build \ -package-conf ../inplace.conf \ -o hoc-ifgen Headers.hs:26:7: Could not find module `Text.Parsec': Use -v to see a list of the files searched for. make[1]: *** [hoc-ifgen] Error 1 In directory Bindings make[1]: Nothing to be done for `all'. In directory Foundation ln -sf ../Bindings/ifgen-output/Foundation.hs . ln -sf ../Bindings/ifgen-output/Foundation . test ! -d ../Bindings/ifgen-output/GNUstepBase || \ ln -sf ../Bindings/ifgen-output/GNUstepBase . test ! -r ../Bindings/ifgen-output/GNUstepBase.hs || \ ln -sf ../Bindings/ifgen-output/GNUstepBase.hs . mkdir -p build/objects mkdir -p build/imports ghc --make Foundation.hs \ -O -fasm \ -odir build/objects \ -package-name Foundation \ -hidir build/imports \ -package-conf ../inplace.conf \ -fglasgow-exts -fth\ -package unix \ [ 1 of 221] Compiling Foundation.FoundationErrors.Forward ( Foundation/FoundationErrors/Forward.hs, build/objects/Foundation/FoundationErrors/Forward.o ) Loading package base ... linking ... done. Loading package old-locale-1.0.0.0 ... linking ... done. Loading package old-time-1.0.0.0 ... linking ... done. Loading package filepath-1.1.0.0 ... linking ... done. Loading package directory-1.0.0.1 ... linking ... done. Loading package unix-2.3.0.1 ... linking ... done. Loading package pretty-1.0.0.0 ... linking ... done. Loading package array-0.1.0.0 ... linking ... done. Loading package packedstring-0.1.0.0 ... linking ... done. Loading package containers-0.1.0.2 ... linking ... done. Loading package template-haskell ... linking ... done. ghc-6.8.3: ../HOC/HOC.o: unknown symbol `___stginit_mtlzm1zi1zi0zi1_ControlziMonadziState_' Loading package HOC ... linking ... ghc-6.8.3: unable to load package `HOC' make[1]: *** [ghcmake.build-stamp] Error 1 In directory AppKit ln -sf ../Bindings/ifgen-output/Cocoa.hs . ln -sf ../Bindings/ifgen-output/AppKit.hs . ln -sf ../Bindings/ifgen-output/AppKit . test ! -d ../Bindings/ifgen-output/GNUstepGUI || \ ln -sf ../Bindings/ifgen-output/GNUstepGUI . test ! -r ../Bindings/ifgen-output/GNUstepGUI.hs || \ ln -sf ../Bindings/ifgen-output/GNUstepGUI.hs . mkdir -p build/objects mkdir -p build/imports ghc --make AppKit.hs \ -O -fasm \ -package-name AppKit \ -odir build/objects \ -hidir build/imports \ -package-conf ../inplace.conf \ -fglasgow-exts -fth \ -package unix \ AppKit/NSTokenField.hs:122:7: Could not find module `Foundation.NSObject.Forward': Use -v to see a list of the files searched for. make[1]: *** [ghcmake.build-stamp] Error 1 In directory Tools mkdir -p build/hocwrap ghc --make HOCWrap.hs \ -fglasgow-exts \ -o hocwrap \ -odir build/hocwrap -hidir build/hocwrap \ -package-conf ../inplace.conf HOCWrap.hs:24:7: Could not find module `Foundation.NSObject': Use -v to see a list of the files searched for. make[1]: *** [hocwrap] Error 1 In directory docs make[1]: Nothing to be done for `all'. Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings |