Shell syntax error when building from source
When attempting to build 5.04.2 from source on a
Slackware 8.1
Linux system and the following commands, I see:
$ rpm2tgz ghc-5.04.2-1.src.rpm
$ cd ghc-5.04.2
$ ./configure --prefix=/usr/local/ghc-5.04.2
--enable-hopengl --with-x --with-Mesa
$ make
...
Creating main/Config.hs ... done.
rm -f prelude/primops.txt
gcc -E -I../includes -traditional -x c
prelude/primops.txt.pp | /usr/bin/sed -e '/^#/d' >
prelude/primops.txt
../utils/genprimopcode/genprimopcode --data-decl
< prelude/primops.txt > primop-data-decl.hs-incl
/bin/sh: ../utils/genprimopcode/genprimopcode: No such
file or directory
make[2]: *** [primop-data-decl.hs-incl] Error 127
make[1]: *** [boot] Error 1
make[1]: Leaving directory
`/usr/local/src/ghc/ghc-5.04.2/ghc'
make: *** [all] Error 1
$
I think I've followed the `Building from source'
chapter of the
`Building' document carefully.
I can supply more detail if you wish.
John A. Murdie
Department of Computer Science
University of York
UK
Trac metadata
| Trac field | Value |
|---|---|
| Version | None |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedFixed |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |