I can’t edit the Question.
Previosly I did:
Installing wxWidgets
$ tar xvf wxWidgets-3.0.3.tar.bz2 -C /usr/local/Sources/
$ cd /usr/local/Sources/wxWidgets-3.0.3
$ ./configure --prefix=/usr/local/Custom/wxwidgets --enable-unicode --enable-debug --disable-shared
$ time make
$ sudo make install
Installing libsbsms
$ tar xvf /usr/local/Sources/libsbsms-2.0.2.tar.gz -C /usr/local/Sources/
$ cd /usr/local/Sources/libsbsms-2.0.2
$ ./configure --prefix=/usr/local/Custom/sbsms
$ make
$ sudo make install
export PATH=/usr/local/Custom/wxwidgets/bin:$PATH
I working on CentOS 7, Updating bin, lib and include folders.
$ more /etc/environment
PATH=/usr/local/Custom/wxwidgets/bin:(another bin folder programs...)
CPATH=/usr/local/Custom/wxwidgets/include:/usr/local/Custom/sbsms/include:/usr/local/Custom/wxwidgets/lib/wx/include/gtk3-unicode-static-3.1/wx:(another include folder programs...)
$ more /etc/ld.so.conf.d/custom. conf
...
/usr/local/Custom/wxwidgets/lib
/usr/local/Custom/sbsms/lib
...
Installing the Dependencies/programs needed by Audicity.
$ sudo yum install epel-release
$ sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
$ sudo yum install ffmpeg ffmpeg-devel
$ sudo yum install lame lame-libs lame-devel
$ sudo yum install flac flac-libs flac-devel ibogg-devel
$ sudo yum install libid3tag libid3tag-devel
$ sudo yum install libmad libmad-devel
$ sudo yum install libsndfile libsndfile-devel
$ sudo yum install soundtouch soundtouch-devel
$ sudo yum install cmake3
$ sudo ln -s /usr/bin/cmake3 /usr/bin/cmake
$ sudo yum install soxr soxr-devel
$ sudo yum install twolame twolame-libs twolame-devel
$ sudo yum install vamp-plugin-sdk vamp-plugin-sdk-devel
$ sudo yum install libvorbis libvorbis-devel
$ sudo yum install lv2 lv2-devel
$ sudo yum install portaudio portaudio-devel jack-audio-connection-kit libffado libxml++ alsa-lib-devel
$ sudo yum install portmidi portmidi-devel
Set folder Source for Audicity
$ tar -xvf /usr/local/Sources/audacity-minsrc-2.2.1.tar.xz -C /usr/local/Sources/
$ cd /usr/local/Sources/audacity-minsrc-2.2.1-rc3
Now using configure
$ ./configure --prefix=/usr/local/Custom/audacity --with-ffmpeg --with-lame --with-libid3tag --with-libmad --with-sbsms --with-libsndfile --with-soundtouch --with-libsoxr --with-libtwolame --with-libvorbis --with-lv2 --with-midi --with-portmidi --with-widgetextra --with-portmixer --with-portaudio --with-libflac --with-libvamp
final result configure
Finished configure:
EXPAT: using SYSTEM libraries
FFMPEG: using SYSTEM libraries
LAME: using SYSTEM libraries
LIBFLAC: using SYSTEM libraries
LIBID3TAG: using SYSTEM libraries
LIBMAD: using SYSTEM libraries
LIBNYQUIST: using LOCAL libraries
LIBSBSMS: using LOCAL libraries
LIBSNDFILE: using SYSTEM libraries
LIBSOUNDTOUCH: using SYSTEM libraries
LIBSOXR: using SYSTEM libraries
LIBTWOLAME: using SYSTEM libraries
LIBVAMP: using SYSTEM libraries
LIBVORBIS: using SYSTEM libraries
LV2: using LOCAL libraries
PORTAUDIO: using SYSTEM libraries
PORTSMF: using LOCAL libraries
PORTMIDI: using LOCAL libraries
WIDGETEXTRA: using LOCAL libraries
ladspa plugin support: enabled
audiounit plugin support: disabled
VST plugin support: enabled
prefix=/usr/local/Custom/audacity
Run 'configure --help' for an explanation of these options,
otherwise run 'make' to build Audacity.
$
ERROR make
$ time make
audacity-AudioIO.o: In function `SystemTime(bool)':
AudioIO.cpp:(.text+0x174): undefined reference to `PaUtil_GetTime'
audacity-AudioIO.o: In function `audacityAudioCallback(void const*, void*, unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)':
AudioIO.cpp:(.text+0xcb8c): undefined reference to `PaUtil_GetTime'
import/audacity-ImportFLAC.o:(.rodata._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
import/audacity-ImportFLAC.o:(.rodata._ZTV10MyFLACFile[_ZTV10MyFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ondemand/audacity-ODDecodeFlacTask.o:(.rodata._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x148): undefined reference to `FLAC::Decoder::File::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ondemand/audacity-ODDecodeFlacTask.o:(.rodata._ZTV10ODFLACFile[_ZTV10ODFLACFile]+0x160): undefined reference to `FLAC::Decoder::File::init_ogg(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
effects/vamp/audacity-LoadVamp.o: In function `VampEffectsModule::FindPlugins(PluginManagerInterface&)':
LoadVamp.cpp:(.text+0x2dd): undefined reference to `_VampHost::Vamp::HostExt::PluginLoader::listPlugins[abi:cxx11]()'
LoadVamp.cpp:(.text+0x375): undefined reference to `_VampHost::Vamp::HostExt::PluginLoader::loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, float, int)'
effects/vamp/audacity-LoadVamp.o: In function `VampEffectsModule::FindPlugin(wxString const&, int&, bool&)':
LoadVamp.cpp:(.text+0xcd2): undefined reference to `_VampHost::Vamp::HostExt::PluginLoader::loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, float, int)'
effects/vamp/audacity-VampEffect.o: In function `VampEffect::Init()':
VampEffect.cpp:(.text+0x1bff): undefined reference to `_VampHost::Vamp::HostExt::PluginLoader::loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, float, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2348: audacity] Error 1
make[2]: Leaving directory '/usr/local/Sources/audacity-minsrc-2.2.1-rc3/src'
make[1]: *** [Makefile:1585: all] Error 2
make[1]: Leaving directory '/usr/local/Sources/audacity-minsrc-2.2.1-rc3/src'
make: *** [Makefile:808: all-recursive] Error 1
real 22m32.431s
user 19m37.477s
sys 1m40.626s
$