Build Audacity with mod-script-pipe on Raspberry Pi [SOLVED]

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
adaptiman
Posts: 30
Joined: Fri Mar 16, 2018 8:28 pm
Operating System: Linux Debian

Re: mod-script-pipe.so won't load

Post by adaptiman » Fri Mar 23, 2018 1:09 am

steve wrote:Grasping at straws...

From ~/.audacity-files/
What's your output from

Code: Select all

ls -la
and then again from ~/.audacity-files/modules
Looks normal:

Code: Select all

$ cd .audacity-files/
$ ls -al
total 12
drwxr-xr-x  3 pi pi 4096 Mar 20 21:39 .
drwxr-xr-x 35 pi pi 4096 Mar 21 23:15 ..
drwxr-xr-x  2 pi pi 4096 Mar 20 21:39 modules
$ cd modules/
$ ls -al
total 48
drwxr-xr-x 2 pi pi  4096 Mar 20 21:39 .
drwxr-xr-x 3 pi pi  4096 Mar 20 21:39 ..
-rwxr-xr-x 1 pi pi 40552 Mar 20 21:39 mod-script-pipe.so

steve
Site Admin
Posts: 47250
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: mod-script-pipe.so won't load

Post by steve » Fri Mar 23, 2018 1:42 am

Mine are rwxrwxr-x but I don't expect that to make a difference.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

adaptiman
Posts: 30
Joined: Fri Mar 16, 2018 8:28 pm
Operating System: Linux Debian

Re: mod-script-pipe.so won't load

Post by adaptiman » Fri Mar 23, 2018 12:09 pm

At this point, I'm going to start from a fresh installation, see what happens, and report back to this thread.

adaptiman
Posts: 30
Joined: Fri Mar 16, 2018 8:28 pm
Operating System: Linux Debian

SOLVED: mod-script-pipe.so won't load

Post by adaptiman » Sun Mar 25, 2018 1:29 am

I started with a fresh copy of Raspbian Stretch 2018-03-13, then built wxwidgets 3.0.4 and Audacity 2.2.2, and voila - everything works, including the ability to load mod-script-pipe.so. The location of the file is the standard user location .audacity-files/modules/.

So the bottom line is that my first attempt must've had something wonky with it. I'm closing this thread with a complete list of the commands I needed to build Audacity in Raspbian:

Code: Select all

sudo apt-get install libgtk-3-dev
sudo apt-get install cmake
sudo apt-get install libasound2-dev
<Github configuration and SSH cert>
cd ~
git clone https://github.com/wxwidgets/wxwidgets
git clone https://github.com/audacity/audacity
cp -r wxwidgets wxwidgets-dev
cd wxwidgets-dev
git reset --hard 721d62a
./configure --with-gtk --enable-debug
./make -j3
cd ..
cp -r audacity audacity-dev
cd audacity-dev
git reset --hard f665e6d
./configure CXXFLAGS="-std=gnu++11" WX_CONFIG=/home/pi/wxwidgets-dev/wx-config --with-lame --with-vorbis=local --with-libid3tag --with-libsoxr=local --with-libvorbis --with-lv2 --with-portaudio --with-midi --with-portmidi --with-widgetextra=local --with-portmixer --without-nyquist --disable-sse
cd ./lib-src/mod-script-pipe/
make -j3
cd ../..
make -j3
cd ..
mkdir .audacity-files
cd .audacity-files
mkdir modules
cd modules
cp ../../audacity-dev/modules/mod-script-pip.so ./

steve
Site Admin
Posts: 47250
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Build Audacity with mod-script-pipe on Raspberry Pi [SOL

Post by steve » Sun Mar 25, 2018 1:28 pm

Thanks adaptiman,

I'll lock this thread and edit the title to make it easier find for anyone building on a Pi.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked