Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error #21

Open
GuiSeSanz opened this issue Mar 28, 2018 · 3 comments
Open

Make error #21

GuiSeSanz opened this issue Mar 28, 2018 · 3 comments

Comments

@GuiSeSanz
Copy link

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.....

@AlexWanghaoming
Copy link

I meet the same question with you,have you solved it?

@GuiSeSanz
Copy link
Author

I've no idea about what can be causing this problem...
I'm waiting some help from the developers!

@BarryRen29
Copy link

I got the same problem, any solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants