ocamlfind cannot see installed packageHow to build Flowocamlfind does not find a package installed with godiOcaml and Opam: unbound module Core(OCamlfind) build library with dependencies to CoreOpam / findlib warning “… has multiple definitions”different results for commands “sudo ocamlfind list” and “ocamlfind list”Ocamlfind command not foundDecent ocamlfind documentationdifficulty installing ocamlfind under cygwin4ocamlfind query … terminated with error code 2Installing ocamlfind.1.8.0 on macOS Sierra

How do you cope with rejection?

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Save my secrets!

Are there any symmetric cryptosystems based on computational complexity assumptions?

how to create an executable file for an AppleScript?

How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?

Why are there five extra turns in tournament Magic?

Was murdering a slave illegal in American slavery, and if so, what punishments were given for it?

How would fantasy dwarves exist, realistically?

Good examples of "two is easy, three is hard" in computational sciences

What technology would Dwarves need to forge titanium?

Why does a table with a defined constant in its index compute 10X slower?

What would be the game balance implications for using the Gygax method for applying falling damage?

Is it possible to determine from only a photo of a cityscape whether it was taken close with wide angle or from a distance with zoom?

At what point can a confirmation be established between words of similar meaning in context?

Why do academics prefer Mac/Linux?

on the truth quest vs in the quest for truth

pwaS eht tirsf dna tasl setterl fo hace dorw

How did Arya not get burned in S8E05, "The Bells"?

Merging two rows with rounding their first elemnts

Is my company merging branches wrong?

Cycling to work - 30mile return

Was Tyrion always a poor strategist?

What color to choose as "danger" if the main color of my app is red



ocamlfind cannot see installed package


How to build Flowocamlfind does not find a package installed with godiOcaml and Opam: unbound module Core(OCamlfind) build library with dependencies to CoreOpam / findlib warning “… has multiple definitions”different results for commands “sudo ocamlfind list” and “ocamlfind list”Ocamlfind command not foundDecent ocamlfind documentationdifficulty installing ocamlfind under cygwin4ocamlfind query … terminated with error code 2Installing ocamlfind.1.8.0 on macOS Sierra






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








8















I wanted to compile my project using command:



ocamlfind ocamlopt -package ocamlnet -package batteries -package unix -linkpkg oauth.ml


but I'm getting following error:



ocamlfind: Package `ocamlnet' not found
make: *** [oauth.cmi] Error 2


After some research on this problem I have read that there may be problem with packages installed via opam and packages installed before opam installation (in this case with ocamlfind) so I tried to check that and get stuck because ocamlfind is installed via opam. Does anybody know what may I try to do to solve that problem?



$ which ocamlfind
/home/user/.opam/4.00.1/bin/ocamlfind

$ opam list
Installed packages for 4.00.1:
[...]
ocamlfind 1.4.0 A library manager for OCaml
[...]


Thanks in advance.










share|improve this question






























    8















    I wanted to compile my project using command:



    ocamlfind ocamlopt -package ocamlnet -package batteries -package unix -linkpkg oauth.ml


    but I'm getting following error:



    ocamlfind: Package `ocamlnet' not found
    make: *** [oauth.cmi] Error 2


    After some research on this problem I have read that there may be problem with packages installed via opam and packages installed before opam installation (in this case with ocamlfind) so I tried to check that and get stuck because ocamlfind is installed via opam. Does anybody know what may I try to do to solve that problem?



    $ which ocamlfind
    /home/user/.opam/4.00.1/bin/ocamlfind

    $ opam list
    Installed packages for 4.00.1:
    [...]
    ocamlfind 1.4.0 A library manager for OCaml
    [...]


    Thanks in advance.










    share|improve this question


























      8












      8








      8


      5






      I wanted to compile my project using command:



      ocamlfind ocamlopt -package ocamlnet -package batteries -package unix -linkpkg oauth.ml


      but I'm getting following error:



      ocamlfind: Package `ocamlnet' not found
      make: *** [oauth.cmi] Error 2


      After some research on this problem I have read that there may be problem with packages installed via opam and packages installed before opam installation (in this case with ocamlfind) so I tried to check that and get stuck because ocamlfind is installed via opam. Does anybody know what may I try to do to solve that problem?



      $ which ocamlfind
      /home/user/.opam/4.00.1/bin/ocamlfind

      $ opam list
      Installed packages for 4.00.1:
      [...]
      ocamlfind 1.4.0 A library manager for OCaml
      [...]


      Thanks in advance.










      share|improve this question
















      I wanted to compile my project using command:



      ocamlfind ocamlopt -package ocamlnet -package batteries -package unix -linkpkg oauth.ml


      but I'm getting following error:



      ocamlfind: Package `ocamlnet' not found
      make: *** [oauth.cmi] Error 2


      After some research on this problem I have read that there may be problem with packages installed via opam and packages installed before opam installation (in this case with ocamlfind) so I tried to check that and get stuck because ocamlfind is installed via opam. Does anybody know what may I try to do to solve that problem?



      $ which ocamlfind
      /home/user/.opam/4.00.1/bin/ocamlfind

      $ opam list
      Installed packages for 4.00.1:
      [...]
      ocamlfind 1.4.0 A library manager for OCaml
      [...]


      Thanks in advance.







      ocaml ocamlfind






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 23 at 17:35







      Stephen Dedalus

















      asked Jan 3 '14 at 22:10









      Stephen DedalusStephen Dedalus

      17218




      17218






















          2 Answers
          2






          active

          oldest

          votes


















          18














          Do a:



          eval $(opam config env)


          That should fix the problem.



          # Edit 1:



          If it still does not work remove the dir



          /home/adam/.opam/4.00.1



          and try it again.






          share|improve this answer

























          • Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

            – Stephen Dedalus
            Jan 3 '14 at 22:18












          • I updated my answer.

            – TheNiceGuy
            Jan 3 '14 at 22:28











          • You probably meant eval $(opam config env).

            – Jonathan Protzenko
            Jan 3 '14 at 22:34











          • Argh yes of course. Forgot that. Thanks

            – TheNiceGuy
            Jan 3 '14 at 22:39






          • 1





            [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

            – Fabrice Le Fessant
            Jan 27 '14 at 15:52


















          2














          I'm making answer because of limit in comments and partial results I've made. Here is the result of 'grep -r 'ocamlnet' *' at '~/.opam' directory: http://pastebin.com/8cJqMXDY by looking at lines 1-90 we may conclude that there is actually no ocamlnet library at all (or I'm looking for it in wrong place - but as I wrote in comment everything were installed using opam - I'd be glad to hear some opinions on this subject). These suspicions may be partially confirmed in two ways:



          1. in fact in lines 1-90 we've all binaries of ocamlnet components (http://projects.camlcity.org/projects/dl/ocamlnet-3.7.3/doc/html-main/index.html)


          2. lines 90-* doesn't seem like something other than some files needed to manage this package using opam. E.g.



            ~/.opam/repo/default/packages/ocamlnet$ tree -r .
            .
            ├── ocamlnet.3.7.3
            │ ├── url
            │ ├── opam
            │ ├── files
            │ │ └── ocamlnet.install
            │ └── descr
            ├── ocamlnet.3.6.5
            │ ├── url
            │ ├── opam
            │ ├── files
            │ │ ├── ocamlnet.install
            │ │ ├── netpop.patch
            │ │ ├── nethttpd_types.patch
            │ │ └── cloexec.patch
            │ └── descr
            ├── ocamlnet.3.6.3
            │ ├── url
            │ ├── opam
            │ ├── files
            │ │ └── ocamlnet.install
            │ └── descr
            ├── ocamlnet.3.6.0
            │ ├── url
            │ ├── opam
            │ ├── files
            │ │ ├── ocamlnet-ocaml4.diff
            │ │ └── ocamlnet.install
            │ └── descr
            ├── ocamlnet.3.5.1
            │ ├── url
            │ ├── opam
            │ ├── files
            │ │ └── ocamlnet.install
            │ └── descr
            └── ocamlnet.3.2.1
            ├── url
            ├── opam
            ├── files
            │ └── ocamlnet.install
            └── descr


          I do not have a sufficiently large knowledge to go into it deeper but it looks for me like that ocamlnet become just a shortcut for a few another packages used by opam. Especially that after changing



          -package ocamlnet


          to exact module which I'm using



          -package netstring


          everything has compiled fine. I'm still open to any other solutions or explenations for the curious case of ocamlnet package (and Michael's hints) B).






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f20913618%2focamlfind-cannot-see-installed-package%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            18














            Do a:



            eval $(opam config env)


            That should fix the problem.



            # Edit 1:



            If it still does not work remove the dir



            /home/adam/.opam/4.00.1



            and try it again.






            share|improve this answer

























            • Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

              – Stephen Dedalus
              Jan 3 '14 at 22:18












            • I updated my answer.

              – TheNiceGuy
              Jan 3 '14 at 22:28











            • You probably meant eval $(opam config env).

              – Jonathan Protzenko
              Jan 3 '14 at 22:34











            • Argh yes of course. Forgot that. Thanks

              – TheNiceGuy
              Jan 3 '14 at 22:39






            • 1





              [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

              – Fabrice Le Fessant
              Jan 27 '14 at 15:52















            18














            Do a:



            eval $(opam config env)


            That should fix the problem.



            # Edit 1:



            If it still does not work remove the dir



            /home/adam/.opam/4.00.1



            and try it again.






            share|improve this answer

























            • Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

              – Stephen Dedalus
              Jan 3 '14 at 22:18












            • I updated my answer.

              – TheNiceGuy
              Jan 3 '14 at 22:28











            • You probably meant eval $(opam config env).

              – Jonathan Protzenko
              Jan 3 '14 at 22:34











            • Argh yes of course. Forgot that. Thanks

              – TheNiceGuy
              Jan 3 '14 at 22:39






            • 1





              [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

              – Fabrice Le Fessant
              Jan 27 '14 at 15:52













            18












            18








            18







            Do a:



            eval $(opam config env)


            That should fix the problem.



            # Edit 1:



            If it still does not work remove the dir



            /home/adam/.opam/4.00.1



            and try it again.






            share|improve this answer















            Do a:



            eval $(opam config env)


            That should fix the problem.



            # Edit 1:



            If it still does not work remove the dir



            /home/adam/.opam/4.00.1



            and try it again.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 3 '14 at 22:39

























            answered Jan 3 '14 at 22:14









            TheNiceGuyTheNiceGuy

            1,68942151




            1,68942151












            • Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

              – Stephen Dedalus
              Jan 3 '14 at 22:18












            • I updated my answer.

              – TheNiceGuy
              Jan 3 '14 at 22:28











            • You probably meant eval $(opam config env).

              – Jonathan Protzenko
              Jan 3 '14 at 22:34











            • Argh yes of course. Forgot that. Thanks

              – TheNiceGuy
              Jan 3 '14 at 22:39






            • 1





              [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

              – Fabrice Le Fessant
              Jan 27 '14 at 15:52

















            • Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

              – Stephen Dedalus
              Jan 3 '14 at 22:18












            • I updated my answer.

              – TheNiceGuy
              Jan 3 '14 at 22:28











            • You probably meant eval $(opam config env).

              – Jonathan Protzenko
              Jan 3 '14 at 22:34











            • Argh yes of course. Forgot that. Thanks

              – TheNiceGuy
              Jan 3 '14 at 22:39






            • 1





              [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

              – Fabrice Le Fessant
              Jan 27 '14 at 15:52
















            Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

            – Stephen Dedalus
            Jan 3 '14 at 22:18






            Unfortunatelly it's not doing anything: $ opam config env CAML_LD_LIBRARY_PATH="/home/adam/.opam/4.00.1/lib/stublibs"; export CAML_LD_LIBRARY_PATH; PERL5LIB="/home/adam/.opam/4.00.1/lib/perl5:"; export PERL5LIB; OCAML_TOPLEVEL_PATH="/home/adam/.opam/4.00.1/lib/toplevel"; export OCAML_TOPLEVEL_PATH; MANPATH=":/home/adam/.opam/4.00.1/man"; export MANPATH; PATH="..."; export PATH; $ make [...] ocamlfind: Package `ocamlnet' not found make: *** [oauth.cmi] Error 2

            – Stephen Dedalus
            Jan 3 '14 at 22:18














            I updated my answer.

            – TheNiceGuy
            Jan 3 '14 at 22:28





            I updated my answer.

            – TheNiceGuy
            Jan 3 '14 at 22:28













            You probably meant eval $(opam config env).

            – Jonathan Protzenko
            Jan 3 '14 at 22:34





            You probably meant eval $(opam config env).

            – Jonathan Protzenko
            Jan 3 '14 at 22:34













            Argh yes of course. Forgot that. Thanks

            – TheNiceGuy
            Jan 3 '14 at 22:39





            Argh yes of course. Forgot that. Thanks

            – TheNiceGuy
            Jan 3 '14 at 22:39




            1




            1





            [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

            – Fabrice Le Fessant
            Jan 27 '14 at 15:52





            [ERROR] global-config does not define the variable lib is typical of being in a non-existent switch. Try opam switch 4.01.0 or something like that to switch back to an existing switch.

            – Fabrice Le Fessant
            Jan 27 '14 at 15:52













            2














            I'm making answer because of limit in comments and partial results I've made. Here is the result of 'grep -r 'ocamlnet' *' at '~/.opam' directory: http://pastebin.com/8cJqMXDY by looking at lines 1-90 we may conclude that there is actually no ocamlnet library at all (or I'm looking for it in wrong place - but as I wrote in comment everything were installed using opam - I'd be glad to hear some opinions on this subject). These suspicions may be partially confirmed in two ways:



            1. in fact in lines 1-90 we've all binaries of ocamlnet components (http://projects.camlcity.org/projects/dl/ocamlnet-3.7.3/doc/html-main/index.html)


            2. lines 90-* doesn't seem like something other than some files needed to manage this package using opam. E.g.



              ~/.opam/repo/default/packages/ocamlnet$ tree -r .
              .
              ├── ocamlnet.3.7.3
              │ ├── url
              │ ├── opam
              │ ├── files
              │ │ └── ocamlnet.install
              │ └── descr
              ├── ocamlnet.3.6.5
              │ ├── url
              │ ├── opam
              │ ├── files
              │ │ ├── ocamlnet.install
              │ │ ├── netpop.patch
              │ │ ├── nethttpd_types.patch
              │ │ └── cloexec.patch
              │ └── descr
              ├── ocamlnet.3.6.3
              │ ├── url
              │ ├── opam
              │ ├── files
              │ │ └── ocamlnet.install
              │ └── descr
              ├── ocamlnet.3.6.0
              │ ├── url
              │ ├── opam
              │ ├── files
              │ │ ├── ocamlnet-ocaml4.diff
              │ │ └── ocamlnet.install
              │ └── descr
              ├── ocamlnet.3.5.1
              │ ├── url
              │ ├── opam
              │ ├── files
              │ │ └── ocamlnet.install
              │ └── descr
              └── ocamlnet.3.2.1
              ├── url
              ├── opam
              ├── files
              │ └── ocamlnet.install
              └── descr


            I do not have a sufficiently large knowledge to go into it deeper but it looks for me like that ocamlnet become just a shortcut for a few another packages used by opam. Especially that after changing



            -package ocamlnet


            to exact module which I'm using



            -package netstring


            everything has compiled fine. I'm still open to any other solutions or explenations for the curious case of ocamlnet package (and Michael's hints) B).






            share|improve this answer





























              2














              I'm making answer because of limit in comments and partial results I've made. Here is the result of 'grep -r 'ocamlnet' *' at '~/.opam' directory: http://pastebin.com/8cJqMXDY by looking at lines 1-90 we may conclude that there is actually no ocamlnet library at all (or I'm looking for it in wrong place - but as I wrote in comment everything were installed using opam - I'd be glad to hear some opinions on this subject). These suspicions may be partially confirmed in two ways:



              1. in fact in lines 1-90 we've all binaries of ocamlnet components (http://projects.camlcity.org/projects/dl/ocamlnet-3.7.3/doc/html-main/index.html)


              2. lines 90-* doesn't seem like something other than some files needed to manage this package using opam. E.g.



                ~/.opam/repo/default/packages/ocamlnet$ tree -r .
                .
                ├── ocamlnet.3.7.3
                │ ├── url
                │ ├── opam
                │ ├── files
                │ │ └── ocamlnet.install
                │ └── descr
                ├── ocamlnet.3.6.5
                │ ├── url
                │ ├── opam
                │ ├── files
                │ │ ├── ocamlnet.install
                │ │ ├── netpop.patch
                │ │ ├── nethttpd_types.patch
                │ │ └── cloexec.patch
                │ └── descr
                ├── ocamlnet.3.6.3
                │ ├── url
                │ ├── opam
                │ ├── files
                │ │ └── ocamlnet.install
                │ └── descr
                ├── ocamlnet.3.6.0
                │ ├── url
                │ ├── opam
                │ ├── files
                │ │ ├── ocamlnet-ocaml4.diff
                │ │ └── ocamlnet.install
                │ └── descr
                ├── ocamlnet.3.5.1
                │ ├── url
                │ ├── opam
                │ ├── files
                │ │ └── ocamlnet.install
                │ └── descr
                └── ocamlnet.3.2.1
                ├── url
                ├── opam
                ├── files
                │ └── ocamlnet.install
                └── descr


              I do not have a sufficiently large knowledge to go into it deeper but it looks for me like that ocamlnet become just a shortcut for a few another packages used by opam. Especially that after changing



              -package ocamlnet


              to exact module which I'm using



              -package netstring


              everything has compiled fine. I'm still open to any other solutions or explenations for the curious case of ocamlnet package (and Michael's hints) B).






              share|improve this answer



























                2












                2








                2







                I'm making answer because of limit in comments and partial results I've made. Here is the result of 'grep -r 'ocamlnet' *' at '~/.opam' directory: http://pastebin.com/8cJqMXDY by looking at lines 1-90 we may conclude that there is actually no ocamlnet library at all (or I'm looking for it in wrong place - but as I wrote in comment everything were installed using opam - I'd be glad to hear some opinions on this subject). These suspicions may be partially confirmed in two ways:



                1. in fact in lines 1-90 we've all binaries of ocamlnet components (http://projects.camlcity.org/projects/dl/ocamlnet-3.7.3/doc/html-main/index.html)


                2. lines 90-* doesn't seem like something other than some files needed to manage this package using opam. E.g.



                  ~/.opam/repo/default/packages/ocamlnet$ tree -r .
                  .
                  ├── ocamlnet.3.7.3
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.6.5
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ ├── ocamlnet.install
                  │ │ ├── netpop.patch
                  │ │ ├── nethttpd_types.patch
                  │ │ └── cloexec.patch
                  │ └── descr
                  ├── ocamlnet.3.6.3
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.6.0
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ ├── ocamlnet-ocaml4.diff
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.5.1
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  └── ocamlnet.3.2.1
                  ├── url
                  ├── opam
                  ├── files
                  │ └── ocamlnet.install
                  └── descr


                I do not have a sufficiently large knowledge to go into it deeper but it looks for me like that ocamlnet become just a shortcut for a few another packages used by opam. Especially that after changing



                -package ocamlnet


                to exact module which I'm using



                -package netstring


                everything has compiled fine. I'm still open to any other solutions or explenations for the curious case of ocamlnet package (and Michael's hints) B).






                share|improve this answer















                I'm making answer because of limit in comments and partial results I've made. Here is the result of 'grep -r 'ocamlnet' *' at '~/.opam' directory: http://pastebin.com/8cJqMXDY by looking at lines 1-90 we may conclude that there is actually no ocamlnet library at all (or I'm looking for it in wrong place - but as I wrote in comment everything were installed using opam - I'd be glad to hear some opinions on this subject). These suspicions may be partially confirmed in two ways:



                1. in fact in lines 1-90 we've all binaries of ocamlnet components (http://projects.camlcity.org/projects/dl/ocamlnet-3.7.3/doc/html-main/index.html)


                2. lines 90-* doesn't seem like something other than some files needed to manage this package using opam. E.g.



                  ~/.opam/repo/default/packages/ocamlnet$ tree -r .
                  .
                  ├── ocamlnet.3.7.3
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.6.5
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ ├── ocamlnet.install
                  │ │ ├── netpop.patch
                  │ │ ├── nethttpd_types.patch
                  │ │ └── cloexec.patch
                  │ └── descr
                  ├── ocamlnet.3.6.3
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.6.0
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ ├── ocamlnet-ocaml4.diff
                  │ │ └── ocamlnet.install
                  │ └── descr
                  ├── ocamlnet.3.5.1
                  │ ├── url
                  │ ├── opam
                  │ ├── files
                  │ │ └── ocamlnet.install
                  │ └── descr
                  └── ocamlnet.3.2.1
                  ├── url
                  ├── opam
                  ├── files
                  │ └── ocamlnet.install
                  └── descr


                I do not have a sufficiently large knowledge to go into it deeper but it looks for me like that ocamlnet become just a shortcut for a few another packages used by opam. Especially that after changing



                -package ocamlnet


                to exact module which I'm using



                -package netstring


                everything has compiled fine. I'm still open to any other solutions or explenations for the curious case of ocamlnet package (and Michael's hints) B).







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 4 '14 at 10:54

























                answered Jan 4 '14 at 10:28









                Stephen DedalusStephen Dedalus

                17218




                17218



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f20913618%2focamlfind-cannot-see-installed-package%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현