how to get a FIXED ocaml ?!

Asked by aubert

Bonjour,

 In our favorite distrib. i.e Debian, we have a
libocamlbricks-ocaml-dev 0.5.1-4+b4 (Sid)
                                                   b2 Stable
and also an ocaml 3.12.0_7 and family

should I run one of these to avoid the "well known bug" with ocaml 11 :

File "chip/chip_parser_p4.ml", line 52, characters 69-72:
While expanding quotation "ctyp" in a position of "expr":
  Parse error: EOI expected after [quotation of type] (in [quotation of type])

which I get by running "compil from sources"

or :

//tmp/marionnet_from_scratch.ehB2ju8X/camlasm90384d.s: Assembler messages:
//tmp/marionnet_from_scratch.ehB2ju8X/camlasm90384d.s: Error: .size expression for camlRandom__rawfloat_126 does not evaluate to a constant
File "random.ml", line 1, characters 0-1:
Error: Assembler error, input left in file //tmp/marionnet_from_scratch.ehB2ju8X/camlasm90384d.s
make[3]: *** [random.cmx] Erreur 2
make[3]: quittant le répertoire « /tmp/marionnet_from_scratch.ehB2ju8X/ocaml-3.11.2/stdlib »
make[2]: *** [libraryopt] Erreur 2
make[2]: quittant le répertoire « /tmp/marionnet_from_scratch.ehB2ju8X/ocaml-3.11.2 »
make[1]: *** [opt-core] Erreur 2
make[1]: quittant le répertoire « /tmp/marionnet_from_scratch.ehB2ju8X/ocaml-3.11.2 »
make: *** [world.opt] Erreur 2
cp: impossible d'évaluer « tools/objinfo »: Aucun fichier ou dossier de ce type

which I get from running marionnet_from_scratch
(where I had to add "à la main" libxft-dev since it's buggy from Lenny on and I have apt-listbugs installed)

Would you please tell me where-what to change to get to have Marionnet ;)
since although I installed recent ocalm things, Marionnet seems to stick to 11
I'm not a coder, but a 6 years long Debian user, I think I could manage...

Hw&sw :

I checked the ia32-libs family were ok, before and after : ok nothing broken
or should I chroot32 ?

-Computer-
Processor : 2x Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Memory : 2061MB (264MB used)
Operating System : Debian GNU/Linux wheezy/sid x86_64
-Display-
Resolution : 1440x900 pixels
OpenGL Renderer : Gallium 0.4 on ATI RV530
X11 Vendor : The X.Org Foundation

Thank you for your kind attention

Question information

Language:
English Edit question
Status:
Answered
For:
marionnet Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Luca Saiu (saiu) said :
#1

Hello. Unfortunately the ocamlbricks version packaged in Debian is very old and incompatible with a recent Marionnet.

I think I remember this problem:

//tmp/marionnet_from_scratch.ehB2ju8X/camlasm90384d.s: Assembler messages:
//tmp/marionnet_from_scratch.ehB2ju8X/camlasm90384d.s: Error: .size expression for camlRandom__rawfloat_126 does not evaluate to a constant

Was it a compiler bug? I don't remember for sure and we don't have any lenny machines any longer, but I think I remember the thing went away by using a more recent ocaml compiler (still in the 3.11 family). Have you tried to explicitly rebuild ocaml when using marionnet_from_scratch? The script should allow it; try running it with the option --help to discover how.

Please write us again if you find any problem. Lenny is getting old, but we would like to keep it working if possible.

Thanks,

Revision history for this message
aubert (meamedia) said :
#2

Hi Luca,

thank you for answering-

It is not Lenny that I use, but Sid/Wheezy, with update every morning :)

Revision history for this message
kadee (grazingcows) said :
#3

Hi,

It is not very becoming not to support your own software, professor.

I was trying to build Marionnet on Debian Wheezy/Sid with Ocaml 4.00 and have had a similar experience. The suggestion to use the latest OCaml version did not work with the script. I used marionnet_from_scratch.sh versio 0.90.13 and successfully build with the godi option: './marionnet_from_scratch.sh -g'.

With kind regards,

Rajiv Singh

Revision history for this message
Luca Saiu (saiu) said :
#4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le jour 2012-09-27 à 22h01, kadee a écrit :

> It is not very becoming not to support your own software, professor.

Mr Singh, maybe you do not understand that Marionnet is a volunteer
project. Nobody is currently paid to work on Marionnet, and its
contributors have a full-time job as well. Jean-Vincent is actually
working a lot on Marionnet these days, and has recently committed
several nice improvements. Given his work constraints, he's doing a
lot: please do not alienate him just because he can't do *everything* at
once.

>I was trying to build Marionnet on Debian Wheezy/Sid with Ocaml 4.00 and
>have had a similar experience. The suggestion to use the latest OCaml
>version did not work with the script. I used marionnet_from_scratch.sh
>versio 0.90.13 and successfully build with the godi option:
>'./marionnet_from_scratch.sh -g'.

Thanks, this information is useful.

Regards,

- --
Luca Saiu
Home page: http://www-lipn.univ-paris13.fr/~saiu
GNU epsilon: http://www.gnu.org/software/epsilon
Marionnet: http://www.marionnet.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlBlbwcACgkQvzOavibF0oYMGQCcDboWPELose1cCUAGZlqOaUGS
0z8AoK25qzbmDgTjs2WWF6q2ZN8pBlkj
=zmg2
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask aubert for more information if necessary.

To post a message you must log in.