-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unbound module Gsl #13
Comments
Hi,
Please also make sure you have done |
Thanks for your reply, Mike. I will check it later. 2013/6/19 Mike Lin [email protected]
|
Hi Mike, 2013/6/19, 张军 [email protected]:
|
Sorry, I'm not exactly sure what the problem is then. What OS & version are you using? For reference I was able to run PhyloCSF using http://www.instantserver.io/ with this exact series of commands:
A couple of the apt packages (ocaml, camlp4-extra) weren't strictly necessary because the opam installer will compile them if they're not already present; installing them in advance just saves some time. |
Hi mike, Thanks for your help! 2013/6/20 Mike Lin [email protected]
|
Hmm...I used the same script successfully on a fresh Ubuntu 12.04 instance I launched inside EC2. I can only speculate there might be something particular to your environment that is throwing off the package manager. Sorry about that! |
Yeah,I have already compiled successfully on ubuntu 13.04(fresh). I'm very exciting now. But when I ran ./PhyloCSF 12files PhyloCSF_Examples/tal-AA.fa there came out another error: I go to /home/xxx/PhyloCSF/PhyloCSF_Parameters/ dictionary but to find that the 12files.nh exists. I believe that you can solve the problem ^_^. |
The file name should be "12flies" not "12files". On Jun 20, 2013, at 1:52 PM, Jhon.Chang wrote:
|
Oh,yeah.Thanks very much! 2013/6/20 iljungr [email protected]
|
Getting the same error on Mac OS X 10.8.5, when running make:
OPAM was installed using the installer script as mentioned on http://opam.ocaml.org/doc/Quick_Install.html, namely: sh ./opam_installer.sh /usr/local/bin system After that, I used opam install batteries ocaml+twt, Note the exclusion of gsl, which was instead installed using homebrew (as installing gsl with opam did not work). Next I did git clone git://github.com/mlin/PhyloCSF.git which caused the above failure. |
|
Thank you for the clarification. Installing the bindings after the library, as you suggested, worked and PhyloCSF now builds. As a sidenote, in this case there was also a simultaneous issue with installing the opam gsl package due to this bug in opam (or rather, in the latest Xcode release, depending on whom you ask): ocaml/opam-repository#1787. |
Hi, When I do I get: -bash-4.1$ opam install gsl
=-=-= Installing gsl.1.15.0 =-=-= ERROR while installing gsl.1.15.0 opam-version 1.1.1 ocaml do_const.ml --mli > lib/const.mli make: gsl-config: Command not found 'opam install gsl' failed. I suspect I need to help opam find the library. I tried setting LD_LIBRARY_PATH, but that didn't help. Thanks for any assistance, Rob |
Find the executable named |
Hi Mike, That solved my problem. Thanks very much for your quick and accurate help. Rob On Mon, Mar 24, 2014 at 11:41 AM, Mike Lin [email protected] wrote:
|
Hi Mike, I also get the problem when running opam install gsl. I already install the gsl, and add the gsl-config directory "/home/MYNAME/usr/gsl/bin" to the PATH. When running opam install gsl, I get the error: opam install gsl
=-=-= Installing gsl.1.17.2 =-=-= ===== ERROR while installing gsl.1.17.2 ===== stdout...[truncated] stderrW: Cannot find source file matching module 'gsl' in library gsl 'opam install gsl' failed. Could you help me fix it out? Thanks, Hui |
Hi:
But I have already installed the gsl, I run "opam info gsl", and got the information: I don't know how to fix this problem.Thanks for any assistance. xdkong |
@xdkong unfortunately I can't tell for sure what the problem is. Is the OCaml version up-to-date? If you're familiar with Docker, I've published a PhyloCSF Dockerfile. I hope this is useful, either directly or to see the installation sequence. |
Hi Mike, make -C lib/CamlPaml reinstall
My gsl version is 1.19.1. Cheers, |
Hi: Then, I use "opam install batteries ocaml+twt gsl" ,but it does not work. Thanks for any assistance, |
Hi Mike |
Dear Mike Lin:
I follow the "Obtaining the PhyloCSF software" step on the wiki page,but when I execute make command under PhyloCSF folder,Errors occur:
zhangjun@ubuntu:/usr/local/src/PhyloCSF$ make
make -C lib/CamlPaml reinstall
make[1]: Entering directory
/usr/local/src/PhyloCSF/lib/CamlPaml' make uninstall make[2]: Entering directory
/usr/local/src/PhyloCSF/lib/CamlPaml'ocamlfind remove CamlPaml
ocamlfind: [WARNING] No such directory: /home/zhangjun/.opam/system/lib/CamlPaml
make[2]: Leaving directory
/usr/local/src/PhyloCSF/lib/CamlPaml' make install make[2]: Entering directory
/usr/local/src/PhyloCSF/lib/CamlPaml'ocamlbuild CamlPaml.cma CamlPaml.cmxa
Finished, 1 target (0 cached) in 00:00:00.
File "P.ml", line 3, characters 14-31:
Error: Unbound module Gsl
Command exited with code 2.
Compilation unsuccessful after building 46 targets (0 cached) in 00:00:04.
make[2]: *** [lib] Error 10
make[2]: Leaving directory
/usr/local/src/PhyloCSF/lib/CamlPaml' make[1]: *** [reinstall] Error 2 make[1]: Leaving directory
/usr/local/src/PhyloCSF/lib/CamlPaml'make: *** [CamlPaml] Error 2
Could you help me solve this problem?
The text was updated successfully, but these errors were encountered: