Hi Bill,

2017-03-21 16:53 GMT-05:00 Bill Burton <[email protected]>:
> 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.

Oh man. No, I don't think that you've missed a simple explanation but,
rather, I suspect that installing opam packages with external dependencies
on windows can be quite tricky.

Fortunately, it seems that the PCRE library and pkg-config are the only
external dependency required to build liquidsoap on windows.

I would suggest to search for documentation on how to install pcre in mingw
first. The library should install a pcre-config binary. That's the one
reported missing in your build log.

Another option for you would be to cross-compile, i.e. create a windows
binary from a linux distribution. This the way that I have previously built
liquidsoap. I wrote some notes about it a long time ago but they might
still be useful: http://liquidsoap.fm/windows.html

Since I wrote them, the mingw OCaml cross-compiler package has been renamed
to mingw-ocaml and I have created a github repo with, supposedly, all the
external dependencies cross-compiled here:
https://github.com/savonet/i686-w64-mingw32-buildroot

Good luck,
Romain
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to