savonet / liquidsoap

Liquidsoap is a statically typed scripting general-purpose language with dedicated operators and backend for all thing media, streaming, file generation, automation, HTTP backend and more.
http://liquidsoap.info
GNU General Public License v2.0
1.4k stars 130 forks source link

Version 1.3.7 - compilation problem (Cannot find file 1.cmxa) #750

Closed patrykkrz closed 5 years ago

patrykkrz commented 5 years ago

When I try compile 1.3.7 by "make", compilation is failed:

OCAMLOPT -c main.ml
OCAMLOPT -c runner.ml
CC -c tools/unix_c.c
CC -c io/oss_io_c.c
OCAMLOPT -o liquidsoap
File "unix/process_utils.mli", line 1:
Error: Cannot find file 1.cmxa

I always compiled (previous versions too) in this way:

tar xvf liquidsoap-1.3.7-full.tar.gz
cd liquidsoap-1.3.7-full
./configure --disable-camomile --disable-gui --prefix=/usr
make

In version 1.3.7 is compilation error: Error: Cannot find file 1.cmxa

My opam packages:

opam list
# Installed packages for 4.05.0:
base                v0.11.1  Full standard library replacement for OCaml
base-bigarray          base  Bigarray library distributed with the OCaml compiler
base-bytes             base  Bytes library distributed with the OCaml compiler
base-threads           base  Threads library distributed with the OCaml compiler
base-unix              base  Unix library distributed with the OCaml compiler
camlp4               4.05+1  Camlp4 is a system for writing extensible parsers for programming languages
conf-libpcre              1  Virtual package relying on a libpcre system installation.
conf-m4                   1  Virtual package relying on m4
conf-pkg-config         1.1  Virtual package relying on pkg-config installation.
configurator        v0.11.0  Helper library for gathering system configuration
dune                  1.2.1  Fast, portable and opinionated build system
jbuilder         transition  This is a transition package, jbuilder is now named dune. Use the dune
ocamlbuild           0.12.0  OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind             1.8.0  A library manager for OCaml
pcre                  7.3.4  Bindings to the Perl Compatibility Regular Expressions library
sexplib0            v0.11.0  Library containing the definition of S-expressions and some base converters
stdio               v0.11.0  Standard IO library for OCaml
syslog                  1.4  syslog(3) routines for ocaml

Is this a bug or incorrect my system configuration ? Or maybe I'm doing something wrong?

toots commented 5 years ago

Thanks for the report. There was indeed an issue with the build tools in that tarball. I have regenerated it, should be fixed now.

toots commented 5 years ago

PS: you should really use camomile 😉