[PD] ERROR building pd-0.41.4_EXTENDED from source on OSX snow leopard

Hans-Christoph Steiner hans at at.or.at
Fri Apr 30 18:33:20 CEST 2010


You need to install everything if you want to build all of Pd- 
extended.  Its a non-trivial process, but its documented here:

http://puredata.info/docs/developer/MacOSXFink

.hc

On Apr 29, 2010, at 3:29 PM, t'es in t'es bat wrote:

> Hello Hans,
> Thanks for helping,  unfortunately
> i got  errors :
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
> parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/ 
> include         -I../portaudio/include -I../portaudio/src/ 
> common         -I../portaudio/src/os/mac_osx/         -I../portmidi/ 
> pm_common -I../portmidi/pm_mac         -I../portmidi/ 
> porttime         -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO - 
> DNEWBUFFER -DMACOSX3 -DPA_BIG_ENDIAN -Wno-error -O2 -DUSEAPI_JACK - 
> fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=2 -march=core2  
> -msse3 -mssse3 -mfpmath=sse -DINSTALL_PREFIX=\"\"  -c -o ../obj/ 
> s_audio_jack.o s_audio_jack.c
> s_audio_jack.c:11:23: error: jack/jack.h: No such file or directory
> s_audio_jack.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_out_max’
> s_audio_jack.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_filled’
> s_audio_jack.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_mutex’
> s_audio_jack.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_sem’
> s_audio_jack.c:39: error: expected ‘)’ before ‘nframes’
> s_audio_jack.c:94: error: expected ‘)’ before ‘srate’
> s_audio_jack.c: In function ‘jack_shutdown’:
> s_audio_jack.c:105: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:105: error: (Each undeclared identifier is reported  
> only once
> s_audio_jack.c:105: error: for each function it appears in.)
> s_audio_jack.c: In function ‘jack_get_clients’:
> s_audio_jack.c:121: warning: implicit declaration of function  
> ‘jack_get_ports’
> s_audio_jack.c:121: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:121: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c: In function ‘jack_connect_ports’:
> s_audio_jack.c:196: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:197: error: ‘JackPortIsOutput’ undeclared (first use  
> in this function)
> s_audio_jack.c:197: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c:200: warning: implicit declaration of function  
> ‘jack_connect’
> s_audio_jack.c:200: warning: implicit declaration of function  
> ‘jack_port_name’
> s_audio_jack.c:200: error: ‘input_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:201: warning: format ‘%s’ expects type ‘char *’, but  
> argument 3 has type ‘int’
> s_audio_jack.c:206: error: ‘JackPortIsInput’ undeclared (first use  
> in this function)
> s_audio_jack.c:206: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c:209: error: ‘output_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:210: warning: format ‘%s’ expects type ‘char *’, but  
> argument 2 has type ‘int’
> s_audio_jack.c: In function ‘jack_open_audio’:
> s_audio_jack.c:234: error: ‘jack_status_t’ undeclared (first use in  
> this function)
> s_audio_jack.c:234: error: expected ‘;’ before ‘status’
> s_audio_jack.c:236: error: ‘jack_client_new’ undeclared (first use  
> in this function)
> s_audio_jack.c:257: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:262: warning: implicit declaration of function  
> ‘jack_client_open’
> s_audio_jack.c:262: error: ‘JackNoStartServer’ undeclared (first use  
> in this function)
> s_audio_jack.c:262: error: ‘status’ undeclared (first use in this  
> function)
> s_audio_jack.c:263: error: ‘JackServerFailed’ undeclared (first use  
> in this function)
> s_audio_jack.c:268: error: ‘JackNameNotUnique’ undeclared (first use  
> in this function)
> s_audio_jack.c:271: error: ‘JackServerStarted’ undeclared (first use  
> in this function)
> s_audio_jack.c:289: warning: implicit declaration of function  
> ‘jack_set_process_callback’
> s_audio_jack.c:289: error: ‘process’ undeclared (first use in this  
> function)
> s_audio_jack.c:291: warning: implicit declaration of function  
> ‘jack_set_error_function’
> s_audio_jack.c:301: warning: implicit declaration of function  
> ‘jack_set_sample_rate_callback’
> s_audio_jack.c:301: error: ‘jack_srate’ undeclared (first use in  
> this function)
> s_audio_jack.c:309: warning: implicit declaration of function  
> ‘jack_on_shutdown’
> s_audio_jack.c:312: error: ‘input_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:313: error: ‘output_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:324: warning: implicit declaration of function  
> ‘jack_get_sample_rate’
> s_audio_jack.c:331: warning: implicit declaration of function  
> ‘jack_port_register’
> s_audio_jack.c:331: error: ‘JACK_DEFAULT_AUDIO_TYPE’ undeclared  
> (first use in this function)
> s_audio_jack.c:331: error: ‘JackPortIsInput’ undeclared (first use  
> in this function)
> s_audio_jack.c:341: error: ‘JackPortIsOutput’ undeclared (first use  
> in this function)
> s_audio_jack.c:353: warning: implicit declaration of function  
> ‘jack_activate’
> s_audio_jack.c:364: warning: implicit declaration of function  
> ‘pthread_mutex_init’
> s_audio_jack.c:364: error: ‘jack_mutex’ undeclared (first use in  
> this function)
> s_audio_jack.c:365: warning: implicit declaration of function  
> ‘pthread_cond_init’
> s_audio_jack.c:365: error: ‘jack_sem’ undeclared (first use in this  
> function)
> s_audio_jack.c: In function ‘jack_send_dacs’:
> s_audio_jack.c:385: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:393: error: ‘jack_filled’ undeclared (first use in  
> this function)
> s_audio_jack.c:393: error: ‘jack_out_max’ undeclared (first use in  
> this function)
> s_audio_jack.c:394: warning: implicit declaration of function  
> ‘pthread_cond_wait’
> s_audio_jack.c:394: error: ‘jack_sem’ undeclared (first use in this  
> function)
> s_audio_jack.c:394: error: ‘jack_mutex’ undeclared (first use in  
> this function)
> make[2]: *** [s_audio_jack.o] Error 1
> make[1]: [pd] Error 2 (ignored)
> make -C /Users/lepole/pd-extended/pd/src BUILDLAYOUT_DIR=/Users/ 
> lepole/pd-extended/packages cvs_root_dir=/Users/lepole/pd-extended  
> DESTDIR=/Users/lepole/pd-extended/packages/darwin_app/build/ 
> Pd-0.42.5-extended.app/Contents/Resources prefix= libpddir=  
> OPT_CFLAGS="-fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=2  
> -march=core2 -msse3 -mssse3 -mfpmath=sse" UNAME=Darwin  install
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
> parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/ 
> include         -I../portaudio/include -I../portaudio/src/ 
> common         -I../portaudio/src/os/mac_osx/         -I../portmidi/ 
> pm_common -I../portmidi/pm_mac         -I../portmidi/ 
> porttime         -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO - 
> DNEWBUFFER -DMACOSX3 -DPA_BIG_ENDIAN -Wno-error -O2 -DUSEAPI_JACK - 
> fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=2 -march=core2  
> -msse3 -mssse3 -mfpmath=sse -DINSTALL_PREFIX=\"\"  -c -o ../obj/ 
> s_audio_jack.o s_audio_jack.c
> s_audio_jack.c:11:23: error: jack/jack.h: No such file or directory
> s_audio_jack.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_out_max’
> s_audio_jack.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_filled’
> s_audio_jack.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘*’ token
> s_audio_jack.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_mutex’
> s_audio_jack.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or  
> ‘__attribute__’ before ‘jack_sem’
> s_audio_jack.c:39: error: expected ‘)’ before ‘nframes’
> s_audio_jack.c:94: error: expected ‘)’ before ‘srate’
> s_audio_jack.c: In function ‘jack_shutdown’:
> s_audio_jack.c:105: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:105: error: (Each undeclared identifier is reported  
> only once
> s_audio_jack.c:105: error: for each function it appears in.)
> s_audio_jack.c: In function ‘jack_get_clients’:
> s_audio_jack.c:121: warning: implicit declaration of function  
> ‘jack_get_ports’
> s_audio_jack.c:121: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:121: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c: In function ‘jack_connect_ports’:
> s_audio_jack.c:196: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:197: error: ‘JackPortIsOutput’ undeclared (first use  
> in this function)
> s_audio_jack.c:197: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c:200: warning: implicit declaration of function  
> ‘jack_connect’
> s_audio_jack.c:200: warning: implicit declaration of function  
> ‘jack_port_name’
> s_audio_jack.c:200: error: ‘input_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:201: warning: format ‘%s’ expects type ‘char *’, but  
> argument 3 has type ‘int’
> s_audio_jack.c:206: error: ‘JackPortIsInput’ undeclared (first use  
> in this function)
> s_audio_jack.c:206: warning: assignment makes pointer from integer  
> without a cast
> s_audio_jack.c:209: error: ‘output_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:210: warning: format ‘%s’ expects type ‘char *’, but  
> argument 2 has type ‘int’
> s_audio_jack.c: In function ‘jack_open_audio’:
> s_audio_jack.c:234: error: ‘jack_status_t’ undeclared (first use in  
> this function)
> s_audio_jack.c:234: error: expected ‘;’ before ‘status’
> s_audio_jack.c:236: error: ‘jack_client_new’ undeclared (first use  
> in this function)
> s_audio_jack.c:257: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:262: warning: implicit declaration of function  
> ‘jack_client_open’
> s_audio_jack.c:262: error: ‘JackNoStartServer’ undeclared (first use  
> in this function)
> s_audio_jack.c:262: error: ‘status’ undeclared (first use in this  
> function)
> s_audio_jack.c:263: error: ‘JackServerFailed’ undeclared (first use  
> in this function)
> s_audio_jack.c:268: error: ‘JackNameNotUnique’ undeclared (first use  
> in this function)
> s_audio_jack.c:271: error: ‘JackServerStarted’ undeclared (first use  
> in this function)
> s_audio_jack.c:289: warning: implicit declaration of function  
> ‘jack_set_process_callback’
> s_audio_jack.c:289: error: ‘process’ undeclared (first use in this  
> function)
> s_audio_jack.c:291: warning: implicit declaration of function  
> ‘jack_set_error_function’
> s_audio_jack.c:301: warning: implicit declaration of function  
> ‘jack_set_sample_rate_callback’
> s_audio_jack.c:301: error: ‘jack_srate’ undeclared (first use in  
> this function)
> s_audio_jack.c:309: warning: implicit declaration of function  
> ‘jack_on_shutdown’
> s_audio_jack.c:312: error: ‘input_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:313: error: ‘output_port’ undeclared (first use in  
> this function)
> s_audio_jack.c:324: warning: implicit declaration of function  
> ‘jack_get_sample_rate’
> s_audio_jack.c:331: warning: implicit declaration of function  
> ‘jack_port_register’
> s_audio_jack.c:331: error: ‘JACK_DEFAULT_AUDIO_TYPE’ undeclared  
> (first use in this function)
> s_audio_jack.c:331: error: ‘JackPortIsInput’ undeclared (first use  
> in this function)
> s_audio_jack.c:341: error: ‘JackPortIsOutput’ undeclared (first use  
> in this function)
> s_audio_jack.c:353: warning: implicit declaration of function  
> ‘jack_activate’
> s_audio_jack.c:364: warning: implicit declaration of function  
> ‘pthread_mutex_init’
> s_audio_jack.c:364: error: ‘jack_mutex’ undeclared (first use in  
> this function)
> s_audio_jack.c:365: warning: implicit declaration of function  
> ‘pthread_cond_init’
> s_audio_jack.c:365: error: ‘jack_sem’ undeclared (first use in this  
> function)
> s_audio_jack.c: In function ‘jack_send_dacs’:
> s_audio_jack.c:385: error: ‘jack_client’ undeclared (first use in  
> this function)
> s_audio_jack.c:393: error: ‘jack_filled’ undeclared (first use in  
> this function)
> s_audio_jack.c:393: error: ‘jack_out_max’ undeclared (first use in  
> this function)
> s_audio_jack.c:394: warning: implicit declaration of function  
> ‘pthread_cond_wait’
> s_audio_jack.c:394: error: ‘jack_sem’ undeclared (first use in this  
> function)
> s_audio_jack.c:394: error: ‘jack_mutex’ undeclared (first use in  
> this function)
> make[2]: *** [s_audio_jack.o] Error 1
> make[1]: *** [pd_install] Error 2
> make: *** [darwin_app_core] Error 2
> new-host-4:darwin_app lepole$
>
>
> 2010/4/29 Hans-Christoph Steiner <hans at at.or.at>
>
> I just noticed that you are trying to build 0.41.4.  I think you'll  
> have better luck with 0.42.5, so try this:
> http://puredata.info/docs/developer/GettingPdSource
>
> Specifically, something like this in the Terminal:
> rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ pd- 
> extended/
> cd pd-extended/packages/darwin_app
> make install
> make package
>
>
> -- 
> TNTB
> t'es in t'es bat
> 7 place Favier
> 13210 St Remy de Provence
> T/: 04 90 26 95 09
> P/: 06 86 86 12 19
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> http://www.tntb.net
> LOVES
> LePôle travaille sur le fil des accidents, des fractures, des bugs  
> informatiques, vidéos.
> -]>[-]<<[>+>+<<-]>>[<<+>>-]>>>
> Lepôle cherche , il cause il triture les matières, les bits, les  
> glitch, les formats. Il sort des cadres.
> [-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<
> LePôle s'indiscipline dans de multiples tentatives fragile et  
> poetiques.
> -]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
> LePôle improvise avec ses valises pleine de machines improbables et  
> généreuse en surprises visuelles...
> -]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
> LePôle = numerikexperimentatatonnedebitengigaemotionel
> //////////////////////////////////////////////////////////////////////////
> 00000000000000
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
> \\\\\
> LePôle works on the edge of faults, errors and informatic bugs and  
> videos
> >+++++++++[<+++++++++++>-]<[>[
> -]>[-]<<[>+>+<<-]>>[<<+>>-]>>>
> LePôle looks for, causes, fiddles with bytes, glitches and formats.  
> Something  out of the ordinary.
> [-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<
> LePôle is undisciplined in many endeavours fragile and poetic
> -]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
> LePôle improvises with its suitcases full of unlikely machines and  
> visual surprises...
> -]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
> LePôle =digitalexperimentationofemotionalgigabytes
> //////////////////////////////////////////////////////////////////////////
>
>
>
>
>



----------------------------------------------------------------------------

News is what people want to keep hidden and everything else is  
publicity.          - Bill Moyers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100430/5fdd1c67/attachment.htm>


More information about the Pd-list mailing list