caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Problems installing with opam
@ 2016-03-28  3:08 Helmut Brandl
  2016-03-28  5:48 ` Mohamed Iguernlala
  2016-03-28 11:12 ` Mr. Herr
  0 siblings, 2 replies; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28  3:08 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]

I have severe problems installing some packages with opam. I want to 
install 'js_of_ocaml' with opam, but it cannot install the package 
'conf-pkg-config'. In trying to do this I get the error:

    opam install conf-pkg-config
    The following actions will be performed:
       ∗  install conf-pkg-config 1.0

    =-=- Gathering sources
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    =-=- Processing actions
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [ERROR] The compilation of conf-pkg-config failed at "pkg-config
    --help".

    #=== ERROR while installing conf-pkg-config.1.0
    ===============================#
    # opam-version 1.2.2
    # os           linux
    # command      pkg-config --help
    # path /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0
    # compiler     4.02.3
    # exit-code    127
    # env-file
    /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.env
    # stdout-file
    /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.out
    # stderr-file
    /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.err



    =-=- Error report
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    The following actions failed
       ∗  install conf-pkg-config 1.0
    No changes have been performed

    =-=- conf-pkg-config.1.0 troobleshooting
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    => This package relies on external (system) dependencies that may be
    missing. `opam depext conf-pkg-config.1.0' may help you find the
        correct installation for your system.


The recommended check does not give any information.

I have installed the version 4.02.3 successfully via opam and switched 
to that version.

Any ideas on how to analyze the problem?

Regards
Helmut


[-- Attachment #2: Type: text/html, Size: 2650 bytes --]

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28  3:08 [Caml-list] Problems installing with opam Helmut Brandl
@ 2016-03-28  5:48 ` Mohamed Iguernlala
  2016-03-28 12:32   ` Helmut Brandl
  2016-03-28 11:12 ` Mr. Herr
  1 sibling, 1 reply; 14+ messages in thread
From: Mohamed Iguernlala @ 2016-03-28  5:48 UTC (permalink / raw)
  To: Helmut Brandl, caml-list

[-- Attachment #1: Type: text/plain, Size: 2158 bytes --]

Hi,

I guess "pkg-config" is not installed on your system. Can you confirm
that by just trying "pkg-config --help" in a terminal ?

Regards,
Mohamed.

Le 28/03/2016 05:08, Helmut Brandl a écrit :
> I have severe problems installing some packages with opam. I want to 
> install 'js_of_ocaml' with opam, but it cannot install the package 
> 'conf-pkg-config'. In trying to do this I get the error:
>
>     opam install conf-pkg-config
>     The following actions will be performed:
>       ∗  install conf-pkg-config 1.0
>
>     =-=- Gathering sources
>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>     =-=- Processing actions
>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     [ERROR] The compilation of conf-pkg-config failed at "pkg-config
>     --help".
>
>     #=== ERROR while installing conf-pkg-config.1.0
>     ===============================#
>     # opam-version 1.2.2
>     # os           linux
>     # command      pkg-config --help
>     # path /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0
>     # compiler     4.02.3
>     # exit-code    127
>     # env-file
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.env
>     # stdout-file
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.out
>     # stderr-file
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.err
>
>
>
>     =-=- Error report
>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     The following actions failed
>       ∗  install conf-pkg-config 1.0
>     No changes have been performed
>
>     =-=- conf-pkg-config.1.0 troobleshooting
>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     => This package relies on external (system) dependencies that may
>     be missing. `opam depext conf-pkg-config.1.0' may help you find the
>        correct installation for your system.
>
>
> The recommended check does not give any information.
>
> I have installed the version 4.02.3 successfully via opam and switched 
> to that version.
>
> Any ideas on how to analyze the problem?
>
> Regards
> Helmut
>


[-- Attachment #2: Type: text/html, Size: 3262 bytes --]

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28  3:08 [Caml-list] Problems installing with opam Helmut Brandl
  2016-03-28  5:48 ` Mohamed Iguernlala
@ 2016-03-28 11:12 ` Mr. Herr
  2016-03-28 12:13   ` Francois Berenger
  1 sibling, 1 reply; 14+ messages in thread
From: Mr. Herr @ 2016-03-28 11:12 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 2267 bytes --]

All (really all?) the opam conf packages are just interfaces to the respective OS
packages,
so you would normally need the package plus the dev-package for it.

Just search with apt-cache, apt-file, or command-not-found (beware the recursion, the
latter two have to be installed :-)

/Str.

On 28.03.2016 05:08, Helmut Brandl wrote:
> I have severe problems installing some packages with opam. I want to install
> 'js_of_ocaml' with opam, but it cannot install the package 'conf-pkg-config'. In
> trying to do this I get the error:
>
>     opam install conf-pkg-config
>     The following actions will be performed:
>       ∗  install conf-pkg-config 1.0
>
>     =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>     =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     [ERROR] The compilation of conf-pkg-config failed at "pkg-config --help".
>
>     #=== ERROR while installing conf-pkg-config.1.0 ===============================#
>     # opam-version 1.2.2
>     # os           linux
>     # command      pkg-config --help
>     # path         /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0
>     # compiler     4.02.3
>     # exit-code    127
>     # env-file    
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.env
>     # stdout-file 
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.out
>     # stderr-file 
>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.err
>
>
>
>     =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     The following actions failed
>       ∗  install conf-pkg-config 1.0
>     No changes have been performed
>
>     =-=- conf-pkg-config.1.0 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     => This package relies on external (system) dependencies that may be missing.
>     `opam depext conf-pkg-config.1.0' may help you find the
>        correct installation for your system.
>
>
> The recommended check does not give any information.
>
> I have installed the version 4.02.3 successfully via opam and switched to that version.
>
> Any ideas on how to analyze the problem?
>
> Regards
> Helmut
>


[-- Attachment #2: Type: text/html, Size: 3418 bytes --]

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 11:12 ` Mr. Herr
@ 2016-03-28 12:13   ` Francois Berenger
  2016-03-28 12:27     ` Helmut Brandl
  0 siblings, 1 reply; 14+ messages in thread
