You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(2) |
Oct
(5) |
Nov
|
Dec
|
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2008 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(3) |
Aug
(18) |
Sep
(8) |
Oct
(5) |
Nov
(1) |
Dec
(14) |
2009 |
Jan
(9) |
Feb
(7) |
Mar
(6) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(23) |
Sep
(9) |
Oct
|
Nov
|
Dec
(1) |
2010 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: <cod...@go...> - 2009-08-11 18:14:46
|
Updates: Status: WontFix Comment #5 on issue 7 by wolfgang...@gmx.net: HOC build errors http://code.google.com/p/hoc/issues/detail?id=7 The autoconf/make based build system is being retired, so I am closing this as WontFix. For the cabal-based build, see issue #12. -- 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 |
From: <cod...@go...> - 2009-08-11 17:22:00
|
Updates: Status: Fixed Comment #3 on issue 10 by wolfgang...@gmx.net: Build error: Ambiguous type variable in HOC.Exception http://code.google.com/p/hoc/issues/detail?id=10 (No comment was entered for this change.) -- 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 |
From: <cod...@go...> - 2009-08-11 17:16:53
|
Updates: Status: Invalid Comment #4 on issue 15 by wolfgang...@gmx.net: nil class objects http://code.google.com/p/hoc/issues/detail?id=15 Closing this issue as invalid as no one has objected to my theory. -- 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 |
From: <cod...@go...> - 2009-06-06 21:00:27
|
Comment #5 on issue 14 by kre...@snoize.com: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 Here's everything I needed to build HOC and (most of) the examples. ghc 6.10.1, OS X 10.5.7. cabal install parsec-3.0.0 cabal install fgl svn checkout http://hoc.googlecode.com/svn/trunk/ hoc-read-only cd hoc-read-only/hoc sed -i.orig -e "/c-sources/d" HOC.cabal sed -i.orig -e "s/Flag base/Flag base4/" InterfaceGenerator2/Output.hs cabal configure cabal build -v2 | grep '\(ar\|ld\) ' | grep -v 'build ' | sed 's,$, dist/build/HOC_cbits.o,;s,\.o\.tmp,.o,' | sh cabal copy cabal register cd Bindings sh ./make-bindings-macos.sh --user cd ../Tools cabal configure cabal build cabal copy cd .. # To get the samples to work: ./autogen.sh ./configure cd Samples/UniqSort sed -i.orig -e "s/import Foundation$/import Foundation hiding \(main\)/" UniqSort.hs make # To run: ./uniqsort foo bar blatz cd ../Editor sed -i.orig -e $'6a\\\nimport Foundation' HaskellDocument.hs sed -i.orig -e "s/hocwrap/hoc-wrap/" Makefile make # To run: open ./Editor.app cd ../ExpressionParser sed -i.orig -e "s/hocwrap/hoc-wrap/" Makefile make # To run: open ./ExpressionParser.app cd ../Browser sed -i.orig -e "s/hocwrap/hoc-wrap/" Makefile make # Results in error. Don't know how to fix this. # TVUtilities.hs:64:2: # Couldn't match expected type `NewlyAllocated # (SimpleTVDataSource ())' # against inferred type `ID (NSObject_ (SimpleTVDataSource_ ()))' # Expected type: NewlyAllocated (SimpleTVDataSource ()) # Inferred type: SimpleTVDataSource () # make: *** [Browser] Error 1 -- 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 |
From: <cod...@go...> - 2009-03-29 09:56:16
|
Comment #4 on issue 14 by tom.davie: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 Success... $ cat > my_ghc if [ "$*" = "-I/usr/include/ffi -package HUnit-1.2.0.3 -package base-4.0.0.0 -package bytestring-0.9.1.4 - package containers-0.2.0.0 -package directory-1.0.0.2 -package fgl-5.4.2.2 -package filepath-1.1.0.1 - package mtl-1.1.0.2 -package old-time-1.0.0.1 -package parsec-3.0.0 -package pretty-1.0.1.0 -package syb-0.1.0.0 -package template-haskell-2.3.0.0 -package unix-2.3.1.0 -optc-O2 -odir dist/build -c HOC_cbits.o" ]; then exit 0 else ghc $* fi $ runhaskell Setup.hs configure -fbase4 -fObjC2 --with-ghc=<build-dir>/trunk/hoc/my_ghc --with-ghc- pkg=`which ghc-pkg` $ runhaskell Setup.hs build $ sudo runhaskell Setup.hs install $ cd Bindings $ sudo sh make-bindings-macos.sh -fbase4 Many many thanks to ehird for getting this working -- 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 |
From: <cod...@go...> - 2009-03-27 06:16:48
|
Comment #3 on issue 14 by kazuya: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 See also Issue 12. -- 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 |
From: <cod...@go...> - 2009-03-25 21:54:16
|
Comment #2 on issue 14 by andrew.webb: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 I have this same problem. I have tried installing using both configure/make/make install, and using the cabal installation and neither of these work. Is there any estimation on when this will be sorted? Or, is there any work around that will get me up and running? Thanks. -- 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 |
From: <cod...@go...> - 2009-03-18 17:08:09
|
Comment #9 on issue 12 by richa...@richardg.name: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 Sure thing. I have some time I can devote to it this weekend. Can you set me as the owner of the bug? -- 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 |
From: <cod...@go...> - 2009-03-15 21:43:14
|
Comment #8 on issue 12 by kazuya: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 Here is the bug ticket on cabal side: http://hackage.haskell.org/trac/hackage/ticket/188 I cannot find time to dig into it and am glad if you make it. -- 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 |
From: <cod...@go...> - 2009-03-15 07:59:26
|
Comment #7 on issue 12 by richa...@richardg.name: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 Is anyone working on the Cabal files for this? If not, I'm glad to take it on; I've got a bit of experience working with custom hooks. -- 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 |
From: <cod...@go...> - 2009-02-20 04:37:19
|
Comment #4 on issue 7 by konn.jinro: HOC build errors http://code.google.com/p/hoc/issues/detail?id=7 Hello. In my environment (iBook G4, OSX 10.5.6, GHC 6.10.1), building phase fails in another way. 1. Check out from svn 2. cd hoc-read-only/hoc/ 3. ln -s ../libffi ./libffi-src 4. Modify HOC.Exception (change "import Control.Exception" to "import Control.OldException") 5. ./autogen.sh && ./configure && make Then, it seems to be successful until "[27 of 31] Compiling HOC.Utilities ( HOC/Utilities.hs, build/objects/HOC/Utilities.o )". But when start compiling "HOC.StdArgumentTypes", fails with following messages. [28 of 31] Compiling HOC.StdArgumentTypes ( HOC/StdArgumentTypes.hs, build/objects/HOC/StdArgumentTypes.o ) Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. Loading package unix-2.3.1.0 ... linking ... done. GHCi runtime linker: fatal error: I found a duplicate definition for symbol _ffi_call whilst processing object file ../HOC_cbits/HOC_cbits.o This could be caused by: * Loading two different object files which export the same symbol * Specifying the same object file twice on the GHCi command line * An incorrect `package.conf' entry, causing some object to be loaded twice. GHCi cannot safely continue in this situation. Exiting now. Sorry. make[1]: *** [ghcmake.build-stamp] Error 1 In directory InterfaceGenerator mkdir -p build ghc --make Main.hs \ -fPIC \ -odir build -hidir build \ -package-conf ../inplace.conf \ -o ifgen ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [ifgen] Error 1 In directory InterfaceGenerator2 mkdir -p build ghc --make Main.hs \ -odir build -hidir build \ -package-conf ../inplace.conf \ -o hoc-ifgen ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [hoc-ifgen] Error 1 In directory Bindings ../InterfaceGenerator/ifgen make[1]: ../InterfaceGenerator/ifgen: Command not found make[1]: *** [ifgen-output/Foundation.hs] Error 127 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 \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead ../inplace.conf: openBinaryFile: does not exist (No such file or directory) 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 \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead ../inplace.conf: openBinaryFile: does not exist (No such file or directory) 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 ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [hocwrap] Error 1 In directory docs pod2html \ --index \ --header \ --title="HOC: a Haskell to Objective-C bridge" \ --outfile "HOC.html" \ Introduction.pod Quick_Start.pod Mapping_Types.pod Accessing_Other_Frameworks.pod Creating_an_Objective-C_Class_in_Haskell.pod Tools.pod Appendices.pod -- 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 |
From: <cod...@go...> - 2009-02-14 13:46:02
|
Comment #3 on issue 7 by kazuya: HOC build errors http://code.google.com/p/hoc/issues/detail?id=7 Oops, my case is exactly Issue 14. -- 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 |
From: <cod...@go...> - 2009-02-14 13:10:58
|
Comment #3 on issue 15 by wolfgang...@gmx.net: nil class objects http://code.google.com/p/hoc/issues/detail?id=15 I don't see a call to initialize_Test in your first example. Using the class objects before initializing the class would result in the class objects being nil. As for your comment #2: you cannot access Objective-C instance variables via HOC. You cannot even declare them, except when you are using exportClass to export the class from Haskell. -- 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 |
From: <cod...@go...> - 2009-02-12 16:09:25
|
Comment #2 on issue 7 by kazuya: HOC build errors http://code.google.com/p/hoc/issues/detail?id=7 Build fails differently on my MacBook with Mac OS X 10.5.6, GHC 6.10.1: 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 mkdir -p build/objects mkdir -p build/imports ghc --make HOC.hs \ -O -fasm \ -fPIC \ -odir build/objects -hidir build/imports \ -fglasgow-exts -fth \ -lobjc \ ../HOC_cbits/HOC_cbits.o \ -I../HOC_cbits \ -I/usr/include/ffi \ -lffi \ -package-name HOC \ -package unix \ \ -framework Foundation \ \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead HOC/CStruct.hs:1:11: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead HOC/THDebug.hs:1:11: Warning: -fno-monomorphism-restriction is deprecated: use -XNoMonomorphismRestriction or pragma {-# LANGUAGE NoMonomorphismRestriction#-} instead [13 of 31] Compiling HOC.Exception ( HOC/Exception.hs, build/objects/HOC/Exception.o ) HOC/Exception.hs:8:60: Module `Control.Exception' does not export `throwDyn' HOC/Exception.hs:8:70: Module `Control.Exception' does not export `catchDyn' make[1]: *** [ghcmake.build-stamp] Error 1 In directory InterfaceGenerator mkdir -p build ghc --make Main.hs \ -fPIC \ -odir build -hidir build \ -package-conf ../inplace.conf \ -o ifgen ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [ifgen] Error 1 In directory InterfaceGenerator2 mkdir -p build ghc --make Main.hs \ -odir build -hidir build \ -package-conf ../inplace.conf \ -o hoc-ifgen ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [hoc-ifgen] Error 1 In directory Bindings ../InterfaceGenerator/ifgen make[1]: ../InterfaceGenerator/ifgen: Command not found make[1]: *** [ifgen-output/Foundation.hs] Error 127 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 \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead ../inplace.conf: openBinaryFile: does not exist (No such file or directory) 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 \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead ../inplace.conf: openBinaryFile: does not exist (No such file or directory) 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 ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [hocwrap] Error 1 In directory docs make[1]: Nothing to be done for `all'. -- 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 |
From: <cod...@go...> - 2009-02-04 08:35:16
|
Comment #2 on issue 15 by jedahu: nil class objects http://code.google.com/p/hoc/issues/detail?id=15 If I create a cocoa framework with Test.h and Test.c, and test using 'ghci -framework <TestFW>' then '_Test /= nil' and '_Test # alloc >>= init' work fine. If however, Test.h and Test.hs refer to an instance variable 'id anything', getting or setting this IVar raises an error: Test> x <- _Test # alloc >>= init Test> a <- _NSArray # array Test> x # setIVar _anything a *** Exception: Prelude.head: empty list I dug through HOC.ExportClass and it appears the error comes from an application of 'head' in 'getInstanceVariablesForObject'. It seems I can't get much to work today. Am I doing something completely wrong? Jeremy -- 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 |
From: <cod...@go...> - 2009-02-04 01:03:35
|
Comment #1 on issue 15 by debjhughes: nil class objects http://code.google.com/p/hoc/issues/detail?id=15 I neglected to mention that this is with ghc 6.10.1 and the latest cvs hoc. -- 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 |
From: <cod...@go...> - 2009-02-03 08:38:17
|
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 15 by jedahu: nil class objects http://code.google.com/p/hoc/issues/detail?id=15 I cannot instantiate any objective-c classes I create in haskell. Their class objects always equal nil. Trivial example... > module Test where > import Cocoa > $(declareClass "Test" "NSObject") > $(exportClass "Test" "test_" []) Test> _Test == nil True Test> _Test # alloc *** Exception: user error (Message sent to nil: alloc) Oddly enough, any haskell-created classes work fine when instantiated through Interface Builder. -- 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 |
From: <cod...@go...> - 2009-01-31 20:13:33
|
Comment #1 on issue 14 by tom.davie: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 Oops sorry, didn't see there was a cabal file there now, perhaps BUILDING.CVS needs updated ;) Still no success building with cabal: ... [30 of 31] Compiling HOC.CStruct ( HOC/HOC/CStruct.hs, dist/build/HOC/CStruct.o ) [31 of 31] Compiling HOC ( HOC/HOC.hs, dist/build/HOC.o ) Warning: the following files would be used as linker inputs, but linking is not being done: HOC_cbits.o ghc: no input files Usage: For basic information, try the `--help' option. -- 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 |
From: <cod...@go...> - 2009-01-31 20:08:33
|
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 14 by tom.davie: HoC does not build http://code.google.com/p/hoc/issues/detail?id=14 What steps will reproduce the problem? 1. Check out source from svn 2. cd hoc-read-only/hoc 3. ./autogen.sh 4. ./configure 5. make What is the expected output? What do you see instead? Expected: make to work Actual: ... ghc --make AppKit.hs \ -O -fasm \ -package-name AppKit \ -odir build/objects \ -hidir build/imports \ -package-conf ../inplace.conf \ -fglasgow-exts -fth \ -package unix \ on the commandline: Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell#-} instead ../inplace.conf: openBinaryFile: does not exist (No such file or directory) 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 ../inplace.conf: openBinaryFile: does not exist (No such file or directory) make[1]: *** [hocwrap] Error 1 In directory docs pod2html \ --index \ --header \ --title="HOC: a Haskell to Objective-C bridge" \ --outfile "HOC.html" \ Introduction.pod Quick_Start.pod Mapping_Types.pod Accessing_Other_Frameworks.pod Creating_an_Objective-C_Class_in_Haskell.pod Tools.pod Appendices.pod What version of the product are you using? On what operating system? hoc: latest svn ghc: 6.10.1 OS X: 10.5.6 -- 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 |
From: <cod...@go...> - 2009-01-28 13:45:18
|
Comment #6 on issue 12 by grddev: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 If you remove the c-sources line, then the following lines automatically build HOC using cabal (at least for me). cabal configure cabal build -v2 | grep '\(ar\|ld\) ' | grep -v 'build ' | sed 's,$, dist/build/HOC_cbits.o,;s,\.o\.tmp,.o,' | sh cabal copy cabal register -- 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 |
From: <cod...@go...> - 2009-01-27 06:45:22
|
Comment #5 on issue 12 by kevinwvfowler: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 I'm trying to build from svn. $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 $ system_profiler ... System Version: Mac OS X 10.5.6 (9G55) Kernel Version: Darwin 9.6.0 ... When I try to $ autogen.sh $ ./configure $ make && make install I get: + Control.Exception errors (because of base 4.0) + linkage errors (HOC_cbits.o not used because not linking or something) The attached patch lets me build with base 4.0.0 (using Control.OldExceptions) with some hand-tweaking of libHOC_cbits.dylib: $ ./configure OBJCFLAGS='-arch i686' CFLAGS='-arch i686' LDFLAGS='-arch i686' --with-dynamic-haskell CFLAGS='-fpic -dynamic' OBJCFLAGS='-fpic -dynamic' LDFLAGS='-fpic -dynamic -read_only_relocs suppress' $ make (will build HOC_cbits and HOC, then fail) copy libHOC_cbits.dylib to ~/.cabal/lib (or elsewhere in my ghc-pkg config library path) $ cabal configure && cabal build && cabal install (make sure HOC_cbits is an extra library in ghc-pkg's HOC package descriptor) $ cd Bindings $ sh ./make-bindings-macos.sh $ ghc-pkg list /Users/kfowler/.ghc/i386-darwin-6.10.1/package.conf: EdisonAPI-1.2.1, EdisonCore-1.2.1.3, GLUT-2.1.1.2, GoogleChart-0.2, HAppS-Data-0.9.3, HAppS-IxSet-0.9.3, HAppS-Server-0.9.3.1, HAppS-State-0.9.3, HAppS-Util-0.9.3, HDBC-1.1.6, HDBC-postgresql-1.1.6.0, HDBC-sqlite3-1.1.6.0, HGL-3.2.0.0, HJavaScript-0.4.4, HOC-1.0, HOC-AppKit-1.0, HOC-Cocoa-1.0, HOC-CoreData-1.0, HOC-Foundation-1.0, HOC-QuartzCore-1.0, HTTP-3001.1.3, HTTP-4000.0.1, HTTP-4000.0.3, HTTP-4000.0.4, HaXml-1.13.3, HaXml-1.19.4, MemoTrie-0.4.1, MemoTrie-0.4.3, MonadRandom-0.1.3, OpenAL-1.3.1.1, OpenGL-2.2.1.1, SDL-0.5.4, Stream-0.2.6, TypeCompose-0.6.3, TypeCompose-0.6.4, Vec-0.9.5, Attachments: 0001-enough-to-get-HOC_bits-HOC-hoc-ifgen-and-bindings.patch 8.1 KB -- 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 |
From: <cod...@go...> - 2009-01-13 16:56:57
|
Comment #4 on issue 12 by james.c...@usma.edu: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 You'll also need to pull the latest update to the interface generator (pushed a few seconds ago) to be able to build the bindings. All it does is makes sure the generated cabal files have "<4" in their "base" dependency. -- 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 |
From: <cod...@go...> - 2009-01-13 14:31:42
|
Comment #3 on issue 12 by james.c...@usma.edu: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 There are 2 ways I've found to achieve that goal. One is to run 'cabal build -v' with the modified HOC.cabal (no c-sources line), noting the 'ld' and 'ar' commands executed, copying, pasting and adding dist/build/HOC_cbits.o to both commands. Then mv dist/build/HSHOC- 1.0.o.tmp dist/build/HSHOC-1.0.o before running cabal install. Another solution I came up with is to (temporarily!) modify the ghc script ($prefix/bin/ghc) - removing the 'exec' from the last line and adding 'true' on the line after, so that no matter what happens inside GHC it reports success to cabal. Then, just build with an unmodified HOC.cabal (ie, with the c-sources line). Obviously, neither of these is a "good" solution, but they both seem to work. -- 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 |
From: <cod...@go...> - 2009-01-13 00:48:42
|
Comment #2 on issue 12 by itsjdh: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 I'm attempting the second workaround (using ghc 6.10.1). What am I doing wrong? $ ghc -package template-haskell -package base-3.0.3.0 -package unix -package mtl \ -framework Foundation HOC_cbits.o HSHOC-1.0.o libHSHOC-1.0.a Undefined symbols: "_ZCMain_main_closure", referenced from: _ZCMain_main_closure$non_lazy_ptr in libHSrts.a(Main.o) "___stginit_ZCMain", referenced from: ___stginit_ZCMain$non_lazy_ptr in libHSrts.a(Main.o) ld: symbol(s) not found collect2: ld returned 1 exit status -- 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 |
From: <cod...@go...> - 2009-01-10 00:57:24
|
Comment #1 on issue 11 by james.c...@usma.edu: Do not completely override retain/release http://code.google.com/p/hoc/issues/detail?id=11 Haven't heard anything on this, so I'm going ahead and pushing to the objc2 branch for now. For the record, I know that I've made a bit of an unreadable mess of HOC.ID.importArgument' - I've tried a couple times at cleaning it up, but haven't found a version I like yet. -- 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 |