Faust error

What other apps and distros do you use to round out your studio?

Moderators: khz, MattKingUSA

Post Reply
User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Faust error

Post by LinMusGuy »

I have installed Faust in Linux Mint 17 from the repositories. But now I get this error:
error.png
What is wrong here?
You do not have the required permissions to view the files attached to this post.

User avatar
Digital Larry
Established Member
Posts: 150
Joined: Thu Jan 09, 2014 5:25 am

Re: Faust error

Post by Digital Larry »

Unable to open file stdfaust.lib.

I have not used faustworks but I have used the Faust online compiler and addition to installing it onto Ubuntu, Beaglebone Black with Debian (Bela actually), and M-word Airbook.

I'd check your installation and/or try one of the other tools (the online compiler doesn't expect anything to be installed on your machine).

Faust is pretty esoteric. I took an online class in it. You may wish to sign up to the Faust mailing list.

I also noticed you don't have any routing to output at the end, i.e.

process = no.noise : fi.filter(etc) : _ ;

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

Looks like I have an old version of Faust: 0.9.46-2 .

And trying to install a newer version failed.

And the online editor asks for a MIDI input, but I don't have one...

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

LinMusGuy wrote:Looks like I have an old version of Faust: 0.9.46-2 .

And trying to install a newer version failed.
Looks like this is the problem:
cmake.png
You do not have the required permissions to view the files attached to this post.

User avatar
Digital Larry
Established Member
Posts: 150
Joined: Thu Jan 09, 2014 5:25 am

Re: Faust error

Post by Digital Larry »

Hmmm... I don't really remember it all. I think the online editor really only works in Chrome. You can install a virtual keyboard to get around the need for a real MIDI input.

If you are interested in Faust I highly recommend the online course at: https://www.kadenze.com/courses/real-ti ... faust/info Be warned that there is a strong Mac focus (which is closer to Linux than W-word, but still) and that you may have a really hard time getting help in the Kadenze Forum because nobody is there monitoring it. At least, that was my experience. I'd sign up for the Faust mailing list.

I built Faust from Github a couple times but that was in the Spring. As with many things Linux, you will have to plow through the various errors and resolve issues 1 by 1. The cmake one sounds familiar.

I think Faust is one of the most amazing things I've ever encountered, but it can be a challenge to wrap your head around it.

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

I have succeeded in installing cmake version 3.12.1. (leaving out the backup part) with the help of this website: https://www.claudiokuenzler.com/blog/79 ... ternatives

But installing a newer version of Faust still fails. There is an older version of Faust in the Linux Mint repositories but that misses a lot of things...

I have to find a relatively simple explanation of how to install a newer version of Faust.

I will take a look at the online course you mentioned.

User avatar
Digital Larry
Established Member
Posts: 150
Joined: Thu Jan 09, 2014 5:25 am

Re: Faust error

Post by Digital Larry »

I'm on Ubuntu Studio 19, and I just did "apt install faust" and got version 2.14.4 which is from January of this year.

ALERT: installing Faust seems to have uninstalled some other package unceremoniously, such as SooperLooper. That is NOT COOL! I saw it on the screen flying by. I'm going to have to have a word with those guys! :evil:

This is what it did. Just so you know.

Code: Select all

larry@ub-studio:~$ less /var/log/dpkg.log | grep remove | grep 10-03
2019-10-03 10:56:11 startup packages remove
2019-10-03 10:56:11 remove aeolus:amd64 0.9.5-1build1 <none>
2019-10-03 10:56:12 remove ardour-video-timeline:all 1:5.12.0-3 <none>
2019-10-03 10:56:12 remove csladspa:amd64 1:6.11.1-1 <none>
2019-10-03 10:56:13 remove dssi-host-jack:amd64 1.1.1~dfsg0-1build2 <none>
2019-10-03 10:56:14 remove foo-yc20:amd64 1.3.0-6build2 <none>
2019-10-03 10:56:14 remove ghostess:amd64 20120105-1build2 <none>
2019-10-03 10:56:15 remove gmidimonitor:amd64 3.6+dfsg0-3 <none>
2019-10-03 10:56:15 remove jack-capture:amd64 0.9.73-3 <none>
2019-10-03 10:56:16 remove jack-mixer:amd64 10-1build2 <none>
2019-10-03 10:56:17 remove jack-tools:amd64 20131226-1build4 <none>
2019-10-03 10:56:18 remove jconvolver:amd64 0.9.3-2 <none>
2019-10-03 10:56:18 remove libcsound64-6.0:amd64 1:6.12.2~dfsg-3 <none>
2019-10-03 10:56:19 remove meterbridge:amd64 0.9.2-13 <none>
2019-10-03 10:56:19 remove qmidinet:amd64 0.5.0-1 <none>
2019-10-03 10:56:20 remove recordmydesktop:amd64 0.3.8.1+svn602-1ubuntu5 <none>
2019-10-03 10:56:21 remove simplescreenrecorder:amd64 0.3.11-1build1 <none>
2019-10-03 10:56:22 remove sooperlooper:amd64 1.7.3~dfsg0-3build2 <none>
2019-10-03 10:56:22 remove xjadeo:amd64 0.8.7-2build1 <none>
2019-10-03 10:56:23 remove zita-at1:amd64 0.6.0-1.1 <none>
2019-10-03 10:56:23 remove zita-lrx:amd64 0.1.0-3 <none>
2019-10-03 10:56:24 remove zita-mu1:amd64 0.2.2-3 <none>
2019-10-03 10:56:25 remove zita-rev1:amd64 0.2.1-5.1 <none>
larry@ub-studio:~$ 
The latest version at Github is 2.15.11.

https://github.com/grame-cncm/faust/releases

Since Faust is used actively at music research places like its place of birth Grame and CCRMA, there are some bumps in the road and they focus mostly on Mac as their development and performance platform. However you can get input directly from the developers which is cool.

Mint 17 is a couple years old now? You could upgrade your distribution, or use Ubuntu Studio, or... etc.

If you want to try to build it, and put the errors up here, it might trigger some memory so I could help you. I recall there being a small number of issues like cmake and then it worked. It's just time after all. One of the other routes might prove faster.

I made a VST delay plugin, which takes all of about 15 lines of code.

I also made an Android app that uses the accelerometers to control a theremin-like synth with auto-wah. Lots of fun but does take dedication!

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

No - that's not nice. It will take you a lot of work to install those programmes again. :cry:

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

Code: Select all

/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp: In static member function ‘static std::string exepath::stripPath(const string&)’:
/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:65:48: error: no matching function for call to ‘regex_replace(const string&, std::regex&, const char [1])’
     string stripped = regex_replace(path, e, "");
                                                ^
/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:65:48: note: candidates are:
In file included from /usr/include/c++/4.8/regex:62:0,
                 from /home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:25:
/usr/include/c++/4.8/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:65:48: note:   deduced conflicting types for parameter ‘_Bi_iter’ (‘std::basic_regex<char>’ and ‘const char*’)
     string stripped = regex_replace(path, e, "");
                                                ^
In file included from /usr/include/c++/4.8/regex:62:0,
                 from /home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:25:
/usr/include/c++/4.8/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:65:48: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char [1]’
     string stripped = regex_replace(path, e, "");
                                                ^
[ 94%] Building CXX object CMakeFiles/faust.dir/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/names.cpp.o
make[4]: *** [CMakeFiles/faust.dir/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp.o] Fout 1
make[4]: *** Wachten op onvoltooide taken...
make[4]: Map '/home/bartje/Faust-installatie/faust-2.15.11/build/faustdir' wordt verlaten
make[3]: *** [CMakeFiles/faust.dir/all] Fout 2
make[3]: Map '/home/bartje/Faust-installatie/faust-2.15.11/build/faustdir' wordt verlaten
make[2]: *** [all] Fout 2
make[2]: Map '/home/bartje/Faust-installatie/faust-2.15.11/build/faustdir' wordt verlaten
make[1]: *** [all] Fout 2
make[1]: Map '/home/bartje/Faust-installatie/faust-2.15.11/build' wordt verlaten
make: *** [compiler] Fout 2
This is what goes wrong with my installation of Faust.

User avatar
Digital Larry
Established Member
Posts: 150
Joined: Thu Jan 09, 2014 5:25 am

Re: Faust error

Post by Digital Larry »

OK, well at least this won't take very long. I give up! :(

Let's see what they say on the Faust mailing list about my issue. It may actually not be their issue as they do not publish a Debian package, just source for Linux. What happened is clearly in the packaging, not the program itself.

Here's my post over at Ubuntu forums, I hope this doesn't violate anything.

https://ubuntuforums.org/showthread.php ... st13893776
Last edited by Digital Larry on Thu Oct 03, 2019 7:35 pm, edited 1 time in total.

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

Thanks anyway.

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

@Digital Larry

Do you already know why installing Faust resulted in all those programmes being removed? Could it be that CMake has anything to do with it?

tramp
Established Member
Posts: 1688
Joined: Mon Jul 01, 2013 8:13 am

Re: Faust error

Post by tramp »

LinMusGuy wrote:In file included from /usr/include/c++/4.8/regex:62:0,
from /home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:25:
/usr/include/c++/4.8/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
^
/usr/include/c++/4.8/bits/regex.h:2162:5: note: template argument deduction/substitution failed:
/home/bartje/Faust-installatie/faust-2.15.11/compiler/utils/exepath.cpp:65:48: note: deduced conflicting types for parameter ‘_Bi_iter’ (‘std::basic_regex<char>’ and ‘const char*’)
string stripped = regex_replace(path, e, "");
^
You need at least gcc-4.9 to build faust-2.15.11 ( better >ggc5)
gcc 4.8 is really old, it's from 2013.
Digital Larry wrote:ALERT: installing Faust seems to have uninstalled some other package unceremoniously, such as SooperLooper. That is NOT COOL! I saw it on the screen flying by. I'm going to have to have a word with those guys!
have you run a upgrade (apt-get upgrade) on your system before trying to install faust? Most likely faust use some newer system libs, which require other stuff to be upgraded (or, removed) before installing it. If that didn't work, you should report this to the package maintainer, a Ubuntu user forum isn't the place to get help or information for that issue.
On the road again.

User avatar
LinMusGuy
Established Member
Posts: 171
Joined: Wed Feb 27, 2019 9:33 pm

Re: Faust error

Post by LinMusGuy »

The program gcc-4.9-base is already installed:
gcc.png
But other earlier versions are also installed. :? What to do now? And gcc 5 isn't in the repositories.
You do not have the required permissions to view the files attached to this post.

User avatar
Digital Larry
Established Member
Posts: 150
Joined: Thu Jan 09, 2014 5:25 am

Re: Faust error

Post by Digital Larry »

tramp wrote:
Digital Larry wrote:ALERT: installing Faust seems to have uninstalled some other package unceremoniously, such as SooperLooper. That is NOT COOL! I saw it on the screen flying by. I'm going to have to have a word with those guys!
have you run a upgrade (apt-get upgrade) on your system before trying to install faust? Most likely faust use some newer system libs, which require other stuff to be upgraded (or, removed) before installing it. If that didn't work, you should report this to the package maintainer, a Ubuntu user forum isn't the place to get help or information for that issue.
This system is only a month or so old. I didn't run an apt get update/upgrade yesterday, but within the past few weeks absolutely.

I will report it to the package maintainer.
LinMusGuy wrote:@Digital Larry

Do you already know why installing Faust resulted in all those programmes being removed? Could it be that CMake has anything to do with it?

This problem is all in how the Debian package was created (probably something in the maintainer scripts) and so has nothing at all to do with problems building Faust itself.

I've made a few Debian packages for work, and I have installed dozens of them over the years and I have never experienced something like this. Not even so much as a "what you've requested will result in the following 20 packages getting removed, do you want to continue?" If I'd gotten that message I would have said "no" and would have built it from source instead.

Unfortunately for the time being, that was kind of "the last straw" as far as my ability to withstand frustration goes and I'm probably going to put this whole thing aside for awhile.

Post Reply