I don't know about the flavor you are using, but can you install apt-get or yum
or what not to install liquid soap? I hope someone else in here can chime in
as I'm quite new to linux and am running out of ideas.
> On May 14, 2015, at 10:14 AM, Marc Guercy <[email protected]> wrote:
>
>>>>>
>>>>> On May 14, 2015, at 06:29, Marc Guercy <[email protected]>
>>>>> <mailto:[email protected]> wrote:
>>>>>
>>>>> Le 14/05/2015 14:46, Marc Guercy a écrit :
>>>>>> Hello,
>>>>>>
>>>>>> I try to install liquidsoap 1.1.1 on Gentoo but I have an error related
>>>>>> to ocaml compilation it seems :
>>>>>>
>>>>>> OCAMLOPT -c tools/rqueue.ml
>>>>>> File "tools/utils.ml", line 535, characters 41-51:
>>>>>> Warning 3: deprecated: String.set
>>>>>> Use Bytes.set instead.
>>>>>> File "tools/utils.ml", line 546, characters 12-25:
>>>>>> Warning 3: deprecated: String.create
>>>>>> Use Bytes.create instead.
>>>>>> File "tools/utils.ml", line 548, characters 21-45:
>>>>>> Warning 3: deprecated: String.set
>>>>>> Use Bytes.set instead.
>>>>>> File "tools/utils.ml", line 557, characters 6-28:
>>>>>> Warning 3: deprecated: String.set
>>>>>> Use Bytes.set instead.
>>>>>> File "tools/utils.ml", line 558, characters 6-28:
>>>>>> Warning 3: deprecated: String.set
>>>>>> Use Bytes.set instead.
>>>>>> File "tools/dyntools.ml", line 72, characters 24-43:
>>>>>> Error: Unbound module Utils
>>>>>> ../Makefile.rules:200: recipe for target 'tools/dyntools.cmx' failed
>>>>>> make[2]: *** [tools/dyntools.cmx] Error 2
>>>>>> make[2]: *** Waiting for unfinished jobs....
>>>>>> File "tools/rqueue.ml", line 1:
>>>>>> Error: Could not find the .cmi file for interface tools/rqueue.mli.
>>>>>> ../Makefile.rules:200: recipe for target 'tools/rqueue.cmx' failed
>>>>>> make[2]: *** [tools/rqueue.cmx] Error 2
>>>>>> make[2]: Leaving directory
>>>>>> '/var/tmp/portage/media-radio/liquidsoap-1.1.1/work/liquidsoap-1.1.1/src'
>>>>>> ../Makefile.rules:67: recipe for target 'all-auto-ocaml-prog' failed
>>>>>> make[1]: *** [all-auto-ocaml-prog] Error 2
>>>>>> make[1]: Leaving directory
>>>>>> '/var/tmp/portage/media-radio/liquidsoap-1.1.1/work/liquidsoap-1.1.1/src'
>>>>>> Makefile.rules:27: recipe for target 'all-subdirs' failed
>>>>>> make: *** [all-subdirs] Error 2
>>>>>> ^[[31;01m*^[[0m ERROR: media-radio/liquidsoap-1.1.1::proaudio failed
>>>>>> (compile phase):
>>>>>> ^[[31;01m*^[[0m emake failed
>>>>>>
>>>>>>
>>>>>> An idea? Thanks
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>>>>> Widest out-of-the-box monitoring support with 50+ applications
>>>>>> Performance metrics, stats and reports that give you Actionable Insights
>>>>>> Deep dive visibility with transaction tracing using APM Insight.
>>>>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>>>> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
>>>>>> _______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> <mailto:[email protected]>
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>> <https://lists.sourceforge.net/lists/listinfo/savonet-users>
>>>>> I solved the "[tools/dyntools.cmx] Error 2" by reinstalling
>>>>> "dev-ml/camlp4"
>>>>> (emerge -v dev-ml/camlp4)
>>>>>
>>>>> The "tools/rqueue.ml" error remain.
>>>>>
>>>>>
>>>>>
>>>> Le 14/05/2015 16:22, Sarah Alawami a écrit :
>>>> Does this happen with your package manager?
>>>> Blessings and happy Thursday
>>>>
>>> Yes, when launching:
>>> emerge --verbose media-radio/liquidsoap
>>>
>>> emerge is the Gentoo package manager and OCAML is version 4.02.1
>>>
>>>
>>>
>>
>> You comment give me the idea to compile directly liquidsoap :
>>
>> cd /var/tmp/portage/media-radio/liquidsoap-1.1.1/work/liquidsoap-1.1.1
>> make
>>
>> OCAMLOPT -c tools/tutils.mli
>> File "tools/tutils.mli", line 1:
>> Error: /usr/lib/ocaml/duppy/duppy.cmi
>> is not a compiled interface for this version of OCaml.
>> It seems to be for an older version of OCaml.
>> ../Makefile.rules:203: recipe for target 'tools/tutils.cmi' failed
>> make clean
>> make
>>
>> File "tools/rqueue.ml", line 1:
>> Error: Could not find the .cmi file for interface tools/rqueue.mli.
>> ../Makefile.rules:200: recipe for target 'tools/rqueue.cmx' failed
>> emerge dev-ml/ocaml-duppy
>> make clean
>> make
>>
>> File "configure.ml", line 1:
>> Error: /usr/lib/ocaml/magic/magic.cmi
>> is not a compiled interface for this version of OCaml.
>> It seems to be for an older version of OCaml.
>> ../Makefile.rules:200: recipe for target 'configure.cmx' failed
>> So finaly I reinstallled:
>> dev-ml/ocaml-magic
>> dev-ml/ocaml-mm
>> dev-ml/ocaml-cry
>> dev-ml/ocaml-mad
>>
>> I had launch a packages update of the system tomorrow night and I think
>> ocaml jumped from version 3 to version 4 and I was not award.
>> However I don't understand why I didn't saw the same errors while installing
>> with the package manager...
>> Another point is that the package manager script of Liquidsoap should handle
>> this kind of situation if possible.
>>
>> Now I have an error on the linking part when running a make:
>>
>> OCAMLOPT -o liquidsoap
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_image_open_png':
>> (.text+0x587): undefined reference to `gdImageCreateFromPng'
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_image_open_jpeg':
>> (.text+0x717): undefined reference to `gdImageCreateFromJpeg'
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_save_png':
>> (.text+0x2c8e): undefined reference to `gdImagePng'
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_save_jpeg':
>> (.text+0x2d2c): undefined reference to `gdImageJpeg'
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_dump_png':
>> (.text+0x2dae): undefined reference to `gdImagePngPtr'
>> /usr/lib/ocaml/gd/libocamlgd.a(gdstubs.o): In function `ml_dump_jpeg':
>> (.text+0x2e49): undefined reference to `gdImageJpegPtr'
>> collect2: error: ld returned 1 exit status
>> File "caml_startup", line 1:
>> Error: Error during linking
>> ../Makefile.rules:113: recipe for target 'liquidsoap' failed
>> make[2]: *** [liquidsoap] Error 2
>> An idea? Thanks.
>>
>>
> The problem was that gd was not compiled with Use flags jpeg png (a graphical
> library with no jpeg and png support by defaut, well...)
>
> So I had the line:
> media-libs/gd jpeg png
> to /etc/portage/package.use and run: /etc/portage/package.use
>
> And Victory: "emerge media-radio/liquidsoap" go to the end without errors.
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users