From: Francois Berenger @ 2016-03-28 12:13 UTC (permalink / raw)
  To: caml-list

On 03/28/2016 01:12 PM, Mr. Herr wrote:
> All (really all?) the opam conf packages are just interfaces to the
> respective OS packages,
> so you would normally need the package plus the dev-package for it.
>
> Just search with apt-cache, apt-file, or command-not-found (beware the
> recursion, the latter two have to be installed :-)
>
> /Str.
>
> On 28.03.2016 05:08, Helmut Brandl wrote:
>> I have severe problems installing some packages with opam. I want to
>> install 'js_of_ocaml' with opam, but it cannot install the package
>> 'conf-pkg-config'. In trying to do this I get the error:
>>
>>     opam install conf-pkg-config
>>     The following actions will be performed:
>>       ∗  install conf-pkg-config 1.0
>>
>>     =-=- Gathering sources
>>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>>     =-=- Processing actions
>>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     [ERROR] The compilation of conf-pkg-config failed at "pkg-config
>>     --help".
>>
>>     #=== ERROR while installing conf-pkg-config.1.0
>>     ===============================#
>>     # opam-version 1.2.2
>>     # os           linux
>>     # command      pkg-config --help
>>     # path /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0
>>     # compiler     4.02.3
>>     # exit-code    127
>>     # env-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.env
>>     # stdout-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.out
>>     # stderr-file
>>     /home/helmut/.opam/4.02.3/build/conf-pkg-config.1.0/conf-pkg-config-11348-42bb52.err
>>
>>
>>
>>     =-=- Error report
>>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     The following actions failed
>>       ∗  install conf-pkg-config 1.0
>>     No changes have been performed
>>
>>     =-=- conf-pkg-config.1.0 troobleshooting
>>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>     => This package relies on external (system) dependencies that may
>>     be missing. `opam depext conf-pkg-config.1.0' may help you find the
>>        correct installation for your system.
>>
>>
>> The recommended check does not give any information.
>>
>> I have installed the version 4.02.3 successfully via opam and switched
>> to that version.
>>
>> Any ideas on how to analyze the problem?

Did you try what opam told you:

$ opam depext conf-pkg-config

If it does not work, try:

$ opam info --raw conf-pkg-config

This will list you the name of the needed system package for your Linux 
distribution.
Just by the name, I guess it's the package providing the command pkg-config.
If you are using an exotic linux distribution, tell use which one
and we may fix the package conf-pkg-config and even opam depext to work 
with your distribution.

-- 
Regards,
Francois.
"When in doubt, use more types"

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 12:13   ` Francois Berenger
@ 2016-03-28 12:27     ` Helmut Brandl
  0 siblings, 0 replies; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 12:27 UTC (permalink / raw)
  To: caml-list

On 03/28/2016 06:13 AM, Francois Berenger wrote:
> Did you try what opam told you:
>
> $ opam depext conf-pkg-config 

Yes, I have tried "depext", but this gave me no information. Using 
another hint I have discovered that "pkg-config" was missing on my 
system. Installing it resolved at least the problem that 
"conf-pkg-config" could not be installed by "opam".

>
> If you are using an exotic linux distribution, tell use which one
> and we may fix the package conf-pkg-config and even opam depext to 
> work with your distribution.
>

I use the archlinux distribution.


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

* Re: [Caml-list] Problems installing with opam
  2016-03-28  5:48 ` Mohamed Iguernlala
@ 2016-03-28 12:32   ` Helmut Brandl
  2016-03-28 12:37     ` Kakadu
  0 siblings, 1 reply; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 12:32 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 4702 bytes --]

The program "pkg-config" was not on my system. Installing it, I could at 
least continue. However now I get problems installing "camlp4". The 
compilation of "camlp4" seems to fail.

    opam install camlp4
    The following actions will be performed:
       ∗  install camlp4 4.02.0-1modular-implicits

    =-=- Gathering sources
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [camlp4] Archive in cache

    =-=- Processing actions
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [ERROR] The compilation of camlp4 failed at "make all".
    Processing  1/1: [camlp4: rm]
    #=== ERROR while installing camlp4.4.02.0-1modular-implicits
    ==================#
    # opam-version 1.2.2
    # os           linux
    # command      make all
    # path /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
    # compiler     4.02.3
    # exit-code    2
    # env-file
    /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
    # stdout-file
    /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
    # stderr-file
    /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
    ### stdout ###
    # [...]
    # cp
    /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
    camlp4/import/outcometree.cmi
    # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
    camlp4/import/oprint.cmi
    # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
    camlp4/import/toploop.cmi
    # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I
    camlp4/import -warn-error A-3 -I camlp4/config -I camlp4 -o
    camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
    # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I
    camlp4/import -warn-error A-3 -I camlp4/config -I camlp4/boot -o
    camlp4/boot/Camlp4.cmo camlp4/boot/Camlp4.ml
    # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I
    camlp4/import -warn-error A-3 -I camlp4/config -I camlp4/boot -o
    camlp4/boot/Camlp4.cmo camlp4/boot/Camlp4.ml
    # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
    # Error: Unbound type constructor Asttypes.implicit_flag
    # Command exited with code 2.
    # Makefile:11: recipe for target 'byte' failed
    ### stderr ###
    # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo
    camlp4/camlp4prof.byte camlp4/mkcamlp4.byte camlp4/camlp4.byte
    camlp4/camlp4fulllib.cma camlp4/camlp4boot.byte
    camlp4/camlp4boot.cma camlp4/camlp4r.byte camlp4/camlp4r.cma
    camlp4/camlp4rf.byte camlp4/camlp4rf.cma camlp4/camlp4o.byte
    camlp4/camlp4o.cma camlp4/camlp4of.byte camlp4/camlp4of.cma
    camlp4/camlp4oof.byte camlp4/camlp4oof.cma camlp4/camlp4orf.byte
    camlp4/camlp4orf.cma camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
    camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
    camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
    camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
    camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
    camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
    camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
    camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
    camlp4/Camlp4Printers/Camlp4AstDumper.cmo
    camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
    camlp4/Camlp4Printers/Camlp4NullDumper.cmo
    camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
    camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
    camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
    camlp4/Camlp4Filters/Camlp4AstLifter.cmo
    camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
    camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
    camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
    camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
    camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
    camlp4/Camlp4Filters/Camlp4Profiler.cmo
    camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
    # make: *** [byte] Error 10



    =-=- Error report
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    The following actions failed
       ∗  install camlp4 4.02.0-1modular-implicits
    No changes have been performed




On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
> Hi,
>
> I guess "pkg-config" is not installed on your system. Can you confirm
> that by just trying "pkg-config --help" in a terminal ?
>
> Regards,
> Mohamed.


