Bugs item #1364839, was opened at 2005-11-23 17:11 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1364839&group_id=8032
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build System Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: John Goerzen (jgoerzen) Assigned to: Nobody/Anonymous (nobody) Summary: ghc-pkg to build ghci libraries on install Initial Comment: This is with GHC 6.4.1. ghci is not supported on AIX. I recently tried to isntall MissingH with Cabal. I got: # ./setup install Installing: /usr/local/lib/MissingH-0.12.0 & /usr/local/bin MissingH-0.12.0... Registering MissingH-0.12.0... Reading package info from ".installed-pkg-config" ... done. building GHCi library /usr/local/lib/MissingH-0.12.0/HSMissingH-0.12.0.o...ld: 0706-027 The -x flag is ignored. ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. ghc-pkg list does not see the package after this, either. I'm not sure why Cabal seems to think it needs to build a GHCi library, and it's even more concerning that invalid flags are being given to ld. ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2005-11-28 11:11 Message: Logged In: YES user_id=48280 Cabal 1.0 (in GHC 6.4.x) invokes ghc-pkg with the --auto-ghci-libs option. Cabal 1.1.x builds the GHCi libs itself, which is much better. This should be fixed in Cabal 1.1.x, or if not, it is a bug in Cabal. I should really deprecate ghc-pkg's --auto-ghci-libs option, it was only a stopgap anyway. ---------------------------------------------------------------------- Comment By: John Goerzen (jgoerzen) Date: 2005-11-23 19:25 Message: Logged In: YES user_id=491567 After talking with Isaac Jones, he asked me to run install -v4. The last command it runs is: Registering MissingH-0.12.0... /usr/local/bin/ghc-pkg --auto-ghci-libs update .installed-pkg-config Reading package info from ".installed-pkg-config" ... done. building GHCi library /usr/local/lib/MissingH-0.12.0/HSMissingH-0.12.0.o...ld: 0706-027 The -x flag is ignored. ld: 0706-012 The -- flag is not recognized. ld: 0706-012 The -w flag is not recognized. ld: 0706-012 The -h flag is not recognized. If I manually run: /usr/local/bin/ghc-pkg update .installed-pkg-config Reading package info from ".installed-pkg-config" ... done. warning: can't find GHCi lib HSMissingH-0.12.0.o Saving old package config file... done. Writing new package config file... done. it works fine. So looks like the bug is in ghc-pkg. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1364839&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs