haskell-ja > Archives > 2012/06/04

2012/06/04 14:32:34 UTCcutsea110
#
haskell-platform2012.2.0.0を入れたらghc-pkg checkした時にWarningが出ます。
#
Warning: haddock-interfaces: /usr/pkg/share/doc/haskell-platform-2012.2.0.0/html/haskell-platform.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/pkg/share/doc/haskell-platform-2012.2.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/pkg/share/doc/zlib-0.5.3.3/html/zlib.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/pkg/share/doc/zlib-0.5.3.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/pkg/share/doc/cgi-3001.1.7.4/html/cgi.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/pkg/share/doc/cgi-3001.1.7.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/pkg/share/doc/xhtml-3000.2.1/html/xhtml.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/pkg/share/doc/xhtml-3000.2.1/html doesn't exist or isn't a directory
#
こんな感じでhtmlドキュメントが無いってことで。
#
cabal installしたものであれば--enable-documentationを付ければOKらしいんだけど、haskell-platformをtarballから./configure;make installする場合にはどうすればいいの?
2012/06/04 14:40:12 UTCshelarcy@twitter
#
./configure --help でドキュメント入れるのに必要なオプションが出てきませんか?
2012/06/04 14:44:35 UTCcutsea110
#
それらしいのは見当らないんです。
#
--docdirとか--htmldirあたりはデフォルトがあるし。
#
enable系は--enable-FEATURE[=ARG]というのがありあすが、さっき./configure --prefix=/usr/pkg --enable-documentationを一応試してみたんだけどやっぱり生成されてない。
#
みんなのところではワーニングでてないのかな。
#
$ ./configure --help
`configure' configures haskell-platform 2012.2.0.0 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
			  [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
			  [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --datar
#
落ちます。