I am unable to get cean to work on my system. I’ll describe the system later, but let me show the symptoms first.
(1) When I do cean:available() the resultant list shows lines of HTML.
Eshell V5.7.2 (abort with ^G)
1> cean:available().
[" <li class=\"last\"><a >Contribute</a></li>",
" <li><a >Home</a></li>",
" <li><a >About</a></li>",
" <li><a >Documentation</a></li>",
" <li><a >Downloads</a></li>",
... etc
Checking with tcpdump, I see that it is actually sending
GET /R13B/devel/linux-x86.vsnlst HTTP/1.1
and getting a 404 error page back.
(2) cean:search actually seems to work.
2> cean:search(ldap).
[{"erldir","erldir is an open source DNS and LDAP server"},
{"eldap","This is the Erlang LDAP library"}]
(3) cean:install fails with “failed to find dependencies: no_pub_file”.
3> cean:install(eldap).
eldap was not installed. failed to find dependencies: no_pub_file
error
4>
A tcpdump shows it sending
GET /R13B/meta/eldap.pub HTTP/1.1
Host: cean.process-one.net
and again getting a 404.
Now, if I point a browser at http://cean.process-one.net/R13B/ I get a 404, but if I point it at http://cean.process-one.net/R12B/ I get a directory listing. So I’m guessing the problem may be as simple as cean not supporting R13B yet - in which case, are there plans to do so? However if that is the problem, then at least the error handling of the cean client could be made a whole lot better.
Regards,
Brian.
Platform details: (X)ubuntu Karmic with its default erlang R13B01. Unfortunately, ubuntu doesn’t have erlang-cean or erlang-ibrowse packages. So I untarred cean-1.4 and ibrowse-1.4.1 into ~/erl_lib and set ERL_LIBS to /home/brian/erl_lib. I had to compile ibrowse using
cd src
mkdir ../ebin
make
ibrowse has a separate c_src directory which I ignored, as there’s no makefile except a build script for darwin.
I also created a file /usr/lib/erlang/VERSION containing:
CEAN Erlang/OTP R13B-1 erts-5.7.2 linux-x86 devel
and added a couple of lines to /usr/bin/erl:
export ARCHDIR=linux-x86
export CEAN_SERVER="http://cean.process-one.net"
