[Haskell-cafe] problems building ycr2js
tphyahoo at gmail.com
Sun Nov 25 10:46:49 EST 2007
I got through this hurdle following suggestions at
SHELL = /bin/bash at the top of the main makefile did not work, and I
did not bother going deeper down this route.
Rather I did sudo dpkg-reconfigure dash
and answered "no" when asked if sh should be dash. Thereafter, sh was bash.
I also had to rm -rf ghc and run make again; ((cd src/translator/js;
make clean) was not sufficient. (Something wrong with clean?)
So this got me past the sh mis-aliasing issue but I'm now having
problems on the final ghc make command.
What is System.FilePath.Version_0_09 ?
thartman at none:~/haskell-installs/yhc-install/yhc/src/translator/js>ghc
--make -i../../compiler98 -i../../libraries/core
-i../../../depends/play -i../../../depends/uniplate ycr2js.hs -o
Could not find module `System.FilePath.Version_0_09':
Use -v to see a list of the files searched for.
thartman at none:~/haskell-installs/yhc-install/yhc/src/translator/js>ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.1
thartman at none:~/haskell-installs/yhc-install/yhc/src/translator/js>ghc-pkg
list | grep -i filepath
filepath-188.8.131.52, (ghc-6.8.1), haskell-src-184.108.40.206,
2007/11/25, Brandon S. Allbery KF8NH <allbery at ece.cmu.edu>:
> On Nov 25, 2007, at 9:45 , Thomas Hartman wrote:
> > Feisty devs suggest people fix the underlying problem, which is that
> > /bin/sh should not assume bash as default, but specify bash
> > explicitly. So I guess this is what should be done in the case of
> > building ycr2js; either that or make it dash compatible.
> They're correct. I now know there is no point in even thinking about
> YHC on Solaris or FreeBSD because it knows that /bin/sh is always
> bash. But then, portability is generally not considered a useful
> feature in the Linux world....
> brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe