I've been attempting to build liquidsoap from github.com for Windows using
the release at http://fdopen.github.io/opam-repository-mingw/installation/.
The install of opam appears to be successful on all accounts but I can't
get the pcre package to install successfully which is a dependency on
ocaml-duppy and/or liquidsoap itself.
I realize this probably has nothing to do with liquidsoap itself but I'm
rather stuck at this point due to this issue. There's probably a simple
explanation that has escaped me as I'm new to opam, etc.
Following is the log:
$ *opam install pcre*
The following actions will be performed:
* install pcre 7.2.3
=-=- Gathering sources
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Processing actions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[pcre: ocaml setup.ml] Command started
[pcre: ocaml setup.ml] Command started
*[ERROR] The compilation of pcre failed at "ocaml setup.ml
<http://setup.ml> -build".*
[pcre: ocamlfind remove] Command started
#=== ERROR while compiling pcre.7.2.3
=========================================#
# opam-version 1.3.0~dev (fb90257639e7abafad504a79cd571a2f838e0a07)
# os win32
# command ocaml setup.ml -build
# path
D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/build/pcre.7.2.3
# exit-code 1
# env-file
D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/build/pcre.7.2.3\pcre-388-5f1023.env
# stdout-file
D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/build/pcre.7.2.3\pcre-388-5f1023.out
# stderr-file
D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/build/pcre.7.2.3\pcre-388-5f1023.err
### stdout ###
# D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/bin/ocamlc.opt
unix.cma -I
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild'
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild/ocamlbuildlib.cma'
myocamlbuild.ml
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild/ocamlbuild.cmo'
-o myocamlbuild.exe
# Exception End_of_file.
# + D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/bin/ocamlc.opt
unix.cma -I
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild'
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild/ocamlbuildlib.cma'
myocamlbuild.ml
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\ocamlbuild/ocamlbuild.cmo'
-o myocamlbuild.exe
# File "myocamlbuild.ml", line 518, characters 43-62:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "myocamlbuild.ml", line 531, characters 51-70:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
### stderr ###
# [...]
# Use String.capitalize_ascii instead.
# File ".\setup.ml", line 1831, characters 16-35:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5847, characters 11-28:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5848, characters 11-30:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# *bash: pcre-config: No such file or directory*
# E: Failure("Command
'D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/bin\\ocamlbuild.EXE
-classic-display -no-log -no-links -install-lib-dir
D:/apps/OCaml64/home/bburton/.opam/4.04.0+mingw64c/lib/ocaml\\ocamlbuild
-byte-plugin lib/libpcre_stubs.a lib/dllpcre_stubs.dll lib/pcre.cma
lib/pcre.cmxa lib/pcre.a lib/pcre.cmxs examples/cloc/cloc.native
examples/count_hash/count_hash.native example[...]
=-=- Error report
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
? build pcre 7.2.3
No changes have been performed
Following are the opam packages currently installed:
$ *opam list*
# Installed packages for 4.04.0+mingw64c:
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.04+1 Camlp4 is a system for writing extensible
parsers fo
camomile 0.8.5 A comprehensive Unicode library
conf-libpcre 1 Virtual package relying on a libpcre system
installa
conf-m4 1 Virtual package relying on m4
conf-pkg-config 1.0 Virtual package relying on pkg-config
installation.
config-file 1.2 Small library to define, load and save options
files
cppo 1.4.1 Equivalent of the C preprocessor for OCaml
programs
depext 1.0.3 Query and install external dependencies of OPAM
pack
depext-cygwinports 0.0.6 cygwinports wrapper for opam-depext
dtools 0.3.2 Library providing various helper functions to
make d
mm 0.3.0 The mm library contains high-level to create
and man
ocamlbuild 0.11.0 OCamlbuild is a build system with builtin rules
to e
ocamlfind 1.7.1 A library manager for OCaml
$ *opam depext --list*
# Detecting depexts using flags: x86_64 mswindows win32 cygwinports
# The following system packages are needed:
# - pcre
# - pkg-config
Anyone have any ideas on how to get pcre installed so I can build
liquidsoap?
Thank you!
-Bill
Post by Romain BeauxisHey guys,
https://github.com/savonet/liquidsoap/blob/master/CHANGES
https://github.com/savonet/liquidsoap/pull/408
As far as I can tell, there are no major blockers so I'm leaning toward a
release pretty pretty soon.
Feel free to test the latest code. You can now use opam's pin mechanism to
git clone https://github.com/savonet/liquidsoap.git
cd liquidsoap
opam pin add liquidsoap .
You might need to do the same with ocaml-duppy to fetch the latest changes
there, too.
Romain