-------------------------------------------------------------- [root@xxxx tmp]# sudo yum install ocaml Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile addons | 951 B 00:00 base | 2.1 kB 00:00 centosplus | 1.9 kB 00:00 contrib | 951 B 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 Setting up Install Process No package ocaml available. Nothing to do
-------------------------------------------------------------- [root@xxxx tmp]# tar -zxf ocaml-3.11.2.tar.gz [root@xxxx tmp]# cd ocaml-3.11.2 [root@xxxx tmp]# ./configure Configuring for a i686-pc-linux-gnu ... Unable to compile the test program. Make sure the C compiler cc -0 is properly installed. [root@xxxx tmp]# make world Makefile:17: config/Makefile: No such file or directory make: *** No rule to make target `config/Makefile'. Stop.
-------------------------------------------------------------- [root@xxxx tmp]# tar -zxf ocsigen-1.3.2.tar.gz [root@xxxx tmp]# cd ocsigen-1.3.2 [root@xxxx ocsigen-1.3.2]# ./configure Welcom to Ocsigen version 1.3.2 Checking for findlib... not found Make sure that ocamlfind is in your PATH, or install findlib (from www.ocaml-programming.de) [root@xxxx ocsigen-1.3.2]# make Makefile:1: Makefile.config: No such file or directory make: *** No rule to make target `Makefile.config'. Stop. [root@xxxx tmp]# cd .. [root@xxxx tmp]# tar -zxf findlib-1.2.1.tar.gz [root@xxxx findlib-1.2.1]# cd ./findlib-1.2.1 [root@xxxx findlib-1.2.1]# ./configure Welcom to findlib version 1.2.1 Configuring core... Testing threding model... systhread_supported: true Testing DLLs... Configuring libraries... labltk: found camlp4: using camlp4, style 310 Configuration for dbm written to site-lib-src/dbm/META Configuration for dynlink written to site-lib-src/dynlink/META Configuration for graphics written to site-lib-src/graphics/META Configuration for num written to site-lib-src/num/META Configuration for num-top written to site-lib-src/num-top/META Configuration for str written to site-lib-src/str/META Configuration for threads written to site-lib-src/threads/META Configuration for unix written to site-lib-src/unix/META Configuration for stdlib written to site-lib-src/stdlib/META Configuration for bigarray written to site-lib-src/bigarray/META Configuration for labltk written to site-lib-src/labltk/META Configuration for camlp4 written to site-lib-src/camlp4/META Detecting compiler arguments: FAILED [root@xxxx findlib-1.2.1]# sudu make install Makefile:6: Makefile.config: No such file or directory make: *** No rule to make target `Makefile.config'. Stop.
また,ocaml を野良ビルドする際は
$ ./configure
$ make world opt
$ sudo make install
findlib を野良ビルドする際は
$ ./configure
$ make all opt
$ sudo make install
だったような気がします...
[root@xxxxx ocaml-3.11.2]# ./configure
Configuring for a i686-pc-linux-gnu ...
Unable to compile the test program.
Make sure the C compiler cc -0 is preperly installed.
[root@xxxxx ocaml-3.11.2]# make world
Makefile:17: config/Makefile: No such file or directory
make: *** No rule to make target `config/Makefile'. Stop.
[root@xxxxx ocaml-3.11.2]# make bootstrap
Makefile:17: config/Makefile: No such file or directory
make: *** No rule to make target `config/Makefile'. Stop.
[root@xxxxx ocaml-3.11.2]# make opt
Makefile:17: config/Makefile: No such file or directory
make: *** No rule to make target `config/Makefile'. Stop.
[root@xxxxx ocaml-3.11.2]# make opt.opt
Makefile:17: config/Makefile: No such file or directory
make: *** No rule to make target `config/Makefile'. Stop.
[root@xxxxx ocaml-3.11.2]# make install
Makefile:17: config/Makefile: No such file or directory
make: *** No rule to make target `config/Makefile'. Stop.