Skip to content

Make error #21

@GuiSeSanz

Description

@GuiSeSanz

Hello Dr. Lin,

I'm having some troubles to install the PhyloCSF.
I followed the steps in the readme, but during the make command, I run into this issue:


/PhyloCSF$ make
make -C lib/CamlPaml  reinstall
make[1]: Entering directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
make uninstall
make[2]: Entering directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
ocamlfind remove CamlPaml
Removed /home/nostromo/.opam/4.05.0/lib/CamlPaml/META
Removed /home/nostromo/.opam/4.05.0/lib/CamlPaml
make[2]: Leaving directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
make install
make[2]: Entering directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
ocamlbuild -use-ocamlfind CamlPaml.cma CamlPaml.cmxa
+ ocamlfind ocamlc -c -g -package gsl -pp ocaml+twt -o Code.cmo Code.ml
File "Code.ml", line 55, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "Code.ml", line 57, characters 3-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "Code.ml", line 193, characters 32-46:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
File "Code.ml", line 193, characters 50-64:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
File "Code.ml", line 193, characters 68-82:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
+ ocamlfind ocamlopt -c -g -package gsl -for-pack CamlPaml -pp ocaml+twt -o Code.cmx Code.ml
File "Code.ml", line 55, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "Code.ml", line 57, characters 3-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "Code.ml", line 193, characters 32-46:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
File "Code.ml", line 193, characters 50-64:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
File "Code.ml", line 193, characters 68-82:
Warning 3: deprecated: Char.uppercase
Use Char.uppercase_ascii instead.
Finished, 72 targets (0 cached) in 00:00:02.
ocamlfind install CamlPaml META _build/CamlPaml.cmi _build/CamlPaml.cma _build/CamlPaml.cmxa _build/CamlPaml.a
Installed /home/nostromo/.opam/4.05.0/lib/CamlPaml/CamlPaml.a
Installed /home/nostromo/.opam/4.05.0/lib/CamlPaml/CamlPaml.cmxa
Installed /home/nostromo/.opam/4.05.0/lib/CamlPaml/CamlPaml.cma
Installed /home/nostromo/.opam/4.05.0/lib/CamlPaml/CamlPaml.cmi
Installed /home/nostromo/.opam/4.05.0/lib/CamlPaml/META
make[2]: Leaving directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
make[1]: Leaving directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/lib/CamlPaml'
make -C src clean
make[1]: Entering directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/src'
rm -f *~
ocamlbuild -clean
Finished, 0 targets (0 cached) in 00:00:00.
00:00:00 0    (0   ) STARTING                                                                                                                                -------- |make[1]: Leaving directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/src'
make -C src 
make[1]: Entering directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/src'
rm -f ForkMaybe.ml
ln -s ForkNo.ml ForkMaybe.ml
ocamlbuild -use-ocamlfind  PhyloCSF.native
+ ocamlfind ocamlopt -c -g -package batteries -package CamlPaml -pp ocaml+twt -o PhyloCSFModel.cmx PhyloCSFModel.ml
File "_none_", line 1:
Warning 58: no cmx file was found in path for module CamlPaml, and its interface was not compiled with -opaque
+ ocamlfind ocamlopt -c -g -package batteries -package CamlPaml -pp ocaml+twt -o ECM.cmx ECM.ml
File "_none_", line 1:
Warning 58: no cmx file was found in path for module CamlPaml, and its interface was not compiled with -opaque
+ ocamlfind ocamlopt -c -g -package batteries -package CamlPaml -pp ocaml+twt -o OmegaModel.cmx OmegaModel.ml
File "_none_", line 1:
Warning 58: no cmx file was found in path for module CamlPaml, and its interface was not compiled with -opaque
+ ocamlfind ocamlopt -c -g -package batteries -package CamlPaml -pp ocaml+twt -o PhyloCSF.cmx PhyloCSF.ml
File "_none_", line 1:
Warning 58: no cmx file was found in path for module CamlPaml, and its interface was not compiled with -opaque
+ ocamlfind ocamlopt -linkpkg -g -package batteries -package CamlPaml ECM.cmx ForkMaybe.cmx PhyloCSFModel.cmx OmegaModel.cmx PhyloCSF.cmx -o PhyloCSF.native
/home/nostromo/.opam/4.05.0/lib/gsl/libgsl_stubs.a(mlgsl_randist.o): In function `ml_gsl_ran_multivariate_gaussian':
/home/nostromo/.opam/4.05.0/build/gsl.1.21.0/_build/default/src/mlgsl_randist.c:56: undefined reference to `gsl_ran_multivariate_gaussian'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 16 targets (0 cached) in 00:00:01.
make[1]: *** [all] Error 10
make[1]: Leaving directory `/home/nostromo/data/gserranos/Programs/PhyloCSF2/PhyloCSF-20121028/PhyloCSF/src'
make: *** [PhyloCSF] Error 2

I don't know what to do.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions