Skip to content

Instantly share code, notes, and snippets.

@sproctor
Created February 26, 2014 18:58
Show Gist options
  • Save sproctor/9236068 to your computer and use it in GitHub Desktop.
Save sproctor/9236068 to your computer and use it in GitHub Desktop.
pcf error message
~/code/pcf $ make
ocaml setup.ml -configure
Configuration:
ocamlfind: ........................................... /home/sproctor/.opam/system/bin/ocamlfind
ocamlc: .............................................. /usr/bin/ocamlc.opt
ocamlopt: ............................................ /usr/bin/ocamlopt.opt
ocamlbuild: .......................................... /usr/bin/ocamlbuild
Package name: ........................................ pcf
Package version: ..................................... 0.0.1
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.01.0
standard_library_default: ............................ /usr/lib/ocaml
standard_library: .................................... /usr/lib/ocaml
standard_runtime: .................................... /usr/bin/ocamlrun
bytecomp_c_compiler: ................................. gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
native_c_compiler: ................................... gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr/local
Install architecture-dependent files in dir: ......... $prefix
User executables: .................................... $exec_prefix/bin
System admin executables: ............................ $exec_prefix/sbin
Program executables: ................................. $exec_prefix/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ $prefix/com
Modifiable single-machine data: ...................... $prefix/var
Object code libraries: ............................... $exec_prefix/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. $datarootdir
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... $datarootdir/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
findlib_version: ..................................... 1.4
is_native: ........................................... true
suffix_program: ......................................
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: .........................
Create documentations: ............................... true
Compile tests executable and library and run them: ... false
pkg_extlib: .......................................... /home/sproctor/.opam/system/lib/extlib
pkg_ounit: ........................................... /home/sproctor/.opam/system/lib/oUnit
ocaml setup.ml -build
Finished, 1 target (0 cached) in 00:00:00.
Solver failed:
Ocamlbuild knows of no rules that apply to a target named src/pcf.mly. This can happen if you ask Ocamlbuild to build a target with the wrong extension (e.g. .opt instead of .native) or if the source files live in directories that have not been specified as include directories.
Backtrace:
- Failed to build the target src/pcf.cma
- Building src/pcf.cma:
- Failed to build all of these:
- Building src/pcf.cmo:
- Failed to build all of these:
- Building src/pcf.ml:
- Failed to build all of these:
- Building src/pcf.mly
- Building src/pcf.mlypack
- Building src/pcf.mll
- Building src/pcf.mli:
- Failed to build all of these:
- Building src/pcf.mly
- Building src/pcf.mlypack
- Building src/pcf.mlpack
- Building src/pcf.mli:
- Failed to build all of these:
- Building src/pcf.mly
- Building src/pcf.mlypack
- Building src/pcf.mllib
Compilation unsuccessful after building 20 targets (0 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' src/main.byte src/pcf.cma src/pcf.cmxa src/pcf.a src/pcf.cmxs test/test.byte -tag debug' terminated with error code 6")
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment