compiling Audacity 2.1.0 on OpenSUSE

Building and customizing Audacity from the source code.

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

compiling Audacity 2.1.0 on OpenSUSE

Permanent link to this post Posted by labud » Wed Mar 29, 2017 2:14 am

openSUSE Leap 42.2 64-bit, KDE Plasma 5.8.3,
building from audacity-minsrc-2.1.0.tar.xz

I have posted this on the openSuse forums also, but after 77 people have read this, no one seems to be able to offer suggestions.
I have also had some help from Audacity GNU/Linux forums [Gale A]

Because of a BUG in Audacity 2.1.1 to Audacity 2.1.3, I am trying to compile Audacity 2.1.0 on my machine.
The BUG is that you cannot change the default SAVE from .aiff to anything else and must type whatever file extension you require. Although that is not a big deal for one or two files, I have a great number of files to edit and would like to do it in as efficient manner as possible. Audacity is aware of the problem but have not found a solution to it yet. Apparently, it has to do with something about changing from wxWidgets 2.8.12 to wxWidgets 3.0.
In the Audacity GNU/Linux forums, I was told that I would need to compile wxWidgets 2.8.12 as Audacity 2.1.0 would need wxWidgets 2.8.12 to run.

So far I have managed to compile wxWidgets 2.8.12.
I am trying to compile Audacity 2.1.0, but am coming up with an error at the end.
Following the advice on this page:
http://wiki.audacityteam.org/wiki/Developing_On_Linux
I checked to make sure all dependencies on their list were met.
Are there any other dependencies that opensuse would require that may not have been on the list?
I also installed all devel pkgs for these dependencies.
It has been suggested[via google] that EXPAT, glibc and glibc-devel might not be installed, but I have checked and they are.

This statement in the Audacity compile:
Code: Select all
configure: WARNING: system installation of libmad found, but it is too old.  Upgrade to at least 0.14.2b to use with Audacity

I have searched in Yast for 'libmad' and come up with 'libmad0' and its version is 1.15.1b-15.
I see no 'libmad'.

It is shown in the code below [see next post] that the compile finds wxWidgets 2.8.12 and that EXPAT is there.
I have gone through the Audacity compile and checked for anything missing and there are things that may be missing but they are not in repos when I search in Yast.
Where would I get them?
I see a couple of other warnings. Is it possible to identify the 1st thing that went wrong and thereby correcting it, it may correct other problems down the line?
Thank you.

Code: Select all
[email protected]:~/Downloads/audacity-minsrc-2.1.0> ./configure CXXFLAGS=”-std=gnu++11″
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for C compiler vendor... gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes                                                                                                                                     
checking whether gcc accepts -g... (cached) yes                                                                                                                                                     
checking for gcc option to accept ISO C89... (cached) none needed                                                                                                                                   
checking dependency style of gcc... (cached) gcc3                                                                                                                                                   
checking for g++... g++                                                                                                                                                                             
checking whether we are using the GNU C++ compiler... no                                                                                                                                             
checking whether g++ accepts -g... yes                                                                                                                                                               
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...  -DPIC
checking if g++ PIC flag  -DPIC works... no
checking if g++ static flag  works... no
checking if g++ supports -c -o file.o... no
checking if g++ supports -c -o file.o... (cached) no
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking for pkg-config... yes
checking whether the linker accepts the -rdynamic flag... no
configure: WARNING: "Linker does not support -rdynamic. Could not enable exporting all symbols"
configure: WARNING: "Audacity module support will probably not work"
checking for an ANSI C-conforming const... no
checking for size_t... no
checking for alloca.h... no
checking for libudev.h... no
checking CFLAGS for strict prototypes... no, suppressed, signal.h
checking wall_flags for maximum warnings... -Wall
checking whether the C++ compiler accepts the  -Wall flag... no
checking whether the C++ preprocessor accepts the  -Wall flag... yes
checking whether the -Werror option is usable... no
checking for simple visibility declarations... no
checking for wx-config... /usr/local/bin/wx-config
configure: Checking that the chosen version of wxWidgets is 2.8.x
Great, you're using wxWidgets 2.8.12!
configure: Determining what libraries are available in this tree and on the system
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EXPAT... yes
configure: Expat libraries are available as system libraries
checking for ./lib-src/expat/lib/expat.h... no
configure: Expat libraries are NOT available in the local tree
checking for AVCODEC... yes
checking for AVFORMAT... yes
checking for AVUTIL... yes
configure: FFmpeg library available as system library
checking for ./lib-src/ffmpeg/libavcodec/avcodec.h... yes
checking for ./lib-src/ffmpeg/libavformat/avformat.h... yes
configure: FFmpeg headers are available in the local tree
checking for lame_set_VBR_q in -lmp3lame... no
checking lame/lame.h usability... no
checking lame/lame.h presence... yes
configure: WARNING: lame/lame.h: present but cannot be compiled
configure: WARNING: lame/lame.h:     check for missing prerequisite headers?
configure: WARNING: lame/lame.h: see the Autoconf documentation
configure: WARNING: lame/lame.h:     section "Present But Cannot Be Compiled"
configure: WARNING: lame/lame.h: proceeding with the compiler's result
checking for lame/lame.h... no
configure: LAME library is NOT available as system library.
checking for ./lib-src/lame/lame/lame.h... yes
configure: LAME headers are available in this source tree.
checking for FLAC... yes
configure: FLAC libraries are available as system libraries
checking for ./lib-src/libflac/include/FLAC/format.h... no
checking for ./lib-src/libflac/include/FLAC++/decoder.h... no
configure: FLAC libraries are NOT available in this source tree
checking for ID3TAG... yes
configure: Libid3tag libraries are available as system libraries
checking for ./lib-src/libid3tag/frame.h... no
configure: libid3tag libraries are NOT available in the local tree
checking for LIBMAD... yes
checking for mad_decoder_init in -lmad... no
configure: WARNING: system installation of libmad found, but it is too old.  Upgrade to at least 0.14.2b to use with Audacity
configure: libmad libraries are available as system libraries
checking for ./lib-src/libmad/frame.h... no
configure: libmad libraries are NOT available in the local tree
checking for ./lib-src/libnyquist/nyx.h... yes
configure: nyquist libraries are available in the local tree
checking for ./lib-src/libresample/include/libresample.h... no
configure: libresample libraries are NOT available in the local tree
checking for LIBSAMPLERATE_SYSTEM... yes
configure: Libsamplerate libraries are available as system libraries
checking for ./lib-src/libsamplerate/src/samplerate.h... no
configure: libsamplerate libraries are NOT available in the local tree
checking for SBSMS... no
configure: Libsbsms libraries are NOT available as system libraries
checking for ./lib-src/sbsms/include/sbsms.h... yes
configure: libsbsms libraries are available in the local tree
checking for SNDFILE... yes
configure: Libsndfile libraries are available as system libraries
checking for ./lib-src/libsndfile/src/sndfile.h.in... no
configure: libsndfile libraries are NOT available in this source tree
checking for SOUNDTOUCH... yes
configure: Libsoundtouch libraries are available as system libraries
checking for ./lib-src/soundtouch/include/SoundTouch.h... no
configure: libsoundtouch libraries are NOT available in the local tree
checking for SOXR... no
configure: Soxr libraries are NOT available as system libraries
checking for ./lib-src/libsoxr/src/soxr.h... no
configure: libsoxr libraries are NOT available in the local tree
checking for LIBTWOLAME... yes
configure: Libtwolame library available as system library
checking for ./lib-src/twolame/libtwolame/twolame.h... no
configure: libtwolame library is NOT available in the local tree
checking for VAMP... no
configure: Vamp libraries are NOT available as system libraries
checking for ./lib-src/libvamp/vamp-hostsdk/PluginLoader.h... no
configure: Vamp libraries are NOT available in the local tree
checking for LIBVORBIS... yes
configure: Vorbis libraries are available as system libraries
checking for ./lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for ./lib-src/libogg/include/ogg/ogg.h... no
configure: Vorbis libraries are NOT available in this source tree
checking for LV2... no
configure: LV2 libraries are NOT available as system libraries
checking for ./lib-src/lv2/configure... no
configure: LV2 libraries are NOT available in the local tree
checking for PORTAUDIO... yes
configure: portaudio19 library is available as system library, but does not have the Pa_GetStreamHostApiType function.
checking for ./lib-src/portaudio-v19/include/portaudio.h... yes
configure: portaudio19 library is available in the local tree
checking for PORTSMF... no
configure: portSMF library is NOT available as system library
checking for ./lib-src/portsmf/allegro.h... yes
configure: portSMF library is available in the local tree
checking for WIDGETEXTRA... no
configure: libwidgetextra library is NOT available as system library.
checking for ./lib-src/lib-widget-extra/NonGuiThread.h... yes
configure: libwidgetextra library is available in the local tree
configure: Figuring out what libraries to enable
configure: Using SYSTEM libraries for EXPAT
configure: Using SYSTEM libraries for FFMPEG
configure: Using LOCAL libraries for LAME
configure: Using SYSTEM libraries for LIBFLAC
configure: Using SYSTEM libraries for LIBID3TAG
configure: Using SYSTEM libraries for LIBMAD
configure: Using LOCAL libraries for LIBNYQUIST
configure: disabling LIBRESAMPLE
configure: Using SYSTEM libraries for LIBSAMPLERATE
configure: Using LOCAL libraries for LIBSBSMS
configure: Using SYSTEM libraries for LIBSNDFILE
configure: Using SYSTEM libraries for LIBSOUNDTOUCH
configure: disabling LIBSOXR
configure: Using SYSTEM libraries for LIBTWOLAME
configure: disabling LIBVAMP
configure: Using SYSTEM libraries for LIBVORBIS
configure: disabling LV2
configure: Using LOCAL libraries for PORTAUDIO
configure: Using LOCAL libraries for PORTSMF
configure: Using LOCAL libraries for WIDGETEXTRA
configure: EXPAT: adding  to libraries
configure: FFMPEG: adding  to libraries
configure: LIBFLAC: adding  to libraries
configure: LIBID3TAG: adding  to libraries
configure: LIBMAD: adding  to libraries
configure: LIBSNDFILE: adding  to libraries
configure: LIBSOUNDTOUCH: adding  to libraries
configure: LIBTWOLAME: adding  to libraries
configure: LIBVORBIS: adding  to libraries
checking for library containing dlopen... no
configure: error: dlopen not found, required by Audacity
[email protected]:~/Downloads/audacity-minsrc-2.1.0>
Last edited by Gale Andrews on Wed Mar 29, 2017 1:36 pm, edited 1 time in total.
Reason: more specific topic title
labud
 
Posts: 15
Joined: Mon Mar 13, 2017 1:33 am
Operating System: GNU/Linux other

Re: compiling Audacity 2.1.0 on OpenSUSE

Permanent link to this post Posted by Gale Andrews » Wed Mar 29, 2017 2:45 pm

As a general point, you seem to be building from a minimal source tarball. By definition this does not come self-contained with all the dependencies required to build Audacity. Consider using the full source: https://github.com/audacity/audacity/archive/Audacity-2.1.0.zip instead.

labud wrote:openSUSE Leap 42.2 64-bit, KDE Plasma 5.8.3,
building from audacity-minsrc-2.1.0.tar.xz

I have posted this on the openSuse forums also, but after 77 people have read this, no one seems to be able to offer suggestions.
I have also had some help from Audacity GNU/Linux forums [Gale A]

Because of a BUG in Audacity 2.1.1 to Audacity 2.1.3, I am trying to compile Audacity 2.1.0 on my machine.

The BUG is that you cannot change the default SAVE from .aiff to anything else and must type whatever file extension you require. Although that is not a big deal for one or two files I have a great number of files to edit and would like to do it in as efficient manner as possible.

What are the edits? You may be able to do them with SoX at the command-line.

labud wrote: Audacity is aware of the problem but have not found a solution to it yet. Apparently, it has to do with something about changing from wxWidgets 2.8.12 to wxWidgets 3.0.

In the Audacity GNU/Linux forums, I was told that I would need to compile wxWidgets 2.8.12 as Audacity 2.1.0 would need wxWidgets 2.8.12 to run.

So far I have managed to compile wxWidgets 2.8.12.
I am trying to compile Audacity 2.1.0, but am coming up with an error at the end.
Following the advice on this page:
http://wiki.audacityteam.org/wiki/Developing_On_Linux
I checked to make sure all dependencies on their list were met.
Are there any other dependencies that opensuse would require that may not have been on the list?

This is what you openSUSE should tell you. We cannot tell you. Have you tried zypper or even ldd to check dependencies of an official Fedora package of Audacity?

Or try asking on StackOverflow.

labud wrote:I also installed all devel pkgs for these dependencies.
It has been suggested[via google] that EXPAT, glibc and glibc-devel might not be installed, but I have checked and they are.

This statement in the Audacity compile:
Code: Select all
configure: WARNING: system installation of libmad found, but it is too old.  Upgrade to at least 0.14.2b to use with Audacity

I have searched in Yast for 'libmad' and come up with 'libmad0' and its version is 1.15.1b-15.
I see no 'libmad'.

Is that libmad0 package and any libmad0-devel package there might be installed? If not, install those.

But it is only a warning. If you don't want to be able to import MP2 and MP3, which is what libmad does, try configuring Audacity:
Code: Select all
--with-libmad=no


Or, build from the full source then you use Audacity's copy of libmad:
Code: Select all
--with-libmad=local


labud wrote:It is shown in the code below [see next post] that the compile finds wxWidgets 2.8.12 and that EXPAT is there.
I have gone through the Audacity compile and checked for anything missing and there are things that may be missing but they are not in repos when I search in Yast.
Where would I get them?

I see a couple of other warnings. Is it possible to identify the 1st thing that went wrong and thereby correcting it, it may correct other problems down the line?

According to https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html -rdynamic is needed for some uses of dlopen but the Audacity configure warning only refers to the effect on modules. You don't need Audacity modules from what you have said.


Gale



Code: Select all
[email protected]:~/Downloads/audacity-minsrc-2.1.0> ./configure CXXFLAGS=”-std=gnu++11″
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for C compiler vendor... gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes                                                                                                                                     
checking whether gcc accepts -g... (cached) yes                                                                                                                                                     
checking for gcc option to accept ISO C89... (cached) none needed                                                                                                                                   
checking dependency style of gcc... (cached) gcc3                                                                                                                                                   
checking for g++... g++                                                                                                                                                                             
checking whether we are using the GNU C++ compiler... no                                                                                                                                             
checking whether g++ accepts -g... yes                                                                                                                                                               
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...  -DPIC
checking if g++ PIC flag  -DPIC works... no
checking if g++ static flag  works... no
checking if g++ supports -c -o file.o... no
checking if g++ supports -c -o file.o... (cached) no
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking for pkg-config... yes
checking whether the linker accepts the -rdynamic flag... no
configure: WARNING: "Linker does not support -rdynamic. Could not enable exporting all symbols"
configure: WARNING: "Audacity module support will probably not work"
checking for an ANSI C-conforming const... no
checking for size_t... no
checking for alloca.h... no
checking for libudev.h... no
checking CFLAGS for strict prototypes... no, suppressed, signal.h
checking wall_flags for maximum warnings... -Wall
checking whether the C++ compiler accepts the  -Wall flag... no
checking whether the C++ preprocessor accepts the  -Wall flag... yes
checking whether the -Werror option is usable... no
checking for simple visibility declarations... no
checking for wx-config... /usr/local/bin/wx-config
configure: Checking that the chosen version of wxWidgets is 2.8.x
Great, you're using wxWidgets 2.8.12!
configure: Determining what libraries are available in this tree and on the system
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EXPAT... yes
configure: Expat libraries are available as system libraries
checking for ./lib-src/expat/lib/expat.h... no
configure: Expat libraries are NOT available in the local tree
checking for AVCODEC... yes
checking for AVFORMAT... yes
checking for AVUTIL... yes
configure: FFmpeg library available as system library
checking for ./lib-src/ffmpeg/libavcodec/avcodec.h... yes
checking for ./lib-src/ffmpeg/libavformat/avformat.h... yes
configure: FFmpeg headers are available in the local tree
checking for lame_set_VBR_q in -lmp3lame... no
checking lame/lame.h usability... no
checking lame/lame.h presence... yes
configure: WARNING: lame/lame.h: present but cannot be compiled
configure: WARNING: lame/lame.h:     check for missing prerequisite headers?
configure: WARNING: lame/lame.h: see the Autoconf documentation
configure: WARNING: lame/lame.h:     section "Present But Cannot Be Compiled"
configure: WARNING: lame/lame.h: proceeding with the compiler's result
checking for lame/lame.h... no
configure: LAME library is NOT available as system library.
checking for ./lib-src/lame/lame/lame.h... yes
configure: LAME headers are available in this source tree.
checking for FLAC... yes
configure: FLAC libraries are available as system libraries
checking for ./lib-src/libflac/include/FLAC/format.h... no
checking for ./lib-src/libflac/include/FLAC++/decoder.h... no
configure: FLAC libraries are NOT available in this source tree
checking for ID3TAG... yes
configure: Libid3tag libraries are available as system libraries
checking for ./lib-src/libid3tag/frame.h... no
configure: libid3tag libraries are NOT available in the local tree
checking for LIBMAD... yes
checking for mad_decoder_init in -lmad... no
configure: WARNING: system installation of libmad found, but it is too old.  Upgrade to at least 0.14.2b to use with Audacity
configure: libmad libraries are available as system libraries
checking for ./lib-src/libmad/frame.h... no
configure: libmad libraries are NOT available in the local tree
checking for ./lib-src/libnyquist/nyx.h... yes
configure: nyquist libraries are available in the local tree
checking for ./lib-src/libresample/include/libresample.h... no
configure: libresample libraries are NOT available in the local tree
checking for LIBSAMPLERATE_SYSTEM... yes
configure: Libsamplerate libraries are available as system libraries
checking for ./lib-src/libsamplerate/src/samplerate.h... no
configure: libsamplerate libraries are NOT available in the local tree
checking for SBSMS... no
configure: Libsbsms libraries are NOT available as system libraries
checking for ./lib-src/sbsms/include/sbsms.h... yes
configure: libsbsms libraries are available in the local tree
checking for SNDFILE... yes
configure: Libsndfile libraries are available as system libraries
checking for ./lib-src/libsndfile/src/sndfile.h.in... no
configure: libsndfile libraries are NOT available in this source tree
checking for SOUNDTOUCH... yes
configure: Libsoundtouch libraries are available as system libraries
checking for ./lib-src/soundtouch/include/SoundTouch.h... no
configure: libsoundtouch libraries are NOT available in the local tree
checking for SOXR... no
configure: Soxr libraries are NOT available as system libraries
checking for ./lib-src/libsoxr/src/soxr.h... no
configure: libsoxr libraries are NOT available in the local tree
checking for LIBTWOLAME... yes
configure: Libtwolame library available as system library
checking for ./lib-src/twolame/libtwolame/twolame.h... no
configure: libtwolame library is NOT available in the local tree
checking for VAMP... no
configure: Vamp libraries are NOT available as system libraries
checking for ./lib-src/libvamp/vamp-hostsdk/PluginLoader.h... no
configure: Vamp libraries are NOT available in the local tree
checking for LIBVORBIS... yes
configure: Vorbis libraries are available as system libraries
checking for ./lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for ./lib-src/libogg/include/ogg/ogg.h... no
configure: Vorbis libraries are NOT available in this source tree
checking for LV2... no
configure: LV2 libraries are NOT available as system libraries
checking for ./lib-src/lv2/configure... no
configure: LV2 libraries are NOT available in the local tree
checking for PORTAUDIO... yes
configure: portaudio19 library is available as system library, but does not have the Pa_GetStreamHostApiType function.
checking for ./lib-src/portaudio-v19/include/portaudio.h... yes
configure: portaudio19 library is available in the local tree
checking for PORTSMF... no
configure: portSMF library is NOT available as system library
checking for ./lib-src/portsmf/allegro.h... yes
configure: portSMF library is available in the local tree
checking for WIDGETEXTRA... no
configure: libwidgetextra library is NOT available as system library.
checking for ./lib-src/lib-widget-extra/NonGuiThread.h... yes
configure: libwidgetextra library is available in the local tree
configure: Figuring out what libraries to enable
configure: Using SYSTEM libraries for EXPAT
configure: Using SYSTEM libraries for FFMPEG
configure: Using LOCAL libraries for LAME
configure: Using SYSTEM libraries for LIBFLAC
configure: Using SYSTEM libraries for LIBID3TAG
configure: Using SYSTEM libraries for LIBMAD
configure: Using LOCAL libraries for LIBNYQUIST
configure: disabling LIBRESAMPLE
configure: Using SYSTEM libraries for LIBSAMPLERATE
configure: Using LOCAL libraries for LIBSBSMS
configure: Using SYSTEM libraries for LIBSNDFILE
configure: Using SYSTEM libraries for LIBSOUNDTOUCH
configure: disabling LIBSOXR
configure: Using SYSTEM libraries for LIBTWOLAME
configure: disabling LIBVAMP
configure: Using SYSTEM libraries for LIBVORBIS
configure: disabling LV2
configure: Using LOCAL libraries for PORTAUDIO
configure: Using LOCAL libraries for PORTSMF
configure: Using LOCAL libraries for WIDGETEXTRA
configure: EXPAT: adding  to libraries
configure: FFMPEG: adding  to libraries
configure: LIBFLAC: adding  to libraries
configure: LIBID3TAG: adding  to libraries
configure: LIBMAD: adding  to libraries
configure: LIBSNDFILE: adding  to libraries
configure: LIBSOUNDTOUCH: adding  to libraries
configure: LIBTWOLAME: adding  to libraries
configure: LIBVORBIS: adding  to libraries
checking for library containing dlopen... no
configure: error: dlopen not found, required by Audacity
[email protected]:~/Downloads/audacity-minsrc-2.1.0>
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: compiling Audacity 2.1.0 on OpenSUSE

