<ptseng>
furthermore, when i delete all files containing 'caml', the older installer still refuses to install, saying that there's a newer version available
<ptseng>
which means that there's a registry somewhere...
fab_ has quit [Remote closed the connection]
ramkrsna has joined #ocaml
humasect has quit [Read error: 110 (Connection timed out)]
_JusSx_ has joined #ocaml
ramkrsna is now known as rK|tea
smimou has joined #ocaml
rK|tea is now known as ramkrsna
ramkrsna has quit ["Leaving"]
mattam has quit [Read error: 104 (Connection reset by peer)]
mattam has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
Snark has joined #ocaml
ramkrsna has joined #ocaml
Snark has quit ["Leaving"]
vegai has joined #ocaml
mkhl has joined #ocaml
bluestorm has joined #ocaml
Smerdyakov has joined #ocaml
Smerdyakov has quit [Client Quit]
mkhl has quit []
Raziel has quit [Read error: 104 (Connection reset by peer)]
Raziel has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
humasect has joined #ocaml
quamaretto has joined #ocaml
<ptseng>
does anyone know how to uninstall ocaml?
<humasect>
make uninstall if from source
<ptseng>
i downloaded the binary for os x
<ptseng>
and it has the makefile
<ptseng>
but it can't make uninstall
<humasect>
hm. the windows bundle installs into application directory and adds 1 or 2 env vars
<ptseng>
do you know what they are?
<ptseng>
it's probably similar for os x
<humasect>
it might be similar. OCAMLDIR if that is set like it is for win32 installer, then changing it and PATH can use your new installation if you are planning to make one
<humasect>
those two +)
<_JusSx_>
ptseng: why do you wonna remove ocaml?
<ptseng>
i downloaded 3.09
<ptseng>
but need 3.08.4 to install a package
<ptseng>
sorry i was away
<ptseng>
humasect: where can i find the file to alter those variables?
<ptseng>
i'm a bit of a newb when it comes to this stuff
<humasect>
on osx i am not sure where the system puts all envs, i don't think /etc/profile, but ~/.profile for users
<ptseng>
actually
<ptseng>
it is in fact /etc/profile :)
<ptseng>
does this look right? :
<ptseng>
# System-wide .profile for sh(1)
<ptseng>
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
<ptseng>
export PATH
<ptseng>
if [ "${BASH-no}" != "no" ]; then
<ptseng>
[ -r /etc/bashrc ] && . /etc/bashrc
<ptseng>
fi
<humasect>
hm it doesn't look to be set for ocaml though
<ptseng>
right
<humasect>
the installer should have entered OCAMLDIR and the PATH change in the same file
<humasect>
unless it just changed PATH. check with 'set' in Terminal.
<ptseng>
actually - i don't know why that doesn't work, but when i open up the 'configure' file, it has 'prefix=/usr/local' so i'll be fine
<ptseng>
thanks again!
<humasect>
it's two -'s =)
<humasect>
ok.
<humasect>
np
bluestorm is now known as bluedodo
bluedodo is now known as bluestorm
bluestorm is now known as bluestorme
bluestorme is now known as bluestorm
bluestorm is now known as bluestorm_
bluestorm_ is now known as bluestorm__
bluestorm__ is now known as bluestorm
<ptseng>
humasect: i just finished reinstalling caml via source, but when i try 'make uninsetall' again, it still does not work
<humasect>
hmm. try just installing the version you want via source
<ptseng>
should i delete files with "caml" first?
<ptseng>
or should it just install over
<ptseng>
and also - when i do 'which caml' again, there is still no return
<ptseng>
which you said was a sign of it not truly being installed?
<pango>
it means there's no executable binary called "caml" in your current $PATH
<pango>
and that it's not an alias or a script either
<ptseng>
is there anything i should do to fix that?
<ptseng>
or is it fine the way it is?
<pango>
I use debian packaging, so keeping my system clean and organized is easy
<humasect>
'which caml' or 'which ocaml' ?
<ptseng>
both return nothing
<humasect>
right, i don't think it should install a caml but an ocaml
<humasect>
install from source the version you would like
<ptseng>
i just did, but the result was the same
<humasect>
maybe put into --prefix=/opt/ocaml3.08.4/ and export PATH=/opt/ocaml3.08.4/bin:$PATH
<humasect>
what result?
<ptseng>
oh man...
<ptseng>
thanks a lot guys, but -
<ptseng>
it seems to be too much work for you and me to figure this out
<ptseng>
i will just wait until the next version release, which should be compatible with caml 3.09
<ptseng>
happy holidays! :)
<humasect>
happy holidays
mkhl has joined #ocaml
rongenre has joined #ocaml
<rongenre>
Is anyone particularly good at input channel stuff?
<bluestorm>
dontasktoask :p
<rongenre>
I'm finding input_line to be fairly slow -- i'm processing a big (> 1GB) file and, for instance /usr/bin/wc is much much faster than running input_line over the channel until it gets an EOF
<humasect>
wc could even be mmapping with a \n count..
<rongenre>
I looked up the source, it doesn't look like it. I was hoping that I could hack up a channel which did a big read from the file into memory and then worked from that buffer.
<humasect>
hm yeah, input_line might do per character also
<rongenre>
going to an extern pretty quickly, so it's harder to figure out
<rongenre>
Not sure how I'd set up a buffering channel though
Smerdyakov has joined #ocaml
vodka-goo has joined #ocaml
joshcryer has joined #ocaml
kenben has joined #ocaml
kenben has quit [Read error: 113 (No route to host)]
batdog is now known as batdog|gone
Smerdyakov has quit ["Leaving"]
vodka-goo has quit ["Connection reset by by pear"]