<beginner42>
dsheets: is that the fix or your config file?
<dsheets>
beginner42, that's how yours should look with the same settings under 1.0.1
<dsheets>
beginner42, there are additional config options under ~/.opam/repo/default/config that should be set
<dsheets>
beginner42, perhaps the easiest thing to do is to reinitialize opam now you've upgraded to 1.0.1
<beginner42>
what command?
<dsheets>
beginner42, delete ~/.opam then opam init
<dsheets>
beginner42, you may wish to export your package list
<beginner42>
i changed my config file accordingly, and now it works just fine. is there any need to do an opam init now?
<dsheets>
beginner42, does ~/.opam/repo/default/config look like http://pastebin.com/nphs2aD6 (except for the priority)
<beginner42>
dsheets: i removed the .opam folder and issued opam init. Now it works
<dsheets>
beginner42, excellent, you should now have a guaranteed good state (barring opam defects)
<beginner42>
dsheets: thanks a lot. This machine works now, but on another machine i have also some problems with opam
<beginner42>
i have a constraint in my _oasis file that i need ospec >= 0.3.0, but when i tell opam to update ospec i get this warning
<beginner42>
Cannot update the package ospec because it is not pinned. Only promela is currently pinned.
<dsheets>
beginner42, what are you trying to accomplish? what does $ `opam info ospec` say?
<dsheets>
erm $ opam info ospec
ontologiae has quit [Ping timeout: 246 seconds]
<beginner42>
package: ospec version: 0.3.0 depends: ocamlfind installed-version: ospec.0.3.0 [system 4.00.0] available-version: 0.2.1 description: Behavior-Driven Development tool for OCaml, inspired by RSpec OSpec is a Behavior-Driven Development tool for OCaml, inspired by RSpec, a Ruby BDD library. It is implemented as a Camlp4 syntax extension.
dwmw2_gone is now known as dwmw2
<dsheets>
beginner42, so what is the issue? are you developing new things in ospec? you have 0.3.0 installed
adahlberg has joined #ocaml
<beginner42>
dsheets: i got some complaints that my ospec version does not fit the constraint >= 0.3.0
<dsheets>
beginner42, $ opam switch ? $ which ocamlfind ?
<beginner42>
and opam switch tells me that on my system the 4.00.0 is installed
Anarchos has joined #ocaml
<dsheets>
beginner42, so when do you get these ospec version constraint complaints?
<beginner42>
i am working on a new update for an opam package, and when i do a make command i got this constraint complaint. But right now i cant reproduce it because my source code doesnt compile
<dsheets>
hmm... if it happens again, come back. for now, remember to run $ oasis setup after updating _oasis
<beginner42>
dsheets: i will, and thanks again for your help :)
<wmeyer>
I think I am tired, smondet` link looks very interesting, thanks
rwmjones has joined #ocaml
Neros has joined #ocaml
yacks has quit [Quit: Leaving]
jpdeplaix` has quit [Quit: WeeChat 0.3.9.2]
yacks has joined #ocaml
jpdeplaix has joined #ocaml
Drup has quit [Ping timeout: 258 seconds]
ollehar has joined #ocaml
raichoo has joined #ocaml
pkrnj has quit [Ping timeout: 264 seconds]
ulfdoz has joined #ocaml
gautamc has joined #ocaml
ollehar has quit [Quit: ollehar]
ttamttam has joined #ocaml
ggole has quit []
Nahra has joined #ocaml
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
dsheets has quit [Ping timeout: 248 seconds]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
Drup has joined #ocaml
stomp has quit [Ping timeout: 252 seconds]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
stomp has joined #ocaml
jpdeplaix has joined #ocaml
pkrnj has joined #ocaml
jonafan has quit [Read error: Operation timed out]
jonafan has joined #ocaml
pkrnj has quit [Read error: Operation timed out]
dsheets has joined #ocaml
awm221 has quit [Quit: Leaving.]
awm22 has joined #ocaml
Watcher7 is now known as Watcher7|off
jonafan has quit [Ping timeout: 276 seconds]
Watcher7|off is now known as Watcher7
jonafan has joined #ocaml
Anarchos has quit [Ping timeout: 268 seconds]
ttamttam has left #ocaml []
_andre has quit [Quit: leaving]
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
ulfdoz has quit [Ping timeout: 245 seconds]
Armael is now known as coproduit
tianon has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
mcclurmc has joined #ocaml
raichoo has quit [Quit: leaving]
sea6ear has joined #ocaml
Neros has quit [Ping timeout: 268 seconds]
emmanuelux has joined #ocaml
jbrown has quit [Ping timeout: 245 seconds]
Neros has joined #ocaml
pkrnj has joined #ocaml
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
zpe has quit [Remote host closed the connection]
osnr has quit [Quit: Leaving.]
Snark has quit [Quit: leaving]
meretrix has quit [Ping timeout: 272 seconds]
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
SanderM has quit [Remote host closed the connection]
Kakadu has quit []
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
smondet` has quit [Ping timeout: 252 seconds]
jpdeplaix has quit [Client Quit]
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
osnr has quit [Quit: Leaving.]
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
travisbrady has quit [Quit: travisbrady]
djcoin has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
awm22 has quit [Quit: Leaving.]
pkrnj has quit [Quit: Computer has gone to sleep.]
awm22 has joined #ocaml
awm221 has joined #ocaml
awm22 has quit [Ping timeout: 252 seconds]
cdidd has joined #ocaml
ontologiae has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
darkf has joined #ocaml
gnuvince has quit [Ping timeout: 258 seconds]
Anarchos has joined #ocaml
tobiasBora has joined #ocaml
<tobiasBora>
Hello,
<tobiasBora>
I'd like to use an ogg library to read ogg files in my program. I've installed lib-ogg-dev with synaptic, and know I've a problem with the calling of function.
<tobiasBora>
This is the file /usr/lib/ocaml/ogg/ogg.mli
<tobiasBora>
I tried differents way to load the librairy and the only one which doesn't give my error is :
<tobiasBora>
#load "/usr/lib/ocaml/ogg/ogg.cma";;
<tobiasBora>
However when I try to use functions from this library I've errors :
<tobiasBora>
let (stream_t, file_descriptor) = Sync.create_from_file file_name;;
<tobiasBora>
let (stream_t, file_descriptor) = Sync.create_from_file file_name;;
<tobiasBora>
oups
<tobiasBora>
Error: Unbound module Sync
<tobiasBora>
I tried differents module name and it's always the same problem.
<tobiasBora>
Any idea ?
<tobiasBora>
(And if you have a way to list all libraries available directly with #load "name.cma", could you tell me please ?
<tobiasBora>
)
<Anarchos>
tobiasBora no idea
<dsheets>
tobiasBora, Ogg.Sync.create_from_file ?
<tobiasBora>
Anarchos: Ok thanks.
<tobiasBora>
dsheets: I tried but same error : Error: Unbound module Ogg
<tobiasBora>
But I think it's strange that I need to write the total path to the file library... Why Ocaml doesn't know this library ? Should I "refresh" the ocaml library list ?
<dsheets>
tobiasBora, you should use ocamlfind (and, preferably, opam)
<dsheets>
this library works for me after $ sudo apt-get install libogg-dev and $ opam install ogg
ontologiae has quit [Ping timeout: 268 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
<tobiasBora>
dsheets: I don't have opam installed, and it's not in the repository
<dsheets>
tobiasBora, ah, it is coming soon to testing now that wheezy is out