Permanent link to this post Posted by labud » Wed Mar 29, 2017 11:30 pm

From this post http://forum.audacityteam.org/viewtopic.php?f=48&t=95221 you recommended that I use
https://github.com/audacity/audacity/releases has source code for 2.1.0 and 2.1.1. You can compile that source code yourself if you wish.

I chose the tar.xz version and it extracted to a folder called audacity-minsrc-2.1.0
I will now try to compile the other one from https://github.com/audacity/audacity/archive/Audacity-2.1.0.zip adding
Code: Select all
--with-libmad=local
to compile statement. I still get the same errors.
What are the edits? You may be able to do them with SoX at the command-line.

I am taking out silence and/or other noise at the beginning and the end of mp3's
If you don't want to be able to import MP2 and MP3, which is what libmad does
.
This is exactly what I need to do, I am only working with mp3.
Is that libmad0 package and any libmad0-devel package there might be installed? If not, install those.

yes they are installed.
You don't need Audacity modules from what you have said

I am not really sure, what modules are?

NOTE: Out of deparation I tried the rpm 2.1.0 version from here:
http://packman.links2linux.org/package/286
I installed it and have edited a few songs thru it and it seems to be working. [as in it puts the .mp3 extension on the edited song. I don't know what 'bugs' were in 2.1.0 but they don't seem to be effecting my work yet.
I have locked Audacity from auto updating.
Thank You for your patience and help.
labud
 
Posts: 15
Joined: Mon Mar 13, 2017 1:33 am
Operating System: GNU/Linux other

Re: compiling Audacity 2.1.0 on OpenSUSE

Permanent link to this post Posted by Gale Andrews » Thu Mar 30, 2017 4:33 pm

labud wrote:From this post http://forum.audacityteam.org/viewtopic.php?f=48&t=95221 you recommended that I use
https://github.com/audacity/audacity/releases has source code for 2.1.0 and 2.1.1. You can compile that source code yourself if you wish.

I chose the tar.xz version and it extracted to a folder called audacity-minsrc-2.1.0

Yes those downloads are full source, not minimal source. So I don't know why you named it as minsrc.

Also you could download the 2.1.1 source if you prefer. 2.1.1 does not have the AIFF problem.

labud wrote:
What are the edits? You may be able to do them with SoX at the command-line.

I am taking out silence and/or other noise at the beginning and the end of mp3's

If you are filtering the noise and not simply deleting the audio that contains the noise, I think you can use SoX. Have a look at its features and documentation. Of course, this degrades the MP3 because you are re-encoding it, just as in Audacity.

If you are merely deleting audio you could try MP3DirectCut under Wine, or perhaps MP3Splt (I don't know if that will delete silence in one file or insists on splitting into two files). Both these tools do not degrade the files, because there is no re-encoding. So you should consider this even if you have got the Audacity 2.1.0 package to run.

labud wrote:NOTE: Out of deparation I tried the rpm 2.1.0 version from here:
http://packman.links2linux.org/package/286
I installed it and have edited a few songs thru it and it seems to be working. [as in it puts the .mp3 extension on the edited song. I don't know what 'bugs' were in 2.1.0 but they don't seem to be effecting my work yet.
I have locked Audacity from auto updating.

I think the worry was that you are on LEAP and the 2.1.0 package is meant for a different version of openSUSE.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: compiling Audacity 2.1.0 on OpenSUSE

Permanent link to this post Posted by labud » Thu Mar 30, 2017 9:56 pm

So I don't know why you named it as minsrc

It named itself when it untarred.

If you are merely deleting audio you could try MP3DirectCut under Wine, or perhaps MP3Splt

I have used both before, AFAIK MP3DirectCut isn't being maintained at wine anymore and the GUI for MP3Splt is also gone by the wayside.
I checked them both as alternatives.
And really Audacity is the BEST!

the worry was that you are on LEAP and the 2.1.0 package is meant for a different version of openSUSE.

Yes, I do understand that it might have messed up a few things, but it didn't [TG] and now we know that 2.1.0 rpm works on Leap 42.2.

Thanks again Gale and I will keep a watch for when Audacity has this bug sorted and I will upgrade then.
Also I will check SoX out.
labud
 
Posts: 15
Joined: Mon Mar 13, 2017 1:33 am
Operating System: GNU/Linux other


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 2 guests