- 论坛徽章:
- 0
|
从
http://haskell.org/ghc/download_ghc_683.html#x86linux
这个官方网址下载的
ghc-6.8.3-i386-unknown-linux.tar.bz2。
其中的 INSTALL 中说
This distribution can be installed in a location of your choosing.
To set the ball rolling, run the configure script (as usual, run the
script with --help to see what options it supports). eg. to set up
the package for installing in directory <my-dir>, use
./configure --prefix=<my-dir>
The default installation directory is /usr/local.
The configure script will figure out what platform you're running on,
and a couple of other interesting pieces of trivia, which it will then
fill in the Makefile.in template to give you a real Makefile. If
you're of a paranoid persuasion, you might want to take a look at this
Makefile to see if the information is correct.
Now run:
make install
(`make show-install-setup' prints the details of where the different
pieces of the bundle are heading when -- possibly helpful).
但是我执行 ./configure --prefix=/usr 或者 ./configure 都说
$./configure --prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Which we'll further canonicalise into: i386-unknown-linux
checking for path to top of build tree... configure: error: cannot determine current directory
会是什么原因呢? |
|