[PD] compiling externals on osx

altern enrike at altern.org
Fri Oct 15 11:47:40 CEST 2004


hi again

still havent managed to compile the externals.
Now i installed the latest version of PD for mac 
(Pd-0.38-0test4HCS1.app). I have it on 
/Applications/Audio/Pd-0.38-0test4HCS1.app

then i edited the makefile to set the
PDEXECUTABLE = 
/Applications/audio/Pd-0.38-0test4HCS1.app/Contents/Resources/bin/pd

but i still get errors. I am not sure what i should do. I changed the

prefix=$(DESTDIR)/usr/local/pd
to
prefix=$(DESTDIR)/Applications/audio/Pd-0.38-0test4HCS1.app/Contents/Resources

but still get errors.

has anyone does this before? (i guess and hope so).
what should i change?

thanks


Hans-Christoph Steiner wrote:
> 
> What do you get if you:
> 
> ls -l /usr/local/pd/bin/pd
> 
> My guess is that the pd binary is not actually at /usr/local/pd/bin/pd
> 
> .hc
> 
> On Oct 1, 2004, at 9:26 AM, altern wrote:
> 
>> hi
>>
>> stupid question i guess but
>> I am trying to compile the externals under osx. I get the following  
>> error.
>>
>> Ordenador-de-ibook:~/desktop/ext/build/darwin ibook$ make
>> cc -DPD -Os  -DUNIX -DMACOSX -Dunix -Wall -W -Wno-unused  
>> -Wno-parentheses -Wno-switch -Wno-shadow  -I. -I.. -I../include -o  
>> "ann.o" -c "../src/ann.c"
>> In file included from ../src/ann.c:2:
>> ../../ann/src/ann_som.c: In function `som_read':
>> ../../ann/src/ann_som.c:433: warning: implicit declaration of 
>> function  `close'
>> cc -bundle  -bundle_loader /usr/local/pd/bin/pd  -o "ann.pd_darwin"  
>> "ann.o" -lc -lm \
>> #       `test -f ann.libs && cat ann.libs`
>> ld: can't open: /usr/local/pd/bin/pd (No such file or directory, 
>> errno  = 2)
>> make: *** [ann.pd_darwin] Error 1
>>
>> I have been editing the makefile at the build/darwin/makefile to set  
>> the proper path for PD but i dont understand very well this as i am  
>> new to osx and linux. So i am not sure what is the path i am supposed  
>> to set or if i am doing something else wrong.
>>
>> thanks!!
>>
>> --  enrike
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  
>> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>
> 
> ________________________________________________________________________ 
> ____
> 
>                     There is no way to peace, peace is the way.
>                                         -A.J. Muste
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 


-- 
enrike





More information about the Pd-list mailing list