[-- Attachment #2: Type: text/html, Size: 6476 bytes --]

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 12:32   ` Helmut Brandl
@ 2016-03-28 12:37     ` Kakadu
  2016-03-28 12:44       ` Helmut Brandl
  0 siblings, 1 reply; 14+ messages in thread
From: Kakadu @ 2016-03-28 12:37 UTC (permalink / raw)
  To: Helmut Brandl; +Cc: Caml List

There are some changes in compiler which supports modular implicits. I
have patched some packages. Camlp4 too, AFAIR

https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages

Happy hacking,

2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
> The program "pkg-config" was not on my system. Installing it, I could at
> least continue. However now I get problems installing "camlp4". The
> compilation of "camlp4" seems to fail.
>
> opam install camlp4
> The following actions will be performed:
>   ∗  install camlp4 4.02.0-1modular-implicits
>
> =-=- Gathering sources
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [camlp4] Archive in cache
>
> =-=- Processing actions
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [ERROR] The compilation of camlp4 failed at "make all".
> Processing  1/1: [camlp4: rm]
> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
> ==================#
> # opam-version 1.2.2
> # os           linux
> # command      make all
> # path
> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
> # compiler     4.02.3
> # exit-code    2
> # env-file
> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
> # stdout-file
> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
> # stderr-file
> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
> ### stdout ###
> # [...]
> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
> camlp4/import/outcometree.cmi
> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
> camlp4/import/oprint.cmi
> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
> camlp4/import/toploop.cmi
> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
> -warn-error A-3 -I camlp4/config -I camlp4 -o
> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
> camlp4/boot/Camlp4.ml
> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
> camlp4/boot/Camlp4.ml
> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
> # Error: Unbound type constructor Asttypes.implicit_flag
> # Command exited with code 2.
> # Makefile:11: recipe for target 'byte' failed
> ### stderr ###
> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
> camlp4/Camlp4Filters/Camlp4Profiler.cmo
> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
> # make: *** [byte] Error 10
>
>
>
> =-=- Error report
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> The following actions failed
>   ∗  install camlp4 4.02.0-1modular-implicits
> No changes have been performed
>
>
>
>
> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>
> Hi,
>
> I guess "pkg-config" is not installed on your system. Can you confirm
> that by just trying "pkg-config --help" in a terminal ?
>
> Regards,
> Mohamed.
>
>

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 12:37     ` Kakadu
@ 2016-03-28 12:44       ` Helmut Brandl
  2016-03-28 12:51         ` Kakadu
  0 siblings, 1 reply; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 12:44 UTC (permalink / raw)
  Cc: Caml List

Are you saying that I cannot install "camlp4" with opam?

On 03/28/2016 06:37 AM, Kakadu wrote:
> There are some changes in compiler which supports modular implicits. I
> have patched some packages. Camlp4 too, AFAIR
>
> https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages
>
> Happy hacking,
>
> 2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>> The program "pkg-config" was not on my system. Installing it, I could at
>> least continue. However now I get problems installing "camlp4". The
>> compilation of "camlp4" seems to fail.
>>
>> opam install camlp4
>> The following actions will be performed:
>>    ∗  install camlp4 4.02.0-1modular-implicits
>>
>> =-=- Gathering sources
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> [camlp4] Archive in cache
>>
>> =-=- Processing actions
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> [ERROR] The compilation of camlp4 failed at "make all".
>> Processing  1/1: [camlp4: rm]
>> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
>> ==================#
>> # opam-version 1.2.2
>> # os           linux
>> # command      make all
>> # path
>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
>> # compiler     4.02.3
>> # exit-code    2
>> # env-file
>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
>> # stdout-file
>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
>> # stderr-file
>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
>> ### stdout ###
>> # [...]
>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
>> camlp4/import/outcometree.cmi
>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
>> camlp4/import/oprint.cmi
>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
>> camlp4/import/toploop.cmi
>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
>> -warn-error A-3 -I camlp4/config -I camlp4 -o
>> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>> camlp4/boot/Camlp4.ml
>> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>> camlp4/boot/Camlp4.ml
>> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
>> # Error: Unbound type constructor Asttypes.implicit_flag
>> # Command exited with code 2.
>> # Makefile:11: recipe for target 'byte' failed
>> ### stderr ###
>> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
>> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
>> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
>> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
>> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
>> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
>> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
>> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
>> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
>> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
>> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
>> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
>> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
>> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
>> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
>> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
>> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
>> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
>> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
>> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
>> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
>> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
>> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
>> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
>> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
>> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
>> camlp4/Camlp4Filters/Camlp4Profiler.cmo
>> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
>> # make: *** [byte] Error 10
>>
>>
>>
>> =-=- Error report
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> The following actions failed
>>    ∗  install camlp4 4.02.0-1modular-implicits
>> No changes have been performed
>>
>>
>>
>>
>> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>>
>> Hi,
>>
>> I guess "pkg-config" is not installed on your system. Can you confirm
>> that by just trying "pkg-config --help" in a terminal ?
>>
>> Regards,
>> Mohamed.
>>
>>


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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 12:44       ` Helmut Brandl
@ 2016-03-28 12:51         ` Kakadu
  2016-03-28 13:14           ` Helmut Brandl
  0 siblings, 1 reply; 14+ messages in thread
From: Kakadu @ 2016-03-28 12:51 UTC (permalink / raw)
  To: Helmut Brandl; +Cc: Caml List

I'm saying that you can't install
1) camlp4 4.02.0-1modular-implicits using normal compiler
2) camlp4 4.02.0-1 using ocaml-with-modular-implicits-compiler

2016-03-28 16:44 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
> Are you saying that I cannot install "camlp4" with opam?
>
>
> On 03/28/2016 06:37 AM, Kakadu wrote:
>>
>> There are some changes in compiler which supports modular implicits. I
>> have patched some packages. Camlp4 too, AFAIR
>>
>> https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages
>>
>> Happy hacking,
>>
>> 2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>
>>> The program "pkg-config" was not on my system. Installing it, I could at
>>> least continue. However now I get problems installing "camlp4". The
>>> compilation of "camlp4" seems to fail.
>>>
>>> opam install camlp4
>>> The following actions will be performed:
>>>    ∗  install camlp4 4.02.0-1modular-implicits
>>>
>>> =-=- Gathering sources
>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>> [camlp4] Archive in cache
>>>
>>> =-=- Processing actions
>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>> [ERROR] The compilation of camlp4 failed at "make all".
>>> Processing  1/1: [camlp4: rm]
>>> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
>>> ==================#
>>> # opam-version 1.2.2
>>> # os           linux
>>> # command      make all
>>> # path
>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
>>> # compiler     4.02.3
>>> # exit-code    2
>>> # env-file
>>>
>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
>>> # stdout-file
>>>
>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
>>> # stderr-file
>>>
>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
>>> ### stdout ###
>>> # [...]
>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
>>> camlp4/import/outcometree.cmi
>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
>>> camlp4/import/oprint.cmi
>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
>>> camlp4/import/toploop.cmi
>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
>>> -warn-error A-3 -I camlp4/config -I camlp4 -o
>>> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>>> camlp4/boot/Camlp4.ml
>>> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>>> camlp4/boot/Camlp4.ml
>>> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
>>> # Error: Unbound type constructor Asttypes.implicit_flag
>>> # Command exited with code 2.
>>> # Makefile:11: recipe for target 'byte' failed
>>> ### stderr ###
>>> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
>>> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
>>> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
>>> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
>>> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
>>> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
>>> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
>>> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
>>> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
>>> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
>>> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
>>> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
>>> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
>>> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
>>> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
>>> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
>>> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
>>> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
>>> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
>>> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
>>> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
>>> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
>>> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
>>> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
>>> camlp4/Camlp4Filters/Camlp4Profiler.cmo
>>> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
>>> # make: *** [byte] Error 10
>>>
>>>
>>>
>>> =-=- Error report
>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>> The following actions failed
>>>    ∗  install camlp4 4.02.0-1modular-implicits
>>> No changes have been performed
>>>
>>>
>>>
>>>
>>> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>>>
>>> Hi,
>>>
>>> I guess "pkg-config" is not installed on your system. Can you confirm
>>> that by just trying "pkg-config --help" in a terminal ?
>>>
>>> Regards,
>>> Mohamed.
>>>
>>>
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 12:51         ` Kakadu
@ 2016-03-28 13:14           ` Helmut Brandl
       [not found]             ` <56F930FF.6080607@inria.fr>
  2016-03-28 13:40             ` Kakadu
  0 siblings, 2 replies; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 13:14 UTC (permalink / raw)
  Cc: Caml List

Isn't there another way than patching. I just want to install 
"js_of_ocaml" and use it. However "js_of_ocam" requires "lwt" which 
requires "camlp4". All these packages are oficial packages in the opam 
repository. I.e. they should be installable with opam without patching.

If I understand you correctly you are saying that the opam repository is 
inconsistent and nobody can install "camlp4", "lwt" and "js_of_ocaml" 
using some 4.x.x compiler of "ocaml". Why not fix the problem?

Or did I get something wrong?

Regards
Helmut

On 03/28/2016 06:51 AM, Kakadu wrote:
> I'm saying that you can't install
> 1) camlp4 4.02.0-1modular-implicits using normal compiler
> 2) camlp4 4.02.0-1 using ocaml-with-modular-implicits-compiler
>
> 2016-03-28 16:44 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>> Are you saying that I cannot install "camlp4" with opam?
>>
>>
>> On 03/28/2016 06:37 AM, Kakadu wrote:
>>> There are some changes in compiler which supports modular implicits. I
>>> have patched some packages. Camlp4 too, AFAIR
>>>
>>> https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages
>>>
>>> Happy hacking,
>>>
>>> 2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>> The program "pkg-config" was not on my system. Installing it, I could at
>>>> least continue. However now I get problems installing "camlp4". The
>>>> compilation of "camlp4" seems to fail.
>>>>
>>>> opam install camlp4
>>>> The following actions will be performed:
>>>>     ∗  install camlp4 4.02.0-1modular-implicits
>>>>
>>>> =-=- Gathering sources
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> [camlp4] Archive in cache
>>>>
>>>> =-=- Processing actions
>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> [ERROR] The compilation of camlp4 failed at "make all".
>>>> Processing  1/1: [camlp4: rm]
>>>> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
>>>> ==================#
>>>> # opam-version 1.2.2
>>>> # os           linux
>>>> # command      make all
>>>> # path
>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
>>>> # compiler     4.02.3
>>>> # exit-code    2
>>>> # env-file
>>>>
>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
>>>> # stdout-file
>>>>
>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
>>>> # stderr-file
>>>>
>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
>>>> ### stdout ###
>>>> # [...]
>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
>>>> camlp4/import/outcometree.cmi
>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
>>>> camlp4/import/oprint.cmi
>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
>>>> camlp4/import/toploop.cmi
>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
>>>> -warn-error A-3 -I camlp4/config -I camlp4 -o
>>>> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>>>> camlp4/boot/Camlp4.ml
>>>> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo
>>>> camlp4/boot/Camlp4.ml
>>>> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
>>>> # Error: Unbound type constructor Asttypes.implicit_flag
>>>> # Command exited with code 2.
>>>> # Makefile:11: recipe for target 'byte' failed
>>>> ### stderr ###
>>>> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
>>>> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
>>>> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
>>>> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
>>>> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
>>>> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
>>>> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
>>>> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
>>>> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
>>>> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
>>>> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
>>>> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
>>>> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
>>>> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
>>>> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
>>>> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
>>>> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
>>>> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
>>>> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
>>>> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
>>>> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
>>>> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
>>>> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
>>>> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
>>>> camlp4/Camlp4Filters/Camlp4Profiler.cmo
>>>> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
>>>> # make: *** [byte] Error 10
>>>>
>>>>
>>>>
>>>> =-=- Error report
>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> The following actions failed
>>>>     ∗  install camlp4 4.02.0-1modular-implicits
>>>> No changes have been performed
>>>>
>>>>
>>>>
>>>>
>>>> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>>>>
>>>> Hi,
>>>>
>>>> I guess "pkg-config" is not installed on your system. Can you confirm
>>>> that by just trying "pkg-config --help" in a terminal ?
>>>>
>>>> Regards,
>>>> Mohamed.
>>>>
>>>>
>>
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs


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

* Re: [Caml-list] Problems installing with opam
       [not found]             ` <56F930FF.6080607@inria.fr>
@ 2016-03-28 13:36               ` Helmut Brandl
  0 siblings, 0 replies; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 13:36 UTC (permalink / raw)
  To: Caml List

On 03/28/2016 07:26 AM, Francois Berenger wrote:
> On 03/28/2016 03:14 PM, Helmut Brandl wrote:
>> Isn't there another way than patching. I just want to install
>> "js_of_ocaml" and use it. However "js_of_ocam" requires "lwt" which
>> requires "camlp4". All these packages are oficial packages in the opam
>> repository. I.e. they should be installable with opam without patching.
>
> If you use the current stable official release, I guess you are right.
> FYI, the latest official ocaml release is 4.02.3
>
> $ opam switch 4.02.3
> $ eval `opam config env`
>
> Will give you that.
The same problem.
>> If I understand you correctly you are saying that the opam repository is
>> inconsistent and nobody can install "camlp4", "lwt" and "js_of_ocaml"
>> using some 4.x.x compiler of "ocaml". Why not fix the problem?
>
> I guess it is inconsistent for any alpha release of the compiler.
> ocaml 4.02.0+modular-implicits is not an official release of the compiler.
I am happy to switch to a previous release of the compiler as long as it 
is at least 4.00.0. Should I try another version?

Regards
Helmut



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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 13:14           ` Helmut Brandl
       [not found]             ` <56F930FF.6080607@inria.fr>
@ 2016-03-28 13:40             ` Kakadu
  2016-03-28 14:13               ` Helmut Brandl
  1 sibling, 1 reply; 14+ messages in thread
From: Kakadu @ 2016-03-28 13:40 UTC (permalink / raw)
  To: Helmut Brandl; +Cc: Caml List

From your camlp4 log I see that you re installing camlp4 patched for
implicits using 4.02.3 compiler. You should not do that. You need to
investigate why opam decides to install this version of camlp4. It
seems, that camlp4.4.02.0-1modular-implicits is not something that you
want to get.

2016-03-28 17:14 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
> Isn't there another way than patching. I just want to install "js_of_ocaml"
> and use it. However "js_of_ocam" requires "lwt" which requires "camlp4". All
> these packages are oficial packages in the opam repository. I.e. they should
> be installable with opam without patching.
>
> If I understand you correctly you are saying that the opam repository is
> inconsistent and nobody can install "camlp4", "lwt" and "js_of_ocaml" using
> some 4.x.x compiler of "ocaml". Why not fix the problem?
>
> Or did I get something wrong?
>
> Regards
> Helmut
>
>
> On 03/28/2016 06:51 AM, Kakadu wrote:
>>
>> I'm saying that you can't install
>> 1) camlp4 4.02.0-1modular-implicits using normal compiler
>> 2) camlp4 4.02.0-1 using ocaml-with-modular-implicits-compiler
>>
>> 2016-03-28 16:44 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>
>>> Are you saying that I cannot install "camlp4" with opam?
>>>
>>>
>>> On 03/28/2016 06:37 AM, Kakadu wrote:
>>>>
>>>> There are some changes in compiler which supports modular implicits. I
>>>> have patched some packages. Camlp4 too, AFAIR
>>>>
>>>> https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages
>>>>
>>>> Happy hacking,
>>>>
>>>> 2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>>>
>>>>> The program "pkg-config" was not on my system. Installing it, I could
>>>>> at
>>>>> least continue. However now I get problems installing "camlp4". The
>>>>> compilation of "camlp4" seems to fail.
>>>>>
>>>>> opam install camlp4
>>>>> The following actions will be performed:
>>>>>     ∗  install camlp4 4.02.0-1modular-implicits
>>>>>
>>>>> =-=- Gathering sources
>>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>> [camlp4] Archive in cache
>>>>>
>>>>> =-=- Processing actions
>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>> [ERROR] The compilation of camlp4 failed at "make all".
>>>>> Processing  1/1: [camlp4: rm]
>>>>> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
>>>>> ==================#
>>>>> # opam-version 1.2.2
>>>>> # os           linux
>>>>> # command      make all
>>>>> # path
>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
>>>>> # compiler     4.02.3
>>>>> # exit-code    2
>>>>> # env-file
>>>>>
>>>>>
>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
>>>>> # stdout-file
>>>>>
>>>>>
>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
>>>>> # stderr-file
>>>>>
>>>>>
>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
>>>>> ### stdout ###
>>>>> # [...]
>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
>>>>> camlp4/import/outcometree.cmi
>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
>>>>> camlp4/import/oprint.cmi
>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
>>>>> camlp4/import/toploop.cmi
>>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
>>>>> -warn-error A-3 -I camlp4/config -I camlp4 -o
>>>>> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
>>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o
>>>>> camlp4/boot/Camlp4.cmo
>>>>> camlp4/boot/Camlp4.ml
>>>>> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I
>>>>> camlp4/import
>>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o
>>>>> camlp4/boot/Camlp4.cmo
>>>>> camlp4/boot/Camlp4.ml
>>>>> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
>>>>> # Error: Unbound type constructor Asttypes.implicit_flag
>>>>> # Command exited with code 2.
>>>>> # Makefile:11: recipe for target 'byte' failed
>>>>> ### stderr ###
>>>>> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
>>>>> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
>>>>> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
>>>>> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
>>>>> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
>>>>> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
>>>>> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
>>>>> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
>>>>> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
>>>>> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
>>>>> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
>>>>> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
>>>>> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
>>>>> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
>>>>> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
>>>>> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
>>>>> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
>>>>> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
>>>>> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
>>>>> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
>>>>> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
>>>>> camlp4/Camlp4Filters/Camlp4Profiler.cmo
>>>>> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
>>>>> # make: *** [byte] Error 10
>>>>>
>>>>>
>>>>>
>>>>> =-=- Error report
>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>> The following actions failed
>>>>>     ∗  install camlp4 4.02.0-1modular-implicits
>>>>> No changes have been performed
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I guess "pkg-config" is not installed on your system. Can you confirm
>>>>> that by just trying "pkg-config --help" in a terminal ?
>>>>>
>>>>> Regards,
>>>>> Mohamed.
>>>>>
>>>>>
>>>
>>> --
>>> Caml-list mailing list.  Subscription management and archives:
>>> https://sympa.inria.fr/sympa/arc/caml-list
>>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>>> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

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

* Re: [Caml-list] Problems installing with opam
  2016-03-28 13:40             ` Kakadu
@ 2016-03-28 14:13               ` Helmut Brandl
       [not found]                 ` <56F94198.1040505@inria.fr>
  0 siblings, 1 reply; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 14:13 UTC (permalink / raw)
  To: Kakadu; +Cc: Caml List

[-- Attachment #1: Type: text/plain, Size: 11243 bytes --]

On 03/28/2016 07:40 AM, Kakadu wrote:
> >From your camlp4 log I see that you re installing camlp4 patched for
> implicits using 4.02.3 compiler. You should not do that. You need to
> investigate why opam decides to install this version of camlp4.
How can I find out why opam makes this decision?

Something looks very screwed up. I have tried to switch to 4.00.0, but 
this fails with

    opam switch 4.00.0

    =-=- Installing compiler 4.00.0
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    [default.comp]
    http://caml.inria.fr/pub/distrib/ocaml-4.00/ocaml-4.00.0.tar.gz
    downloaded
    Now compiling OCaml. This may take a while, please bear with us...
    Processing: [4.00.0: make world]
    [ERROR] Compiler build failed at "make world opt opt.opt":
             # opam-version 1.2.2
             # os           linux
             # command      make world opt opt.opt
             # path /home/helmut/.opam/4.00.0/build/ocaml
             # exit-code    2
             # env-file /home/helmut/.opam/log/log-32623-d2c37b.env
             # stdout-file /home/helmut/.opam/log/log-32623-d2c37b.out
             # stderr-file /home/helmut/.opam/log/log-32623-d2c37b.err
             ### stdout ###
             # [...]
             # ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp
    'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4 -I
             stdlib -o camlp4/mkcamlp4.cmx camlp4/mkcamlp4.ml
             # ../ocamlcompopt.sh -nostdlib -a -I stdlib
    camlp4/Camlp4_import.cmx camlp4/Camlp4_config.cmx camlp4/Camlp4.cmx -o
             camlp4/camlp4lib.cmxa
             # ../ocamlcompopt.sh -nostdlib -g -I stdlib
    camlp4/camlp4lib.cmxa camlp4/mkcamlp4.cmx -o camlp4/mkcamlp4.native
             # ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp
    'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4 -I
             stdlib -o camlp4/Camlp4Bin.cmx camlp4/Camlp4Bin.ml
             # ../ocamlcompopt.sh -nostdlib -I ../otherlibs/dynlink
    dynlink.cmxa -I ../otherlibs/unix unix.cmxa -g -I stdlib
             camlp4/camlp4lib.cmxa -linkall camlp4/Camlp4Bin.cmx -o
    camlp4/camlp4.native
             # ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp
    'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I
             camlp4/Camlp4Parsers -I camlp4 -I stdlib -o
    camlp4/Camlp4Parsers/Camlp4OCamlParser.cmx
             camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
             # ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp
    'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I
             camlp4/Camlp4Parsers -I camlp4 -I stdlib -o
    camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmx
             camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.ml
             # Exit code 2 while executing this command:
             #   ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z
    -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I
             camlp4/Camlp4Parsers -I camlp4 -I stdlib -o
    camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmx
             camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.ml
             # Makefile:728: recipe for target 'camlp4opt' failed
             ### stderr ###
             # [...]
             # Warning 31: files stdlib/set.cmo and
    ../stdlib/stdlib.cma(Set) both define a module named Set
             # File "stdlib/sort.cmo", line 1:
             # Warning 31: files stdlib/sort.cmo and
    ../stdlib/stdlib.cma(Sort) both define a module named Sort
             # File "stdlib/stream.cmo", line 1:
             # Warning 31: files stdlib/stream.cmo and
    ../stdlib/stdlib.cma(Stream) both define a module named Stream
             # File "stdlib/stack.cmo", line 1:
             # Warning 31: files stdlib/stack.cmo and
    ../stdlib/stdlib.cma(Stack) both define a module named Stack
             # File "camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.ml",
    line 1:
             # Error: I/O error: as -o
    'camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.o'
    '/tmp/camlasm35955e.s': Cannot allocate memory
             # make: *** [camlp4opt] Error 2




> It
> seems, that camlp4.4.02.0-1modular-implicits is not something that you
> want to get.
>
> 2016-03-28 17:14 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>> Isn't there another way than patching. I just want to install "js_of_ocaml"
>> and use it. However "js_of_ocam" requires "lwt" which requires "camlp4". All
>> these packages are oficial packages in the opam repository. I.e. they should
>> be installable with opam without patching.
>>
>> If I understand you correctly you are saying that the opam repository is
>> inconsistent and nobody can install "camlp4", "lwt" and "js_of_ocaml" using
>> some 4.x.x compiler of "ocaml". Why not fix the problem?
>>
>> Or did I get something wrong?
>>
>> Regards
>> Helmut
>>
>>
>> On 03/28/2016 06:51 AM, Kakadu wrote:
>>> I'm saying that you can't install
>>> 1) camlp4 4.02.0-1modular-implicits using normal compiler
>>> 2) camlp4 4.02.0-1 using ocaml-with-modular-implicits-compiler
>>>
>>> 2016-03-28 16:44 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>> Are you saying that I cannot install "camlp4" with opam?
>>>>
>>>>
>>>> On 03/28/2016 06:37 AM, Kakadu wrote:
>>>>> There are some changes in compiler which supports modular implicits. I
>>>>> have patched some packages. Camlp4 too, AFAIR
>>>>>
>>>>> https://github.com/Ostapers/Ostapers.github.io/tree/master/opam/packages
>>>>>
>>>>> Happy hacking,
>>>>>
>>>>> 2016-03-28 16:32 GMT+04:00 Helmut Brandl <helmut.brandl@gmx.net>:
>>>>>> The program "pkg-config" was not on my system. Installing it, I could
>>>>>> at
>>>>>> least continue. However now I get problems installing "camlp4". The
>>>>>> compilation of "camlp4" seems to fail.
>>>>>>
>>>>>> opam install camlp4
>>>>>> The following actions will be performed:
>>>>>>      ∗  install camlp4 4.02.0-1modular-implicits
>>>>>>
>>>>>> =-=- Gathering sources
>>>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>>> [camlp4] Archive in cache
>>>>>>
>>>>>> =-=- Processing actions
>>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>>> [ERROR] The compilation of camlp4 failed at "make all".
>>>>>> Processing  1/1: [camlp4: rm]
>>>>>> #=== ERROR while installing camlp4.4.02.0-1modular-implicits
>>>>>> ==================#
>>>>>> # opam-version 1.2.2
>>>>>> # os           linux
>>>>>> # command      make all
>>>>>> # path
>>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits
>>>>>> # compiler     4.02.3
>>>>>> # exit-code    2
>>>>>> # env-file
>>>>>>
>>>>>>
>>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.env
>>>>>> # stdout-file
>>>>>>
>>>>>>
>>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.out
>>>>>> # stderr-file
>>>>>>
>>>>>>
>>>>>> /home/helmut/.opam/4.02.3/build/camlp4.4.02.0-1modular-implicits/camlp4-31525-d2c37b.err
>>>>>> ### stdout ###
>>>>>> # [...]
>>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/outcometree.cmi
>>>>>> camlp4/import/outcometree.cmi
>>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/oprint.cmi
>>>>>> camlp4/import/oprint.cmi
>>>>>> # cp /home/helmut/.opam/4.02.3/lib/ocaml/compiler-libs/toploop.cmi
>>>>>> camlp4/import/toploop.cmi
>>>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w Z -I camlp4/import
>>>>>> -warn-error A-3 -I camlp4/config -I camlp4 -o
>>>>>> camlp4/config/Camlp4_config.cmi camlp4/config/Camlp4_config.mli
>>>>>> # /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I camlp4/import
>>>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o
>>>>>> camlp4/boot/Camlp4.cmo
>>>>>> camlp4/boot/Camlp4.ml
>>>>>> # + /home/helmut/.opam/4.02.3/bin/ocamlc.opt -c -g -w a -I
>>>>>> camlp4/import
>>>>>> -warn-error A-3 -I camlp4/config -I camlp4/boot -o
>>>>>> camlp4/boot/Camlp4.cmo
>>>>>> camlp4/boot/Camlp4.ml
>>>>>> # File "camlp4/boot/Camlp4.ml", line 14607, characters 36-58:
>>>>>> # Error: Unbound type constructor Asttypes.implicit_flag
>>>>>> # Command exited with code 2.
>>>>>> # Makefile:11: recipe for target 'byte' failed
>>>>>> ### stderr ###
>>>>>> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte
>>>>>> camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma
>>>>>> camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte
>>>>>> camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma
>>>>>> camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte
>>>>>> camlp4/camlp4of.cma camlp4/camlp4oof.byte camlp4/camlp4oof.cma
>>>>>> camlp4/camlp4orf.byte camlp4/camlp4orf.cma
>>>>>> camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo
>>>>>> camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4AstDumper.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4NullDumper.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo
>>>>>> camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4AstLifter.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4LocationStripper.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4MapGenerator.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4Profiler.cmo
>>>>>> camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
>>>>>> # make: *** [byte] Error 10
>>>>>>
>>>>>>
>>>>>>
>>>>>> =-=- Error report
>>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>>> The following actions failed
>>>>>>      ∗  install camlp4 4.02.0-1modular-implicits
>>>>>> No changes have been performed
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 03/27/2016 11:48 PM, Mohamed Iguernlala wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I guess "pkg-config" is not installed on your system. Can you confirm
>>>>>> that by just trying "pkg-config --help" in a terminal ?
>>>>>>
>>>>>> Regards,
>>>>>> Mohamed.
>>>>>>
>>>>>>
>>>> --
>>>> Caml-list mailing list.  Subscription management and archives:
>>>> https://sympa.inria.fr/sympa/arc/caml-list
>>>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>>>> Bug reports: http://caml.inria.fr/bin/caml-bugs
>>
>>
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs


