From 9c9a4d2b3c41546fc7995b106181ef4f987f4281 Mon Sep 17 00:00:00 2001 From: Harald Steinlechner Date: Fri, 24 Aug 2012 11:21:46 +0200 Subject: [PATCH] hs-boehmgc/buildsystem: rm of tempdir after cabal install caused problems with foreign libs (libgc not found during linking); this occurs due to linking with mate - altough cabal Setup.hs patches correct extra-library-dirs these dirs dont exist after build; there are two possible fixes: - ship hs-boehmgc with libgc - patch cabal install dirs into cabal file in Setup.hs --- .gitignore | 1 + tools/installhaskellenv.sh | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a4c62b8..d48b83d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ tags *.o-boot dist *.jar +tools/hs-boehmgc diff --git a/tools/installhaskellenv.sh b/tools/installhaskellenv.sh index 5bbe991..ea663de 100755 --- a/tools/installhaskellenv.sh +++ b/tools/installhaskellenv.sh @@ -15,13 +15,12 @@ function gitinstall { #my Setup.hs - as workaround i invoke runhaskell Setup.hs etc directly function gitinstallWithCustomSetup { url=$1 - git clone $url tmprepo - cd tmprepo + git clone $url hs-boehmgc + cd hs-boehmgc runhaskell Setup.hs configure --user $CABAL_OPT runhaskell Setup.hs build runhaskell Setup.hs install cd .. - rm -rf tmprepo } rm -rf ~/.ghc ~/.cabal -- 2.25.1