caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlfind does not find pinned packages
@ 2017-05-03  3:18 Helmut Brandl
  2017-05-03  6:42 ` Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Helmut Brandl @ 2017-05-03  3:18 UTC (permalink / raw)
  To: caml users

Hello list,

I have a package not yet in the opam repository. I install it with ‘opam pin add project .’ which performs sucessfully. It installs the needed binaries in the ‘.opam/system/bin/project’ directory and some library files in the ‘.opam/system/lib/project’ directory.

Now I want to use ‘ocamlfind query project’ to find the library. But ocamlfind always reports project not found. Have I missed some important step?

Regards
Helmut



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] ocamlfind does not find pinned packages
  2017-05-03  3:18 [Caml-list] ocamlfind does not find pinned packages Helmut Brandl
@ 2017-05-03  6:42 ` Daniel Bünzli
  2017-05-03 13:20   ` Helmut Brandl
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Bünzli @ 2017-05-03  6:42 UTC (permalink / raw)
  To: Helmut Brandl; +Cc: caml users

On Wednesday, 3 May 2017 at 05:18, Helmut Brandl wrote:
> Hello list,
>  
> I have a package not yet in the opam repository. I install it with ‘opam pin add project .’ which performs sucessfully. It installs the needed binaries in the ‘.opam/system/bin/project’ directory and some library files in the ‘.opam/system/lib/project’ directory.
>  
> Now I want to use ‘ocamlfind query project’ to find the library. But ocamlfind always reports project not found. Have I missed some important step?

Did you install a META file in '.opam/system/lib/project' ? Since you are using a system compiler are you sure the right ocamlfind is being invoked ? Try $(command -v ocamfind) and check that you get .opam/system/bin/ocamlfind.  

Best,  

Daniel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] ocamlfind does not find pinned packages
  2017-05-03  6:42 ` Daniel Bünzli
@ 2017-05-03 13:20   ` Helmut Brandl
  0 siblings, 0 replies; 3+ messages in thread
From: Helmut Brandl @ 2017-05-03 13:20 UTC (permalink / raw)
  To: caml users

Thank you Daniel,

I didn’t know that ocamlfind needs a META file. Even an empty file seem to be sufficient for ocamlfind for a successful application of the query command.

Regards
Helmut

> On May 3, 2017, at 01:42, Daniel Bünzli <daniel.buenzli@erratique.ch> wrote:
> 
> On Wednesday, 3 May 2017 at 05:18, Helmut Brandl wrote:
>> Hello list,
>> 
>> I have a package not yet in the opam repository. I install it with ‘opam pin add project .’ which performs sucessfully. It installs the needed binaries in the ‘.opam/system/bin/project’ directory and some library files in the ‘.opam/system/lib/project’ directory.
>> 
>> Now I want to use ‘ocamlfind query project’ to find the library. But ocamlfind always reports project not found. Have I missed some important step?
> 
> Did you install a META file in '.opam/system/lib/project' ? Since you are using a system compiler are you sure the right ocamlfind is being invoked ? Try $(command -v ocamfind) and check that you get .opam/system/bin/ocamlfind.  
> 
> Best,  
> 
> Daniel
> 
> 
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-03 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03  3:18 [Caml-list] ocamlfind does not find pinned packages Helmut Brandl
2017-05-03  6:42 ` Daniel Bünzli
2017-05-03 13:20   ` Helmut Brandl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).