Giter VIP home page Giter VIP logo

erlocaml's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

erlocaml's Issues

Compilation error (Unbound module OUnit)

1.
Trying to use "make" without parameters.

2.
I get the following when trying to run make:
...
File "test/tests.ml", line 1, characters 0-10:
Unbound module OUnit
Command exited with code 2.
make: *** [all] Error 10

3.
I have the latest version to date, revision 24, from 2008/04/08. I'm
running Ubuntu.

4.
Hi, im a student at uppsala uni. I've just started working on my master
thesis regarding cooperation between erlang and ocaml, with specific focus
on the ss7 stack. In this I will be working with Dragan, who posted an
issue last week i belive. It looks like the erlocaml project will be at the
center or my thesis! :)

Original issue reported on code.google.com by [email protected] on 8 Apr 2008 at 10:00

Test example (running issue + badmatch error)

Hello all,

I think that you are doing a great job and I am very interested to see how
long this project can go. If I understand correctly this is a project in
early phase and many small errors are still present. I hope that this
report will help you in your further development.

1. First issue is that compilation creates node_double.byte in ocamlerl
directory (i.e. symbolic link to _build/ex/node_double.byte). However this
is not what test script wants (../ex/node_double &), which will cause error:

Test ./double.sh: Run the ocaml server.
./double.sh: line 10: ../ex/node_double: No such file or directory


2. When test script (double.sh) is modified to use the right "binary"
(../node_double.byte) and node_double.byte is made executable (chmod a+x
node_double.byte) then testing proceeds and both ocaml and erlang vm's are
started. Then we get more interesting problem:
-------------------------
dragan@jelen:test$ ./double.sh

Test ./double.sh: Run and stop an erlang node to ensure epmd is running.

Test ./double.sh: Run the ocaml server.
OK a
OK b
ok
b
a
19:16:16: INFO   : thr 000: Node_double: Creating node
19:16:16: INFO   : thr 000: Enode: Making node 'ocaml@devhost'
19:16:16: DEBUG  : thr 000: Econn: Node server listening on port 46928
(node 'ocaml@devhost')
19:16:16: INFO   : thr 000: Enode: Node:
    name: ocaml@devhost
    PID manager:
        creation: None
        pid_count: 0
        serial: 0
    MBoxes manager:
        pidMboxMap length: 0
        nameMboxMap length: 0
19:16:16: INFO   : thr 000: Epmc: Epmc connecting to EPMD(localhost, 4369)
for node 'ocaml@devhost' listening on port 46928
19:16:16: DEBUG  : thr 000: Epmc: Sync on receiving published_event
19:16:16: DEBUG  : thr 001: Epmc: Sync on sending published_event
19:16:16: DEBUG  :19:16:16 :thr  001:DEBUG   :Epmc :t hSry nc on r003:
eceivinServ: Bg stop_elvent
ocked on accept

Test ./double.sh: Run erlang node to interact with ocaml node.
19:16:17: DEBUG  : thr 003: Serv: New connection from 127.0.1.1
19:16:17: DEBUG  : thr 003: Serv: Blocked on accept
19:16:17: INFO   : thr 006: Serv: Handle connection 0
19:16:17: DEBUG  : thr 006: Econn: Received handshake message:
Msg_recv_name(5, 4095, erl_test@jelen)
19:16:17: DEBUG  : thr 006: Econn: Packed handshake msg: <<00 03 73 6F 6B >>
19:16:17: DEBUG  : thr 006: Econn: Packed handshake msg: <<00 18 6E 00 05
00 00 01 04 6C B2 0B 59 6F 63 61 6D 6C 40 64 65 76 68 6F 73 74 >>
19:16:17: DEBUG  : thr 007: Econn: Sender sent one packet
19:16:17: DEBUG  : thr 007: Econn: Sender sent one packet
{"init terminating in do_boot",{{badmatch,pang},[{erl_eval,expr,3}]}}
19:16:17: ERROR  : thr 006: Serv: handler of connection 0:
Failure("Handshake stream failure")
19:16:17: INFO   : thr 006: Serv: End of connection 0

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Test ./double.sh: Kill ocaml server

Test ./double.sh: RESULT=1 (0=ok)
dragan@jelen:test$                    
-------------------

I am using OTP-R11B-5

Regards,
Dragan

Original issue reported on code.google.com by [email protected] on 30 Mar 2008 at 5:33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.