I tried to compile CVS Pd devel_0_37 because the PlanetCCRMA Pd is 5 months old and buggy, but ran into a problem - it seems a portaudio file is missing.
Compiling without portaudio worked but gave me an OSS-only Pd.
I guess I'll try and get Jack working on my box, something I've been meaning to do anyway.
--------
$ cd ~/public/development
$ mkdir pure-data-devel
$ cd pure-data-devel
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data checkout -r devel_0_37 .
$ cd pd/src
$ ./configure --enable-portaudio --enable-fftw --enable-optimize --enable-threadedgui --enable-threadedsf --enable-gathreadlocks --with-x loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for working const... (cached) yes checking for ANSI C header files... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for bstring.h... (cached) no checking whether gcc needs -traditional... (cached) no checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strerror... (cached) yes checking for dlopen in -ldl... (cached) yes checking for sin in -lm... (cached) yes checking for pthread_create in -lpthread... (cached) yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for XCreateWindow in -lX11... (cached) yes checking for main in -ltcl8.7... (cached) no checking for main in -ltcl8.6... (cached) no checking for main in -ltcl8.5... (cached) no checking for main in -ltcl8.4... (cached) no checking for main in -ltcl8.3... (cached) yes checking for main in -ltk8.3... (cached) yes checking for tcl.h... (cached) yes checking for fftwf_plan_dft_r2c_1d in -lfftw3f... (cached) no OPT_CFLAGS --------------- -O6 -funroll-loops -fomit-frame-pointer creating ./config.status creating makefile
$ make depend gcc -I. -DPD -DUNIX -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DUSEAPI_PORTAUDIO -DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -fno-strict-aliasing -DTHREADED_GUI -DTHREADED_SF -DGARRAY_THREAD_LOCK -D_GNU_SOURCE -DGARRAY_THREAD_LOCK -D_GNU_SOURCE -M g_canvas.c g_graph.c g_text.c g_rtext.c g_array.c g_template.c g_io.c g_scalar.c g_traversal.c g_guiconnect.c g_readwrite.c g_editor.c g_all_guis.c g_bang.c g_hdial.c g_hslider.c g_mycanvas.c g_numbox.c g_toggle.c g_vdial.c g_vslider.c g_vumeter.c m_pd.c m_class.c m_obj.c m_atom.c m_memory.c m_binbuf.c m_conf.c m_glob.c m_sched.c s_main.c s_inter.c s_file.c s_print.c s_loader.c s_path.c s_entry.c s_audio.c s_midi.c d_ugen.c d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c d_math.c d_fft.c d_mayer_fft.c d_fftroutine.c d_array.c d_global.c d_delay.c d_resample.c x_arithmetic.c x_connective.c x_interface.c x_midi.c x_misc.c x_time.c x_acoustics.c x_net.c x_qlist.c x_gui.c d_soundfile.c m_simd_sse_vc.c m_simd_sse_gcc.c m_simd_ve_gcc.c s_audio_pa.c ../portaudio/pa_common/pa_allocation.c ../portaudio/pa_common/pa_converters.c ../portaudio/pa_common/pa_cpuload.c ../portaudio/pa_common/pa_dither.c ../portaudio/pa_common/pa_front.c ../portaudio/pa_common/pa_process.c ../portaudio/pa_common/pa_skeleton.c ../portaudio/pa_common/pa_stream.c ../portaudio/pa_common/pa_trace.c ../portaudio/pablio/pablio_pd.c ../portaudio/pablio/ringbuffer_pd.c ../portaudio/pa_unix/pa_unix_hostapis.c ../portaudio/pa_unix/pa_unix_util.c ../portaudio/pa_unix_oss/pa_unix_oss.c s_midi_oss.c s_audio_oss.c > makefile.dependencies ../portaudio/pa_unix_oss/pa_unix_oss.c:42:21: pa_unix.h: No such file or directory make: *** [depend] Error 1
$
--------
Claude
You could just try ./configure without options, and it should detect the available drivers. On linux you don't need portaudio, you can use ALSA, OSS or JACK directly with pd.
Gerard
On Sat, 10 Jul 2004 17:46:05 +0100, ClaudiusMaximus gloriousclaudiusmaximus@yahoo.co.uk wrote:
I tried to compile CVS Pd devel_0_37 because the PlanetCCRMA Pd is 5 months old and buggy, but ran into a problem - it seems a portaudio file is missing.
Compiling without portaudio worked but gave me an OSS-only Pd.
I guess I'll try and get Jack working on my box, something I've been meaning to do anyway.