Closed yurivict closed 6 years ago
I'm getting the same thing, stdfaust.lib
is not installed or even built. Building with current faust master, Version 2.5.13, on Ubuntu 16.04 64bit.
Version 2.5.16 on master-dev branch builds and installs fine.
The library is now in a git submodule. You'll have to clone the git source (git clone https://github.com/grame-cncm/faust.git
), then just running make
will do the necessary git submodule update --init
. This doesn't work with the tarball since it's not a git repo.
@sletz, maybe we need to provide a proper self-contained tarball for people who are not familiar with git submodules. That would also make things easier for package maintainers. I already have that in my $(debsrc)
target in the main Makefile, we'd just have to massage that a bit so that you could do a make dist
and upload the resulting tarball whenever you tag a release. Should I do a PR so that you can have a look?
"Should I do a PR so that you can have a look?" yes please ! (thanks)
Will do. (Might take a day or two, though, as I'm currently busy preparing courses for tomorrow and Friday.)
I see - I'm using a git repo. Installation is fine now if I first do a git submodule update
manually.
It looks to me like the git submodule update --init
will only happen if I make debsrc
.
@pingdynasty Only certain targets do this, but IIRC make
is one of them (in the latest HEAD at least). In any case, it's a good idea to just run it manually after a git pull
before you do a make
or make world
so that you can be sure.
@sletz there you go: PR #116. This also includes a new dist-snapshot target which uses the full Debian package version (useful to create git snapshots; contents is the same).
As proof of concept, I employed the new dist target to retroactively produce a tarball for the 2.5.10 release and uploaded it here: https://github.com/grame-cncm/faust/releases/tag/v2-5-10 (@pingdynasty, that tarball will hopefully solve your issue for now until @sletz merges the PR and tags/uploads the current 2.5.17 release.)
Version 2.1.0 did install it, and the test program from http://faust.grame.fr/examples/2015/09/30/oscillator.html worked.
Version 2.5.10 doesn't install it, and this test program fails:
Please also note the first error: it's bogus because the directory
/usr/local/share/faust
exists.