Could you try doing executing "opam init"?

I have added this to the documentation.

On Thu, Jan 14, 2016 at 11:13 PM, Steffen "TechMac" Pfaffinger
<[email protected]> wrote:
> It worked now, but how i can use now the 1.2 version, when i type
> liquidsoap --version its srill 1.1.1
>
> Am 14.01.16 um 23:10 schrieb Sarah Alawami:
>> What flavor of Linux are you running? Are all of your compilers up-to-date 
>> there as well?
>>
>>> On Jan 14, 2016, at 13:39, Steffen TechMac Pfaffinger 
>>> <[email protected]> wrote:
>>>
>>>
>>> Even if running not as root it fails at pcre.7.1.6
>>>
>>> Building pcre.7.1.6:
>>>    ocaml setup.ml -configure --prefix /home/../.opam/system
>>>    ocaml setup.ml -build
>>>    ocaml setup.ml -install
>>> [ERROR] The compilation of pcre.7.1.6 failed.
>>> Removing pcre.7.1.6.
>>>    ocamlfind remove pcre
>>>
>>>
>>> #=== ERROR while installing pcre.7.1.6
>>> ========================================#
>>> # opam-version 1.2.0
>>> # os           linux
>>> # command      ocaml setup.ml -build
>>> # path         /home/../.opam/system/build/pcre.7.1.6
>>> # compiler     system (4.01.0)
>>> # exit-code    1
>>> # env-file /home/../.opam/system/build/pcre.7.1.6/pcre-16132-0c525f.env
>>> # stdout-file /home/../.opam/system/build/pcre.7.1.6/pcre-16132-0c525f.out
>>> # stderr-file /home/../.opam/system/build/pcre.7.1.6/pcre-16132-0c525f.err
>>> ### stdout ###
>>> # ...[truncated]
>>> # /home/../.opam/system/bin/ocamlfind ocamlopt -c -g -annot -bin-annot
>>> -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt
>>> -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt
>>> -Wno-long-long -package bytes -w Aer-44 -I lib -o lib/pcre.cmx lib/pcre.ml
>>> # /home/../.opam/system/bin/ocamlfind ocamlopt -a -cclib -lpcre_stubs
>>> -cclib -lpcre -cclib -lpcre lib/pcre_compat.cmx lib/pcre.cmx -o
>>> lib/pcre.cmxa
>>> # /home/../.opam/system/bin/ocamlfind ocamldep -package bytes -modules
>>> examples/cloc/cloc.ml > examples/cloc/cloc.ml.depends
>>> # /home/../.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot
>>> -strict-sequence -I lib -package bytes -w Aer-44 -I examples/cloc -I lib
>>> -o examples/cloc/cloc.cmo examples/cloc/cloc.ml
>>> # /home/../.opam/system/bin/ocamlfind ocamlopt -c -g -annot -bin-annot
>>> -strict-sequence -I lib -package bytes -w Aer-44 -I examples/cloc -I lib
>>> -o examples/cloc/cloc.cmx examples/cloc/cloc.ml
>>> # /home/../.opam/system/bin/ocamlfind ocamlopt -g -I lib -linkpkg
>>> -package bytes lib/pcre.cmxa examples/cloc/cloc.cmx -o
>>> examples/cloc/cloc.native
>>> # + /home/../.opam/system/bin/ocamlfind ocamlopt -g -I lib -linkpkg
>>> -package bytes lib/pcre.cmxa examples/cloc/cloc.cmx -o
>>> examples/cloc/cloc.native
>>> # File "_none_", line 1:
>>> # Error: Cannot find file /home/../.opam/system/lib/bytes/bytes.cmxa
>>> # Command exited with code 2.
>>> ### stderr ###
>>> # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libpcre_stubs.a
>>> lib/dllpcre_stubs.so lib/pcre.cma lib/pcre.cmxa lib/pcre.a
>>> examples/cloc/cloc.native examples/count_hash/count_hash.native
>>> examples/pcregrep/pcregrep.native examples/subst/subst.native -tag
>>> debug' terminated with error code 10")
>>>
>>>
>>>> Am 14.01.16 um 22:35 schrieb Romain Beauxis:
>>>> Ho, I see. You shouldn't be running opam as root, that's your problem!
>>>>
>>>> 2016-01-14 15:28 GMT-06:00 Steffen "TechMac" Pfaffinger
>>>> <[email protected]>:
>>>>> Hi,
>>>>> this is kinda the log:
>>>>>
>>>>> [ERROR] The compilation of pcre.7.1.6 failed.
>>>>> Removing pcre.7.1.6.
>>>>>     ocamlfind remove pcre
>>>>> ocamlfind: [WARNING] No such directory: /root/.opam/system/lib/pcre
>>>>>
>>>>>
>>>>> #=== ERROR while installing dtools.0.3.2
>>>>> ======================================#
>>>>> # opam-version 1.2.0
>>>>> # os           linux
>>>>> # command      ./configure --prefix /root/.opam/system
>>>>> # path         /root/.opam/system/build/dtools.0.3.2
>>>>> # compiler     system (4.01.0)
>>>>> # exit-code    1
>>>>> # env-file /root/.opam/system/build/dtools.0.3.2/dtools-9520-a00279.env
>>>>> # stdout-file /root/.opam/system/build/dtools.0.3.2/dtools-9520-a00279.out
>>>>> # stderr-file /root/.opam/system/build/dtools.0.3.2/dtools-9520-a00279.err
>>>>> ### stdout ###
>>>>> # ...[truncated]
>>>>> # checking for suffix of executables...
>>>>> # checking whether we are cross compiling... no
>>>>> # checking for suffix of object files... o
>>>>> # checking whether we are using the GNU C compiler... yes
>>>>> # checking whether gcc accepts -g... yes
>>>>> # checking for gcc option to accept ISO C89... none needed
>>>>> # checking build system type... x86_64-unknown-linux-gnu
>>>>> # checking host system type... x86_64-unknown-linux-gnu
>>>>> # checking for a BSD-compatible install... /usr/bin/install -c
>>>>> # checking that calling user is not root...
>>>>> ### stderr ###
>>>>> # configure: error: configure script must not be run with root user!
>>>>>
>>>>>
>>>>> #=== ERROR while installing mad.0.4.5
>>>>> =========================================#
>>>>> # opam-version 1.2.0
>>>>> # os           linux
>>>>> # command      ./configure --prefix /root/.opam/system
>>>>> # path         /root/.opam/system/build/mad.0.4.5
>>>>> # compiler     system (4.01.0)
>>>>> # exit-code    1
>>>>> # env-file /root/.opam/system/build/mad.0.4.5/mad-9832-d0f245.env
>>>>> # stdout-file /root/.opam/system/build/mad.0.4.5/mad-9832-d0f245.out
>>>>> # stderr-file /root/.opam/system/build/mad.0.4.5/mad-9832-d0f245.err
>>>>> ### stdout ###
>>>>> # ...[truncated]
>>>>> # checking for suffix of executables...
>>>>> # checking whether we are cross compiling... no
>>>>> # checking for suffix of object files... o
>>>>> # checking whether we are using the GNU C compiler... yes
>>>>> # checking whether gcc accepts -g... yes
>>>>> # checking for gcc option to accept ISO C89... none needed
>>>>> # checking build system type... x86_64-unknown-linux-gnu
>>>>> # checking host system type... x86_64-unknown-linux-gnu
>>>>> # checking for a BSD-compatible install... /usr/bin/install -c
>>>>> # checking that calling user is not root...
>>>>> ### stderr ###
>>>>> # configure: error: configure script must not be run with root user!
>>>>>
>>>>>
>>>>> #=== ERROR while installing pcre.7.1.6
>>>>> ========================================#
>>>>> # opam-version 1.2.0
>>>>> # os           linux
>>>>> # command      ocaml setup.ml -build
>>>>> # path         /root/.opam/system/build/pcre.7.1.6
>>>>> # compiler     system (4.01.0)
>>>>> # exit-code    1
>>>>> # env-file /root/.opam/system/build/pcre.7.1.6/pcre-10145-6cc03f.env
>>>>> # stdout-file /root/.opam/system/build/pcre.7.1.6/pcre-10145-6cc03f.out
>>>>> # stderr-file /root/.opam/system/build/pcre.7.1.6/pcre-10145-6cc03f.err
>>>>> ### stdout ###
>>>>> # ...[truncated]
>>>>> # /root/.opam/system/bin/ocamlfind ocamlopt -c -g -annot -bin-annot
>>>>> -strict-sequence -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt
>>>>> -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt
>>>>> -Wno-long-long -package bytes -w Aer-44 -I lib -o lib/pcre.cmx lib/pcre.ml
>>>>> # /root/.opam/system/bin/ocamlfind ocamlopt -a -cclib -lpcre_stubs
>>>>> -cclib -lpcre -cclib -lpcre lib/pcre_compat.cmx lib/pcre.cmx -o
>>>>> lib/pcre.cmxa
>>>>> # /root/.opam/system/bin/ocamlfind ocamldep -package bytes -modules
>>>>> examples/cloc/cloc.ml > examples/cloc/cloc.ml.depends
>>>>> # /root/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot
>>>>> -strict-sequence -I lib -package bytes -w Aer-44 -I examples/cloc -I lib
>>>>> -o examples/cloc/cloc.cmo examples/cloc/cloc.ml
>>>>> # /root/.opam/system/bin/ocamlfind ocamlopt -c -g -annot -bin-annot
>>>>> -strict-sequence -I lib -package bytes -w Aer-44 -I examples/cloc -I lib
>>>>> -o examples/cloc/cloc.cmx examples/cloc/cloc.ml
>>>>> # /root/.opam/system/bin/ocamlfind ocamlopt -g -I lib -linkpkg -package
>>>>> bytes lib/pcre.cmxa examples/cloc/cloc.cmx -o examples/cloc/cloc.native
>>>>> # + /root/.opam/system/bin/ocamlfind ocamlopt -g -I lib -linkpkg
>>>>> -package bytes lib/pcre.cmxa examples/cloc/cloc.cmx -o
>>>>> examples/cloc/cloc.native
>>>>> # File "_none_", line 1:
>>>>> # Error: Cannot find file /root/.opam/system/lib/bytes/bytes.cmxa
>>>>> # Command exited with code 2.
>>>>> ### stderr ###
>>>>> # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libpcre_stubs.a
>>>>> lib/dllpcre_stubs.so lib/pcre.cma lib/pcre.cmxa lib/pcre.a
>>>>> examples/cloc/cloc.native examples/count_hash/count_hash.native
>>>>> examples/pcregrep/pcregrep.native examples/subst/subst.native -tag
>>>>> debug' terminated with error code 10")
>>>>>
>>>>>
>>>>> =-=- Error report
>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>> The following failed
>>>>>    - install   dtools.0.3.2
>>>>>    - install   mad.0.4.5
>>>>>    - install   pcre.7.1.6
>>>>> Due to the errors, the following have been cancelled
>>>>>    - install   duppy.0.5.2
>>>>>    - install   mm.0.3.0
>>>>>    - install   liquidsoap.1.2.0
>>>>> 'opam install liquidsoap --verbose' failed.
>>>>>
>>>>>
>>>>>> Am 14.01.16 um 22:26 schrieb Romain Beauxis:
>>>>>> Hi Steffen,
>>>>>>
>>>>>> 2016-01-14 15:09 GMT-06:00 Steffen "TechMac" Pfaffinger
>>>>>> <[email protected]>:
>>>>>>> Hi,
>>>>>>> when i install liquidsoap via opam, i get this error:
>>>>>>>
>>>>>>> =-=- Error report
>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>>>> The following failed
>>>>>>>     - install   dtools.0.3.2
>>>>>>>     - install   mad.0.4.5
>>>>>>>     - install   pcre.7.1.6
>>>>>>> Due to the errors, the following have been cancelled
>>>>>>>     - install   duppy.0.5.2
>>>>>>>     - install   mm.0.3.0
>>>>>>>     - install   liquidsoap.1.2.0
>>>>>> Do you have more information regarding this? Maybe an extract of the
>>>>>> logs just before the one you posted.
>>>>>>
>>>>>> Also, if you try to install with the --verbose switch added you should
>>>>>> get much more information.
>>>>>>
>>>>>> Romain
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>>>> Monitor end-to-end web transactions and take corrective actions now
>>>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>>>>> _______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>> ------------------------------------------------------------------------------
>>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>>> Monitor end-to-end web transactions and take corrective actions now
>>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>>>> _______________________________________________
>>>>> Savonet-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>> ------------------------------------------------------------------------------
>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>> Monitor end-to-end web transactions and take corrective actions now
>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>> ------------------------------------------------------------------------------
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to