Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The following actions will be performed:
- - install ocamlfind.1.5.5
- === 1 to install ===
- =-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- =-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Building ocamlfind.1.5.5:
- ./configure -bindir /root/.opam/system/bin -sitelib /root/.opam/system/lib -mandir /root/.opam/system/man -config /root/.opam/system/lib/findlib.conf -no-topfind
- make all
- make opt
- make install
- Welcome to findlib version 1.5.5
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- File "itest-aux/ppx.ml", line 1, characters 0-25:
- Error: Unbound value Toploop.preprocess_phrase
- Configuring libraries...
- native dynlink: found
- labltk: not present
- ocamlbuild: found
- camlp4: using camlp4, style 310
- compiler-libs: found
- dbm: not present (normal since OCaml-4.00)
- bytes: not found, installing compat library
- 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 camlp4 written to site-lib-src/camlp4/META
- Configuration for ocamlbuild written to site-lib-src/ocamlbuild/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Detecting compiler arguments: (extractor built) ok
- About the OCAML core installation:
- Standard library: /nix/store/pppfsivqfv1kgkaqyyxg0g8hvpah57ma-ocaml-4.01.0/lib/ocaml
- Binaries: /run/current-system/sw/bin
- Manual pages: /usr/local/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: /root/.opam/system/lib
- The configuration file is written to:
- findlib config file: /root/.opam/system/lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: /root/.opam/system/bin
- Manual pages: /root/.opam/system/man
- topfind script: omitted
- Topfind ppxopt support: no
- Toolbox: no
- Link custom runtime: yes
- Need bytes compatibility: yes
- Configuration has been written to Makefile.config
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
- for p in findlib bytes; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- Makefile:160: depend: No such file or directory
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- ocamldep *.ml *.mli >depend
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' '/root/.opam/system/lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/nix/store/pppfsivqfv1kgkaqyyxg0g8hvpah57ma-ocaml-4.01.0/lib/ocaml' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;linux;g' \
- >findlib_config.ml
- ocamlc -I +compiler-libs -g -c findlib_config.ml
- ocamlc -I +compiler-libs -g -c fl_split.ml
- ocamlc -I +compiler-libs -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -g -c fl_meta.ml
- ocamlc -I +compiler-libs -c fl_metascanner.mli
- ocamlc -I +compiler-libs -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -c fl_topo.mli
- ocamlc -I +compiler-libs -g -c fl_topo.ml
- ocamlc -I +compiler-libs -c fl_package_base.mli
- ocamlc -I +compiler-libs -g -c fl_package_base.ml
- ocamlc -I +compiler-libs -c findlib.mli
- ocamlc -I +compiler-libs -g -c findlib.ml
- ocamlc -I +compiler-libs -g -c fl_args.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo
- ocamlc -I +compiler-libs -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -g -c frontend.ml
- ocamlc -I +compiler-libs -custom -o ocamlfind -g findlib.cma unix.cma \
- ocaml_args.cmo frontend.cmo
- /nix/store/b8qhjrwf8sf9ggkjxqqav7f1m6w83bh0-binutils-2.23.1/bin/ld: cannot find -lncurses
- collect2: error: ld returned 1 exit status
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- File "_none_", line 1:
- Error: Error while building custom runtime system
- make[1]: *** [ocamlfind] Error 2
- make: *** [all] Error 2
- Removing ocamlfind.1.5.5.
- ocamlfind remove bytes
- ./configure -bindir /root/.opam/system/bin -sitelib /root/.opam/system/lib -mandir /root/.opam/system/man -config /root/.opam/system/lib/findlib.conf -no-topfind
- make uninstall
- ocamlfind: /nix/store/v5y6q08qsgm55vn4q1qkj285lpc26icg-ocaml-findlib-1.5.3/lib/ocaml/4.01.0/site-lib/bytes/bytes.cmx: Read-only file system
- Welcome to findlib version 1.5.5
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- File "itest-aux/ppx.ml", line 1, characters 0-25:
- Error: Unbound value Toploop.preprocess_phrase
- Configuring libraries...
- native dynlink: found
- labltk: not present
- ocamlbuild: found
- camlp4: using camlp4, style 310
- compiler-libs: found
- dbm: not present (normal since OCaml-4.00)
- bytes: not found, installing compat library
- 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 camlp4 written to site-lib-src/camlp4/META
- Configuration for ocamlbuild written to site-lib-src/ocamlbuild/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Detecting compiler arguments: (extractor built) ok
- About the OCAML core installation:
- Standard library: /nix/store/pppfsivqfv1kgkaqyyxg0g8hvpah57ma-ocaml-4.01.0/lib/ocaml
- Binaries: /run/current-system/sw/bin
- Manual pages: /usr/local/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: /root/.opam/system/lib
- The configuration file is written to:
- findlib config file: /root/.opam/system/lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: /root/.opam/system/bin
- Manual pages: /root/.opam/system/man
- topfind script: omitted
- Topfind ppxopt support: no
- Toolbox: no
- Link custom runtime: yes
- Need bytes compatibility: yes
- Configuration has been written to Makefile.config
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
- make uninstall-doc
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5'
- rm -f /root/.opam/system/man/man1/ocamlfind.1
- rm -f /root/.opam/system/man/man3/Findlib.3
- rm -f /root/.opam/system/man/man3/Topfind.3
- rm -f /root/.opam/system/man/man5/META.5
- rm -f /root/.opam/system/man/man5/site-lib.5
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5'
- make uninstall-meta
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5'
- for x in `ls site-lib-src`; do if [ "$x" != "CVS" ]; then rm -rf "/root/.opam/system/lib/$x"; fi; done
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5'
- for p in `cd src; echo *`; do ( cd src/$p; make uninstall ); done
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/bytes'
- rm -rf "/root/.opam/system/lib/bytes"
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/bytes'
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' '/root/.opam/system/lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/nix/store/pppfsivqfv1kgkaqyyxg0g8hvpah57ma-ocaml-4.01.0/lib/ocaml' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;linux;g' \
- >findlib_config.ml
- ocamldep *.ml *.mli >depend
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- rm -f /nix/store/pppfsivqfv1kgkaqyyxg0g8hvpah57ma-ocaml-4.01.0/lib/ocaml/findlib
- rm -rf /root/.opam/system/lib/findlib
- rm -f /root/.opam/system/bin/ocamlfind
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib'
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib-toolbox'
- true
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5/src/findlib-toolbox'
- make uninstall-config
- make[1]: Entering directory `/root/.opam/system/build/ocamlfind.1.5.5'
- Leaving /root/.opam/system/lib/findlib.conf installed, consider manual removal
- make[1]: Leaving directory `/root/.opam/system/build/ocamlfind.1.5.5'
- =-=- ocamlfind.1.5.5 troubleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- => Could not build ocamlfind. The most common reason for that is a missing 'm4' system package.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement