validate script bug
ian at well-typed.com
Wed Aug 8 15:01:18 CEST 2012
On Tue, Aug 07, 2012 at 08:04:52PM +1000, Erik de Castro Lopo wrote:
> It seems there is a bug in the validate script. For me (on Linux), validate
> is failings with the following error at the bootom of this email.
> Is anybody else seeing this problem?
Works for me.
> /usr/local/bin/gcc -E -undef -traditional -P -DINSTALLING -DLIB_DIR='"/home/erikd/Git/ghc-upstream/bindisttest/install dir/lib/ghc-7.7.20120803"' -DINCLUDE_DIR='"/home/erikd/Git/ghc-upstream/bindisttest/install dir/lib/ghc-7.7.20120803/include"' -DPAPI_INCLUDE_DIR="" -DPAPI_LIB_DIR="" -x c -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header rts/package.conf.in -o rts/package.conf.install.raw
> gcc: error: dir/lib/ghc-7.7.20120803": No such file or directory
> gcc: error: dir/lib/ghc-7.7.20120803/include": No such file or directory
My guess would be that /usr/local/bin/gcc is a shell script that doesn't
quote its arguments correctly.
More information about the Cvs-ghc