<tobiasBora>
Hello ! I have my own opam repository for local tests, and I would like to use the folder myopamrepo/packages/<mypackage.version>/ to put sources.
ontologiae has joined #ocaml
<tobiasBora>
However when I try to install my package I've an error like "can't find Makefile"
<tobiasBora>
Shouldn't that work without any pin command if my sources are in opam package folder ?
<ebzzry>
Kakadu: I've been at it for more than two weeks. I can manually download that file.
maattdd has joined #ocaml
<tobiasBora>
ebzzry: Do you have all dependencies, such as wget, or curl ?
q66 has quit [Quit: Leaving]
maattdd has quit [Ping timeout: 245 seconds]
f[x] has quit [Ping timeout: 252 seconds]
mcclurmc has quit [Remote host closed the connection]
tlockney_away is now known as tlockney
<ebzzry>
tobiasBora: Yes. I finally got it to work. curl insists on using IPv6. When it can't reach an IPv6-enabled server, it times out.
<ebzzry>
So what I did was that I forced it to use IPv4
<tobiasBora>
uhm ok...
<Kakadu>
tobiasBora:
<Kakadu>
You can use -v while isntalling
<Kakadu>
it will do all verbose
<Kakadu>
and you can look at build folders which opam creates
<Kakadu>
in ~/.opam/4.01.0/build/
tobiasBora has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Quit: Leaving.]
typedlambda has quit [Ping timeout: 252 seconds]
tlockney is now known as tlockney_away
typedlambda has joined #ocaml
rgrinberg has joined #ocaml
maattdd has joined #ocaml
philtor has joined #ocaml
avsm has quit [Quit: Leaving.]
shinnya has joined #ocaml
philtor has quit [Ping timeout: 252 seconds]
Hannibal_Smith has joined #ocaml
f[x] has joined #ocaml
probado has quit [Remote host closed the connection]
ollehar has joined #ocaml
ontologiae has quit [Ping timeout: 276 seconds]
axiles_ has joined #ocaml
tane has quit [Quit: Verlassend]
maattdd has quit [Ping timeout: 264 seconds]
rossberg has quit [Ping timeout: 240 seconds]
axiles has quit [Ping timeout: 264 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
rgrinberg has quit [Quit: Leaving.]
topher has joined #ocaml
yacks has quit [Ping timeout: 252 seconds]
eikke__ has joined #ocaml
maattdd has joined #ocaml
f[x] has quit [Ping timeout: 276 seconds]
rgrinberg has joined #ocaml
tnguyen has joined #ocaml
tiglionabbit has joined #ocaml
<tiglionabbit>
I’m trying to `opam install eliom` on my mac, but when it gets to “Building menhir.20130912:” it just hangs there forever
<tiglionabbit>
it’s been at that step for 10 hours now
<Kakadu>
can you install menhir without any packages?
<Kakadu>
also you can go to ~/.opam/4.01.0/build directory and rerun build manually
<Kakadu>
if you have telled opan to keep build dir (-b option AFAIR)
<Kakadu>
I'm trying to build menhir and I don't have this issue
<tiglionabbit>
there’s no numbered directory inside my .opam directory
<Kakadu>
4.01.0 is compiler version
<Kakadu>
What compiler do you use?
<Kakadu>
probably system compiler
<tiglionabbit>
how do I check?
<tiglionabbit>
I installed everything yesterday using homebrew for mac os x
maattdd has quit [Ping timeout: 245 seconds]
<Kakadu>
'opam switch' and see on what line C letter exists
<Kakadu>
anyway, most common practive is to install compiler using opam into ~/.opam
<tiglionabbit>
system compiler (4.01.0)
<Kakadu>
using `opam switch compiler-version`
<Kakadu>
probably you need ~/.opam/system for system compiler
<Kakadu>
and ~/.opam/system/build
<tiglionabbit>
ok I see it
<tiglionabbit>
what do I do with the build directory?
<Kakadu>
there are directories where build was performed
<Kakadu>
if you have used -b option
axiles_ has quit [Quit: Quitte]
<Kakadu>
so you need to run `opam install menhir -b -v`
<Kakadu>
and see if build directory is available
<Kakadu>
anyway
<Kakadu>
your message is very strange
<tiglionabbit>
it is there
<Kakadu>
I can't even grep menhir's source for this kind of message
<tiglionabbit>
it also contains a file called menhir-30624-ffb3fd.err with only one line containing that Starting the server message
<tiglionabbit>
that line does not appear in any other file
<tiglionabbit>
though it says src/_build/ocamlbuild has the word “Starting” in it at least
<gasche>
"the server" looks like a thing eliom would do, not menhir
<Kakadu>
gasche: yes, error is rather strange
<tiglionabbit>
yeah but it happens when I just tell it to install menhir
<gasche>
indeed
<tiglionabbit>
is there an issue tracker for menhir?
<tiglionabbit>
or do I have to post on a mailing list?
<gasche>
the dev is rather primitive infrastructure-wise, so it would be "mail him directly"
<gasche>
it's rather likely to be an outer infrastructure problem, though
<Drup>
(I can tell you it's not related to eliom)
<gasche>
:p
<gasche>
tiglionabbit: you could try installing a non-system opam switch
<gasche>
eg. "opam switch install 4.01.0"
<gasche>
("system" is the name for the configuration that opam found on the system before it was installed; it is then able to install other OCaml installation in parallel, with different versions or options)
<tiglionabbit>
the system one is what I installed with homebrew for mac
<gasche>
at least you would get upstream OCaml and not the possibly-patched brew one, which makes sorting out things a bit easier
<tiglionabbit>
ok
<gasche>
(yeah presumably you asked brew to build first OCaml, then opam)
<tiglionabbit>
wow
<tiglionabbit>
that ended in “Starting the server” too
<tiglionabbit>
I guess I can’t install anything?
<gasche>
sounds like an opam issue then
WraithM has quit [Ping timeout: 245 seconds]
<gasche>
(or opam-through-homebrew)
<tiglionabbit>
what should I do?
WraithM has joined #ocaml
johnnydiabetic has joined #ocaml
jeregrine has joined #ocaml
<gasche>
tiglionabbit: would you upload the "opam switch install" logs somewhere?
<gasche>
I'm curious about where you got that message again
<tiglionabbit>
scrollback is too far. Does it record this somewhere?
<gasche>
it's inclear whether that's actually opam-related, but the people there know a lot about OSX build problems so they may know better
<tiglionabbit>
ok
<gasche>
( opam-repository/issues is for bugs in the OPAM metadata, while opam/issues is for bugs in the tool itself, but is rather used for more specific things )
<gasche>
be sure to show that the failure happens in both apparently unrelated places
eikke__ has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
alpounet has quit []
rgrinberg has joined #ocaml
jeregrine has quit [Ping timeout: 258 seconds]
eizo has quit [Ping timeout: 240 seconds]
clog has quit [Ping timeout: 252 seconds]
pgomes has quit [Quit: Leaving]
Hannibal_Smith has quit [Ping timeout: 276 seconds]
jeregrine has joined #ocaml
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 265 seconds]
johnnydiabetic has quit [Ping timeout: 252 seconds]
axiles has joined #ocaml
SethTisue has quit [Quit: SethTisue]
Gertm has left #ocaml ["WeeChat 0.4.3"]
Kakadu has quit [Quit: Konversation terminated!]
maattdd has joined #ocaml
Submarine has quit [Remote host closed the connection]
jeregrine has quit [Ping timeout: 276 seconds]
SethTisue has joined #ocaml
SethTisue has quit [Remote host closed the connection]
cesar_ has joined #ocaml
SethTisue has joined #ocaml
cesar_ is now known as Guest46448
Arsenik has quit [Remote host closed the connection]
<nicferrier>
I'm trying to use conf-ocaml. I installed it with opam.. I run ocamlc in a process with the opam env vars set and I ocamlc with -I +curl myprogram.ml
<nicferrier>
it looks like I don't need to "open" curl inside my program. is that right?
<nicferrier>
it's not working :-(
<mrvn>
don't open, user Curl.name
<mrvn>
-r
<nicferrier>
I'm getting "Unbound module Curl"
<mrvn>
then the +curl isn't working or the curl module isn't called Curl
<mrvn>
or you simply don't have it installed
<nicferrier>
I see the package in .opam/packages/conf-libcurl
clog has joined #ocaml
<nicferrier>
I am not sure how to check that I have the package.
<Drup>
nicferrier: please read the opam description of conf-libcurl :)
<nicferrier>
it just says "Virtual package relying on a libcurl system installation. This package can only install if the libcurl is installed on the system."
<nicferrier>
libcurl IS installed. I'm using it from D with no problem.
<Drup>
it should be clear enough it's not an actual ocaml library
<Drup>
the correct package is "ocurl"
<nicferrier>
right. I agree it's a C lib. does that mean I can't ask the quesiton here.
<nicferrier>
how could I tell that?
<Drup>
well, I just did "opam search curl" and read the description
<nicferrier>
oh. I was using another one called conf-libcurl
<nicferrier>
thanks.
maattdd has quit [Ping timeout: 252 seconds]
<Drup>
as a general rules, package starting in "conf-" don't contain ocaml library, they are just there to check that a given C library or whatever is installed in the system
<nicferrier>
ah. thanks.
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
racycle has joined #ocaml
eikke__ has quit [Ping timeout: 276 seconds]
eikke__ has joined #ocaml
topher has left #ocaml [#ocaml]
<nicferrier>
still can't get it to work. do i -I +ocurl or -I +curl ? is it looking in the package dir structure or somewhere else?
<nicferrier>
and an immediate criticism of this, as of all build tools, is that you do seem to have to know what you're doing quite well before you start using it.
<nicferrier>
"Defining Libraries" - I wouldn't be able to do that as a beginner any more than I was able to do it from the command line. You need 100 examples with different things so muppets like me can just try things until we understand.
eikke__ has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Quit: Leaving.]
<Drup>
why did you went there ? you're trying to build an executable, not a library :)
<nicferrier>
oic. that's what it means.
<nicferrier>
I'll give oasis a go. thanks.
eikke__ has joined #ocaml
jeregrine has joined #ocaml
SethTisue has quit [Quit: SethTisue]
WraithM has joined #ocaml
darkf has joined #ocaml
maattdd has joined #ocaml
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
<bernardofpc>
Drup: OASIS allows to give -> OASIS gives ?
maattdd has quit [Ping timeout: 252 seconds]
<Drup>
hum, OASIS doesn't give it, you do it using OASIS
NoNNaN has quit [Remote host closed the connection]
<bernardofpc>
oh, I see
<bernardofpc>
so probably you could write "With OASSIS, one can give ...."
NoNNaN has joined #ocaml
<Drup>
(my english is very far from being perfect, remarks are welcome ;))
<bernardofpc>
permet de donner is unenglish, I fear
<bernardofpc>
(if that's what you meant)
<Drup>
that's what I meant, yes :D
<Drup>
(except I didn't really translated from french, but yes)
<bernardofpc>
so, I'd start more from the ground, like "OASIS is (a build tool / a build helper / ???) for OCaml projects. With it, one can give ... packaging information for you. Therefore, you can setup your project in a quick and simple way.\n\n"
maattdd has joined #ocaml
<Drup>
does it really change anything ?
<Drup>
The meanings is really the same to me, just the formulation more convoluted
<bernardofpc>
Then, when you start "filling up |_oasis| by parts", I guess it would be nice to tell : "An _oasis file has many parts, let's look at each in steps"
tlockney is now known as tlockney_away
<bernardofpc>
Well, I don't think it is easy to understand "allow to give" / "allow to set up", English, I think, does not have implicit subject in phrases
<bernardofpc>
And I'm all for an introductory phrase sayin *what* is OASIS, anyway
<bernardofpc>
but that's not the most important
<Drup>
huum, ok
jao has quit [Ping timeout: 264 seconds]
<bernardofpc>
oh dear, oasis is python-indentation-like ?
<Drup>
yes =')
<bernardofpc>
hum, why would you check in oasis-generated files ?
<Drup>
convenience > silly sense of "clean-ess"
<bernardofpc>
for other people not having oasis installed that checkout ?
<Drup>
not really, since the dynamic setup needs oasis
<bernardofpc>
oh
<bernardofpc>
strange... I don't see the purpose of keeping a generated file under revision control... would anyone ever change those files bypassing OASIS ?
<bernardofpc>
I mean, nobody checkins their a.out ?