All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
@ 2015-05-08 23:12 Fabio Estevam
  2015-05-08 23:19 ` Sébastien Hinderer
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2015-05-08 23:12 UTC (permalink / raw)
  To: cocci

Hi,

I am trying to install Coccinelle 1.0.0 (retrieved from the git) on a
Ubuntu 14.04 PC and I am getting the following error:

make[4]: Entering directory `/home/fabio/coccinelle'
make[5]: Entering directory `/home/fabio/coccinelle/bundles/parmap'
cd parmap-1.0-rc5-patched && \
      make && \
      cd ..
make[6]: Entering directory
`/home/fabio/coccinelle/bundles/parmap/parmap-1.0-rc5-patched'
/usr/bin/ocamlbuild -j 10 -use-ocamlfind  parmap.cma  parmap.cmxa
parmap.cmxs parmap.a
Finished, 1 target (0 cached) in 00:00:00.
Finished, 23 targets (0 cached) in 00:00:00.
make[6]: Leaving directory
`/home/fabio/coccinelle/bundles/parmap/parmap-1.0-rc5-patched'
mv parmap-1.0-rc5-patched/_build/* .
make[5]: Leaving directory `/home/fabio/coccinelle/bundles/parmap'
make[4]: Leaving directory `/home/fabio/coccinelle'
make[4]: Entering directory `/home/fabio/coccinelle'
make[5]: Entering directory `/home/fabio/coccinelle/commons'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/fabio/coccinelle/commons'
make[4]: Leaving directory `/home/fabio/coccinelle'
make[4]: Entering directory `/home/fabio/coccinelle'
make[5]: Entering directory `/home/fabio/coccinelle/globals'
/usr/bin/ocamlc.opt -g  -I ../commons -I /usr/lib/ocaml/pcre -c regexp_pcre.ml
File "./regexp_pcre.ml", line 22, characters 32-43:
Error: Unbound module Pcre
make[5]: *** [regexp_pcre.cmo] Error 2
make[5]: Leaving directory `/home/fabio/coccinelle/globals'
make[4]: *** [globals.all] Error 2
make[4]: Leaving directory `/home/fabio/coccinelle'
make[3]: *** [subdirs.all] Error 1
make[3]: Leaving directory `/home/fabio/coccinelle'
make[2]: *** [byte] Error 2
make[2]: Leaving directory `/home/fabio/coccinelle'
make[1]: *** [all-dev] Error 2
make[1]: Leaving directory `/home/fabio/coccinelle'
make: *** [all] Error 2

Any ideas on how to solve this?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
  2015-05-08 23:12 [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04 Fabio Estevam
@ 2015-05-08 23:19 ` Sébastien Hinderer
  2015-05-08 23:41   ` Fabio Estevam
  2015-05-09  4:55   ` Julia Lawall
  0 siblings, 2 replies; 6+ messages in thread
From: Sébastien Hinderer @ 2015-05-08 23:19 UTC (permalink / raw)
  To: cocci

Hi Fabio,


Fabio Estevam (2015/05/08 20:12 -0300):
> File "./regexp_pcre.ml", line 22, characters 32-43:
> Error: Unbound module Pcre

Strange that the module is not found. What do you see related to regexp
in the output o configure, please? If you are unsure, could you please
send configure's output?

S?bastien.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
  2015-05-08 23:19 ` Sébastien Hinderer
@ 2015-05-08 23:41   ` Fabio Estevam
  2015-05-09  0:23     ` Fabio Estevam
  2015-05-09  4:55   ` Julia Lawall
  1 sibling, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2015-05-08 23:41 UTC (permalink / raw)
  To: cocci

Hi S?bastien,

On Fri, May 8, 2015 at 8:19 PM, S?bastien Hinderer
<Sebastien.Hinderer@inria.fr> wrote:

> Strange that the module is not found. What do you see related to regexp
> in the output o configure, please? If you are unsure, could you please
> send configure's output?

In the output of ./configure I see only one reference to regexp:

config.status: creating globals/regexp.ml

If you would like to check the full output, please check:
http://pastebin.com/ACMD7gw0

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
  2015-05-08 23:41   ` Fabio Estevam
@ 2015-05-09  0:23     ` Fabio Estevam
  2015-05-10 21:01       ` Sébastien Hinderer
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2015-05-09  0:23 UTC (permalink / raw)
  To: cocci

On Fri, May 8, 2015 at 8:41 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi S?bastien,
>
> On Fri, May 8, 2015 at 8:19 PM, S?bastien Hinderer
> <Sebastien.Hinderer@inria.fr> wrote:
>
>> Strange that the module is not found. What do you see related to regexp
>> in the output o configure, please? If you are unsure, could you please
>> send configure's output?
>
> In the output of ./configure I see only one reference to regexp:
>
> config.status: creating globals/regexp.ml
>
> If you would like to check the full output, please check:
> http://pastebin.com/ACMD7gw0

Ok, got it build after installing the libpcre-ocaml-dev package.

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
  2015-05-08 23:19 ` Sébastien Hinderer
  2015-05-08 23:41   ` Fabio Estevam
@ 2015-05-09  4:55   ` Julia Lawall
  1 sibling, 0 replies; 6+ messages in thread
From: Julia Lawall @ 2015-05-09  4:55 UTC (permalink / raw)
  To: cocci



On Sat, 9 May 2015, S?bastien Hinderer wrote:

> Hi Fabio,
> 
> 
> Fabio Estevam (2015/05/08 20:12 -0300):
> > File "./regexp_pcre.ml", line 22, characters 32-43:
> > Error: Unbound module Pcre
> 
> Strange that the module is not found. What do you see related to regexp
> in the output o configure, please? If you are unsure, could you please
> send configure's output?

It's a known problem.  For some reason, the configure mechanism doesn't 
work for Pcre.  Whether you select to have it or not, you have to have it.  
Just install it, and things will go better (this is not intended as the 
definitive solution, but we haven't had time to work on it).

julia

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04
  2015-05-09  0:23     ` Fabio Estevam
@ 2015-05-10 21:01       ` Sébastien Hinderer
  0 siblings, 0 replies; 6+ messages in thread
From: Sébastien Hinderer @ 2015-05-10 21:01 UTC (permalink / raw)
  To: cocci

Fabio Estevam (2015/05/08 21:23 -0300):
> On Fri, May 8, 2015 at 8:41 PM, Fabio Estevam <festevam@gmail.com> wrote:
> > Hi S?bastien,
> >
> > On Fri, May 8, 2015 at 8:19 PM, S?bastien Hinderer
> > <Sebastien.Hinderer@inria.fr> wrote:
> >
> >> Strange that the module is not found. What do you see related to regexp
> >> in the output o configure, please? If you are unsure, could you please
> >> send configure's output?
> >
> > In the output of ./configure I see only one reference to regexp:
> >
> > config.status: creating globals/regexp.ml
> >
> > If you would like to check the full output, please check:
> > http://pastebin.com/ACMD7gw0
> 
> Ok, got it build after installing the libpcre-ocaml-dev package.

Thanks. IT is true that coccinelle's current build system does not make a
good job at veryfing that the necessary development files are properly
installed.

S?bastien.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-10 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08 23:12 [Cocci] Installing Coccinelle 1.0.0 on Ubuntu 14.04 Fabio Estevam
2015-05-08 23:19 ` Sébastien Hinderer
2015-05-08 23:41   ` Fabio Estevam
2015-05-09  0:23     ` Fabio Estevam
2015-05-10 21:01       ` Sébastien Hinderer
2015-05-09  4:55   ` Julia Lawall

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.