Fails to build: ERROR : unable to open file math.lib
While trying to create the FreeBSD port, I am getting this:
faust -a lv2.cpp -cn brass -I examples examples/brass.dsp -o examples/brass.cpp
ERROR : unable to open file math.lib
gmake[1]: *** [Makefile:244: examples/NLFfm.cpp] Error 1
gmake[1]: *** Waiting for unfinished jobs....
ERROR : unable to open file math.lib
ERROR : unable to open file music.lib
ERROR : unable to open file math.lib
ERROR : unable to open file music.lib
gmake[1]: *** [Makefile:244: examples/blowBottle.cpp] Error 1
gmake[1]: *** [Makefile:244: examples/bowed.cpp] Error 1
gmake[1]: *** [Makefile:244: examples/bass.cpp] Error 1
ERROR : unable to open file music.lib
gmake[1]: *** [Makefile:244: examples/brass.cpp] Error 1
ERROR : unable to open file music.lib
gmake[1]: *** [Makefile:244: examples/blowHole.cpp] Error 1
gmake[1]: *** [Makefile:244: examples/NLFeks.cpp] Error 1
ERROR : unable to open file math.lib
gmake[1]: *** [Makefile:244: examples/amp.cpp] Error 1
Version 1.4, faust-2.5.10, FreeBSD 11.1 amd64.
Comments (7)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
reporter $ faust --version FAUST : DSP to C, C++, Rust, LLVM IR, JAVA, JavaScript, asm.js, WebAssembly (wast/wasm), Interpreter compiler, Version 2.5.10 Copyright (C) 2002-2017, GRAME - Centre National de Creation Musicale. All rights reserved.
From the FreeBSD port.
-
repo owner From the FreeBSD port.
I don't have the time to look that up, can you provide a URL please? And do you have a list of what gets installed by the port?
-
reporter The port: https://svnweb.freebsd.org/ports/head/audio/faust/ The list of installed files: https://pastebin.com/thX4ZD8M
-
repo owner Thanks. This has none of the Faust library files in it at all. That port is broken. I know why: Faust 2.5.10 was originally released without a real tarball, and the GH-auto-generated tarball doesn't include the library which is now a git submodule.
Update your faust port to 2.5.17 or at least 2.5.10a and make sure that you build your port using the real source tarball (e.g., https://github.com/grame-cncm/faust/releases/download/2.5.17/faust-2.5.17.tar.gz) and you should be fine.
-
repo owner - changed status to resolved
Bug is downstream issue (faust BSD port), closing.
- Log in to comment
Works without a hitch over here, running the latest faust from git.
Which faust version is it that you're using there (
faust --version
)? Built from which source?This looks like a broken Faust installation to me.
math.lib
has been included in the Faust library since the 0.x days, it should be either under/usr/lib/faust
(when using an old faust version) or under/usr/share/faust
(when using a current version, 2.5.x).