[-- Attachment #2: Type: text/html, Size: 13997 bytes --]

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

* Re: [Caml-list] Problems installing with opam
       [not found]                 ` <56F94198.1040505@inria.fr>
@ 2016-03-28 14:58                   ` Helmut Brandl
  0 siblings, 0 replies; 14+ messages in thread
From: Helmut Brandl @ 2016-03-28 14:58 UTC (permalink / raw)
  To: Caml List

Thanks,

a complete reinstallation of opam resolved the problem. However since I 
have never edited something in the ".opam" directory, opam seems to have 
screwed up its own directory.

Regards
Helmut

On 03/28/2016 08:37 AM, Francois Berenger wrote:
> On 03/28/2016 04:13 PM, Helmut Brandl wrote:
>> On 03/28/2016 07:40 AM, Kakadu wrote:
>>> >From your camlp4 log I see that you re installing camlp4 patched for
>>> implicits using 4.02.3 compiler. You should not do that. You need to
>>> investigate why opam decides to install this version of camlp4.
>> How can I find out why opam makes this decision?
>>
>> Something looks very screwed up. I have tried to switch to 4.00.0, but
>> this fails with
>
> The "ejection seat" procedure with opam is:
>
> 1) rm -rf ~/.opam
> 2) remove all system-wide-installed ocaml packages/libraries
>    from your computer (ocaml, camlp4, findlib, etc).
> 3) reinstall opam from scratch
> 4) opam switch to the compiler you need
> 5) opam install all your needed tools/libraries
>


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

end of thread, other threads:[~2016-03-28 14:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28  3:08 [Caml-list] Problems installing with opam Helmut Brandl
2016-03-28  5:48 ` Mohamed Iguernlala
2016-03-28 12:32   ` Helmut Brandl
2016-03-28 12:37     ` Kakadu
2016-03-28 12:44       ` Helmut Brandl
2016-03-28 12:51         ` Kakadu
2016-03-28 13:14           ` Helmut Brandl
     [not found]             ` <56F930FF.6080607@inria.fr>
2016-03-28 13:36               ` Helmut Brandl
2016-03-28 13:40             ` Kakadu
2016-03-28 14:13               ` Helmut Brandl
     [not found]                 ` <56F94198.1040505@inria.fr>
2016-03-28 14:58                   ` Helmut Brandl
2016-03-28 11:12 ` Mr. Herr
2016-03-28 12:13   ` Francois Berenger
2016-03-28 12:27     ` Helmut Brandl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).