savonet / liquidsoap-full

[DEPRECATED] Former main repository with all in-house bindings
GNU General Public License v2.0
49 stars 26 forks source link

Make Fails - #14

Closed S54B32 closed 8 years ago

S54B32 commented 8 years ago

Hello! I am wondering if anyone has any advice for me. I am attempting to compile Liquidsoap on an ARM system which I have done in the past with success. However, on this occasion I am receiving an error at the make stage.

I am running Debian Wheezy, and I have cloned liquidsoap-full. Make init, make update, bootstrap and configuring all appear to complete OK. But when I perform make I receive the following error:

OCAMLDEP
File "tools/avi.ml", line 48, characters 18-28:
Error: Integer literal exceeds the range of representable integers of type int
OCAMLOPT -c shutdown.ml
OCAMLOPT -c tools/stdlib.ml
OCAMLOPT -c tools/doc.ml
OCAMLOPT -c tools/utils.ml
OCAMLOPT -c tools/plug.ml
OCAMLOPT -c tools/dyntools.ml
OCAMLOPT -c tools/rqueue.ml
File "tools/rqueue.ml", line 1:
Error: Could not find the .cmi file for interface tools/rqueue.mli.
make[3]: *** [tools/rqueue.cmx] Error 2
make[3]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap/src'
make[2]: *** [all-auto-ocaml-prog] Error 2
make[2]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap/src'
make[1]: *** [all-subdirs] Error 2
make[1]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap'
make: *** [all] Error 1

liquidsoap_bootstrap.txt liquidsoap_configure.txt liquidsoap_make.txt

My logs in full are attached. Does anyone have any ideas on this? Any advice is much appreciated.

S54B32 commented 8 years ago

After trying to get this sorted, I manually run ocaml -c liquidsoap/src/tools/rqueue.mli then re-run make. Once I have done this I seem to have got past the rqueue.cli error but am now met with:

File "avi.ml", line 48, characters 18-28:
Error: Integer literal exceeds the range of representable integers of type int

Now, I edited the value 0xffffffff on line 48, 89 and 133 and changed each value to 0x7fffffff

I then re-ran make which worked and successfully installed Liquidsoap.

Can anyone see any issue in reverting the quality value from 0xffffffff to 0x7fffffff ? Thanks

smimram commented 8 years ago

Thanks for noticing this. We did not have it because we are on 64bits architectures and you are on 32bits. It should be fixed by https://github.com/savonet/liquidsoap/commit/d9d8fa569a5485dc1d8ba772c424611132785120.