Hrundi_V_Bakshi has quit [Ping timeout: 272 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
olle has quit [Ping timeout: 240 seconds]
olle has joined #ocaml
FreeBirdLjj has joined #ocaml
HyperTables has joined #ocaml
<HyperTables>
how can I determine what ocaml's build dependencies are? I mean the programs you need to have installed to be able to build the ocaml compiler and runtime
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 264 seconds]
wingsorc has quit [Quit: Leaving]
jao has quit [Remote host closed the connection]
mfp has quit [Ping timeout: 265 seconds]
vicfred has quit [Quit: Leaving]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
ArthurSt1ong has joined #ocaml
ArthurStrong has quit [Ping timeout: 258 seconds]
dborisog_ has joined #ocaml
dborisog_ is now known as dborisog
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
waleee-cl has quit [Quit: Connection closed for inactivity]
narimiran has joined #ocaml
vicfred has joined #ocaml
vicfred has quit [Max SendQ exceeded]
ArthurSt1ong has quit [Read error: Connection reset by peer]
vicfred has joined #ocaml
def has quit [Remote host closed the connection]
mbuf has joined #ocaml
<hannes>
HyperTables: if you're on Unix, and have a shell, the "./configure" script should error if it can't find its dependencies -- from the top off my head you need (a) a C compiler (b) an assembler (c) a linker (d) a GNU make
def has joined #ocaml
<flux1>
HyperTables: get the debian source package and look at its configuration?-)
<flux1>
I imagine the README or BUILDING or some such would just list the dependencies 🤔, but hannes' way seems to most precise
chripell has joined #ocaml
chripell has quit [Client Quit]
chripell has joined #ocaml
Haudegen has joined #ocaml
zatumil has joined #ocaml
Anarchos has joined #ocaml
<theblatte>
olle: ;* would be nice IMO but isn't allowed yet
mfp has joined #ocaml
jbrown has joined #ocaml
chripell_ has joined #ocaml
def_ has joined #ocaml
def has quit [Quit: Reconnecting]
mal`` has quit [Ping timeout: 265 seconds]
mal`` has joined #ocaml
Niamkik has quit [Ping timeout: 265 seconds]
chripell has quit [Ping timeout: 265 seconds]
dckc_ has quit [Ping timeout: 265 seconds]
Niamkik has joined #ocaml
dckc_ has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
<theblatte>
olle: I don't think you can take credit for the idea so you'll have to make a PR for it to count :p
<olle_>
hm hm
<olle_>
i guess
<olle_>
I'll fork it and call it OCaml*
HyperTables has quit [Remote host closed the connection]
Haudegen has quit [Quit: Bin weg.]
tizoc` is now known as tizoc
waleee-cl has joined #ocaml
raver has quit [Remote host closed the connection]
HyperTables has joined #ocaml
<HyperTables>
does anyone here use ocaml with opam on gentoo? did you go with the system default opam or did you compile a more recent version?
<CcxWrk>
I ended up compiling everything from scratch, but my dev machine is awful mix of obsolete and current.
<CcxWrk>
So not the person that should be answering I guess.
<HyperTables>
well, you have a lot of knowledge then .. I'd really like to know how long that took since I'm weighting the options at this point and compiling the latest opam sounds like it would be advantageous over trying to live with 1.3.1
<Drup>
compiling opam is less than 5 minutes in nearly all cases
<Drup>
(I compile it locally, even if I don't use gentoo)
<HyperTables>
ok I will try that then
<Drup>
note that opam itself can compile opam
<CcxWrk>
With Gentoo you should have pretty much all the prerequisites in place already (headers, libraries, compiler…)
<HyperTables>
so I can get host opam installed and then compile up a replacement with opam? how does that get installed?
<Drup>
you move the binary yourself :p
<CcxWrk>
Usually things not managed by package manager get installed to /usr/local
<HyperTables>
hm ok. I thought it might have the ability to chainload another opam ..
<Drup>
why chainload when you can ... `cp`.
<Drup>
opam is just a CLI tool, chainloading doesn't make much sense
<CcxWrk>
So they won't clash with whatever portage installs into /usr and /opt (some distributions use /opt for custom installs, but Gentoo uses it for upstream binaries)
<HyperTables>
well, for non-root users for starters but I guess you can cp it into a user-specific path directory
<CcxWrk>
For per-user installs it's somewhat common to use ~/.local as --prefix
HyperTables has quit [Remote host closed the connection]
HyperTables has joined #ocaml
<HyperTables>
trying to build opam. ./configure tells me: configure: WARNING: Cannot find ocamlopt; bytecode compilation only. this sounds like a bad thing
Haudegen has joined #ocaml
olle_ has quit [Ping timeout: 260 seconds]
rosterok has joined #ocaml
<flux1>
well, not optimal, not horrible
<flux1>
do you have ocamlopt?
<flux1>
ocamlopt compiles native binaries, otherwise it needs to use the interpreter to run the files
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
tinga has quit [Remote host closed the connection]
tinga has joined #ocaml
AdmWiggin is now known as tianon
zolk3ri has quit [Remote host closed the connection]
landonf_ is now known as landonf
zolk3ri has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
<HyperTables>
does opam supply `-j"$(nproc)"` to make by default or must this be enabled somehow?
weechat_ is now known as taharqa
zolk3ri has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
chripell_ has quit [Quit: Leaving]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 265 seconds]
zolk3ri has quit [Remote host closed the connection]
oriba_ has joined #ocaml
raver has joined #ocaml
oriba_ is now known as oriba
rosterok has quit [Quit: Connection closed for inactivity]
<oriba>
how to get utf-8 symbols printed with ocaml-tmk (ncures)?
mbuf has quit [Quit: Leaving]
<Drup>
... avoid ncurses like the plague ?
<oriba>
in C it works, so maybe OCaml is the problem.... and every program should be infected with ncurses - to become better
dborisog has quit [Ping timeout: 256 seconds]
<Drup>
no, ncurses is a horrible API that only happens to work in C because you can't do better there
<Drup>
use notty or lambda-term instead
<oriba>
can they replace ncurses?
<Drup>
yes
<Drup>
actually, that's a bit misleading; they are both much much better than ncurses
<oriba>
what I mean is: are they powerful enough and fast enough to replace ncurses
<oriba>
are they on top of ncurses?
waleee-cl has joined #ocaml
<Drup>
they are not on top of ncurses, and both are very food libraries to write terminal UIs
<Drup>
good*
<oriba>
ok, maybe worth a try
Guest4145646 has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
<Armael>
I have heard that the lwd widgets for notty are also very good
<companion_cube>
they're very early days, but yes, they're awesome
towel_ is now known as towel
zolk3ri has joined #ocaml
Guest4145646 has quit [Quit: Connection closed]
zolk3ri has quit [Remote host closed the connection]