All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Assmann <sassmann@kpanic.de>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: backports@vger.kernel.org
Subject: Re: coccinelle-1.0.0-rc20 compile issue
Date: Mon, 07 Apr 2014 12:18:48 +0200	[thread overview]
Message-ID: <53427B88.50606@kpanic.de> (raw)
In-Reply-To: <alpine.DEB.2.10.1404071128260.3433@hadrien>

On 07.04.2014 11:29, Julia Lawall wrote:
>
>
> On Mon, 7 Apr 2014, Stefan Assmann wrote:
>
>> Hi Julia,
>>
>> when trying to compile coccinelle rc20 on RHEL6 I ran into the following
>> issue.
>> ./configure
>> make all
>> [...]
>> /usr/bin/ocamlc.opt -g  -I ../commons -I ../commons/ocamlextra -I
>> ../commons/ocollection -I ../globals -I  ../parsing_cocci  -c
>> type_annoter_c.mli
>> /usr/bin/ocamlc.opt -g  -I ../commons -I ../commons/ocamlextra -I
>> ../commons/ocollection -I ../globals -I  ../parsing_cocci  -c
>> type_annoter_c.ml
>> File "type_annoter_c.ml", line 204, characters 4-23:
>> Error: Unbound value StringMap.singleton
>> make[5]: *** [type_annoter_c.cmo] Error 2
>> This doesn't happen with rc19.
>
> What is the verion of OCaml?  Indeed, I believe that the use of maps is
> new.

# rpm -qa |grep ocaml
ocaml-ocamldoc-3.11.2-2.el6.x86_64
ocaml-3.11.2-2.el6.x86_64
ocaml-findlib-1.2.5-5.el6.x86_64
ocaml-camlp4-3.11.2-2.el6.x86_64
ocaml-camlp4-devel-3.11.2-2.el6.x86_64
ocaml-runtime-3.11.2-2.el6.x86_64

>
>> When compiling on Fedora 20 there's no error but when I run
>> make install
>> [...]
>> cp ocaml/coccilib.cmi ocaml/coccilib/coccilib.cmi
>> cp: cannot create regular file ‘ocaml/coccilib/coccilib.cmi’: No such
>> file or directory
>> make: *** [ocaml/coccilib/coccilib.cmi] Error 1
>>
>> The Makefile is probably just missing a 'mkdir ocaml/coccilib'.
>
> Did you have any error on the configure?  I have some version of Fedora,
> so i may be able to test this later today.

I didn't spot any errors. Here's a paste.
http://fpaste.org/92207/39686580/

Thanks!

   Stefan

  reply	other threads:[~2014-04-07 10:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07  8:59 coccinelle-1.0.0-rc20 compile issue Stefan Assmann
2014-04-07  9:29 ` Julia Lawall
2014-04-07 10:18   ` Stefan Assmann [this message]
2014-04-07 13:13     ` Julia Lawall
2014-04-07 13:16       ` Stefan Assmann
2014-04-07 13:22       ` Johannes Berg
2014-04-07 13:26         ` Julia Lawall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53427B88.50606@kpanic.de \
    --to=sassmann@kpanic.de \
    --cc=backports@vger.kernel.org \
    --cc=julia.lawall@lip6.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.