Hello eveybody,
I have just compiled Audacity from source without errors on my PC.
Now i'm trying to compile it on my laptop (UBNUTU 16.04). When i launch the make, I receive this error:
audacity-AudioIO.o: In function `AudioIO::MidiTime()':
/usr/local/audacity/src/AudioIO.cpp:4001: undefined reference to `PaUtil_GetTime'
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target 'audacity' failed
make[2]: *** [audacity] Error 1
make[2]: Leaving directory '/usr/local/audacity/src'
Makefile:1588: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/audacity/src'
Makefile:799: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
BUILD FAILED (exit value 2, total time: 34m 51s)
Can you help me please ?
This the installation steps i adopted to compile from source:
System Settings -> Software and Updates -> Enable Source Code -> Close -> Reload.
Open a terminal (press Ctrl + Alt + T)
sudo apt build-dep audacity
sudo apt install git
git clone https://github.com/audacity/audacity
cd audacity
./configure
make
sudo make install
audacity
Thanks in advance.
Vincenzo.
make error
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Re: make error
Code: Select all
make distcleanThen run configure again, adding
Code: Select all
--with-portaudio=localFor example, for a debug build that will work with ffmpeg
Code: Select all
../configure CXXFLAGS="-std=gnu++11" --disable-dynamic-loading --with-portaudio=local --enable-debug9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)