Portaudio issue in 1.3.4
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
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
-
xxjack12xx
- Posts: 23
- Joined: Fri Nov 16, 2007 5:48 am
- Operating System: Please select
Portaudio issue in 1.3.4
I'm trying to compile 1.3.4 on FreeBSD 7.0 amd64 but I keep getting this configure error. It compiled fine on 1.3.3 but now it says portaudio doesn't include required functions. Any idea on how to fix this issue? configure output is below.
=== configuring in lib-src/portmixer (/usr/ports/audio/audacity-devel/work/audacity-src-1.3.4-beta/lib-src/portmixer)
configure: running /bin/sh ./configure '--prefix=/usr/local' '--with-portaudio=v19' '--with-libmad=system' '--with-vorbis=system' '--with-id3tag=system' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 'amd64-portbld-freebsd7.0' 'build_alias=amd64-portbld-freebsd7.0' 'host_alias=amd64-portbld-freebsd7.0' 'target_alias=amd64-portbld-freebsd7.0' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/local/include ' 'LDFLAGS= -L/usr/local/lib -pthread' 'CPPFLAGS= -I/usr/local/include ' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron' '--with-wx-config=/usr/local/bin/wxgtk2-2.8-config' '--with-pa-include=../portaudio-v19/include' --cache-file=/dev/null --srcdir=.
configure: WARNING: you should use --build, --host, --target
checking for amd64-portbld-freebsd7.0-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for amd64-portbld-freebsd7.0-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether to compile debug version... no
configure: WARNING: "Missing support in portaudio.h"
configure: error: "Your version of portaudio does not include required functions"
configure: error: ./configure failed for lib-src/portmixer
===> Script "configure" failed unexpectedly.
=== configuring in lib-src/portmixer (/usr/ports/audio/audacity-devel/work/audacity-src-1.3.4-beta/lib-src/portmixer)
configure: running /bin/sh ./configure '--prefix=/usr/local' '--with-portaudio=v19' '--with-libmad=system' '--with-vorbis=system' '--with-id3tag=system' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 'amd64-portbld-freebsd7.0' 'build_alias=amd64-portbld-freebsd7.0' 'host_alias=amd64-portbld-freebsd7.0' 'target_alias=amd64-portbld-freebsd7.0' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/local/include ' 'LDFLAGS= -L/usr/local/lib -pthread' 'CPPFLAGS= -I/usr/local/include ' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron' '--with-wx-config=/usr/local/bin/wxgtk2-2.8-config' '--with-pa-include=../portaudio-v19/include' --cache-file=/dev/null --srcdir=.
configure: WARNING: you should use --build, --host, --target
checking for amd64-portbld-freebsd7.0-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for amd64-portbld-freebsd7.0-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether to compile debug version... no
configure: WARNING: "Missing support in portaudio.h"
configure: error: "Your version of portaudio does not include required functions"
configure: error: ./configure failed for lib-src/portmixer
===> Script "configure" failed unexpectedly.
Need some punk rock? - http://www.punkrockdemo.com
Re: Portaudio issue in 1.3.4
I'm getting similar errors. But, I'm trying to compile using Kdevelop. If I compile from the command line, I don't get those errors.
My output:
checking whether to compile debug version... yes
configure: WARNING: "Missing support in pa_win_ds.h"
configure: WARNING: "Missing support in pa_linux_alsa.h"
configure: WARNING: "Missing support in pa_win_wmme.h"
configure: WARNING: "Missing support in pa_mac_core.h"
configure: WARNING: "Missing support in pa_unix_oss.h"
configure: WARNING: "Missing support in portaudio.h"
configure: error: "Your version of portaudio does not include required functions"
configure: error: /mnt/LINUX_DOCS/goofing_with/goofing_with_kdevelopo/audacity/lib-src/portmixer/configure failed for lib-src/portmixer
*** Exited with status: 1 ***
My output:
checking whether to compile debug version... yes
configure: WARNING: "Missing support in pa_win_ds.h"
configure: WARNING: "Missing support in pa_linux_alsa.h"
configure: WARNING: "Missing support in pa_win_wmme.h"
configure: WARNING: "Missing support in pa_mac_core.h"
configure: WARNING: "Missing support in pa_unix_oss.h"
configure: WARNING: "Missing support in portaudio.h"
configure: error: "Your version of portaudio does not include required functions"
configure: error: /mnt/LINUX_DOCS/goofing_with/goofing_with_kdevelopo/audacity/lib-src/portmixer/configure failed for lib-src/portmixer
*** Exited with status: 1 ***
Re: Portaudio issue in 1.3.4
I got it to work (configure). I added the --without-portmixer option.
--enable-debug=yes --prefix=/home/backdoc --without-portmixer --with-portaudio=v19 --with-wxwidgets=gtk2-ansi-release-2.8 --program-prefix=_beta
--enable-debug=yes --prefix=/home/backdoc --without-portmixer --with-portaudio=v19 --with-wxwidgets=gtk2-ansi-release-2.8 --program-prefix=_beta
-
xxjack12xx
- Posts: 23
- Joined: Fri Nov 16, 2007 5:48 am
- Operating System: Please select
Re: Portaudio issue in 1.3.4
If I compile without portmixer, it works, but the input sound device is not recognized.
Need some punk rock? - http://www.punkrockdemo.com
-
richardash1981
- Posts: 426
- Joined: Tue Jul 31, 2007 1:57 pm
- Operating System: Please select
Re: Portaudio issue in 1.3.4
Are you using the current CVS / tarball of 1.3.4? This normally shows up if you remove the portaudio-v19 directory from the tarball and replace it with one from the portaudio website, because they don't include the patch that is needed in portaudio in order for portmixer (which provides audio device control) to work.
If it works on the command line (where it was written and tested) but not in kdevelop, it sounds like a kdevelop problem not an audacity one.
If it works on the command line (where it was written and tested) but not in kdevelop, it sounds like a kdevelop problem not an audacity one.
Re: Portaudio issue in 1.3.4
I'm not sure if this question was directed toward me or not. I did not replace the portaudio-v19 directory. But, I am trying to use Kdevelop.richardash1981 wrote:Are you using the current CVS / tarball of 1.3.4? This normally shows up if you remove the portaudio-v19 directory from the tarball and replace it with one from the portaudio website, because they don't include the patch that is needed in portaudio in order for portmixer (which provides audio device control) to work.
I haven't posted the problems that I am having with Kdevelop/Audacity. To me, either my problems look like an issue with Kdevelop or just the simple fact that I don't know Kdevelop. I know that I have no problem compiling Audacity on the command line.richardash1981 wrote:If it works on the command line (where it was written and tested) but not in kdevelop, it sounds like a kdevelop problem not an audacity one.
I am going to start a new thread for my issues because I think the problems are distinct. I am also chronicling my issues in the form of a HOWTO on my website: http://www.crotchett.com/kdevelop
-
xxjack12xx
- Posts: 23
- Joined: Fri Nov 16, 2007 5:48 am
- Operating System: Please select
Re: Portaudio issue in 1.3.4
I downloaded the tarball off of the website and tried to compile it and got the portaudio configure error.
Need some punk rock? - http://www.punkrockdemo.com
Re: Portaudio issue in 1.3.4
A really old thread here, but I've just run up against this issue. The solution for me was to configure with the option
Code: Select all
--with-portmixer="local" 9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Portaudio issue in 1.3.4
Thank you very much. You saved my day.steve wrote:A really old thread here, but I've just run up against this issue. The solution for me was to configure with the optionCode: Select all
--with-portmixer="local"