Hi Daniel,

There might be a version mismatch between your liquidsoap binary and
your .liq scripts. On my development version, the variable exe_ext
isdefined as a builtin (from src/lang/lang_builtins.ml) with its
content obtained from src/configure.ml. I didn't check when it
appeared exactly, and in which releases it is included.

Anyway, your solution is safe for Ubuntu, and I don't foresee any
unwanted side-effect.

Cheers,

David

On Fri, Oct 4, 2013 at 6:07 PM, Daniel James
<daniel.ja...@sourcefabric.org> wrote:
> Hi all,
>
> Trying to improve our Liquidsoap binary packages for Debian/Ubuntu, I
> noticed that liquidsoap/src/configure.ml says by default:
>
> let libs_dir = "/usr/local/lib/liquidsoap/scm"
>
> If I drop all of the scripts normally installed with Liquidsoap into
> that directory, they all seem to work with our binary except
> externals.liq, which blocks Liquidsoap from starting:
>
> At /usr/local/lib/liquidsoap/scm/externals.liq, line 19 char 29 - line
> 20 char 0:
>   the variable exe_ext used here has not been previously defined.
>
> I see exe_ext is used when running on Windows, presumably to put .exe on
> the end of external binary names such as mpcdec and metaflac. I can work
> around this by putting:
>
> exe_ext=""
>
> at the top of externals.liq. But if there is a more elegant solution,
> I'd like to hear about it :-)
>
> Building from source on the same machine, it works fine without this change.
>
> Cheers!
>
> Daniel
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users



-- 
David

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to