[PD] compiling externals on osx

altern enrike at altern.org
Thu Oct 21 10:55:55 CEST 2004


I deleted the m_pd.h file. But i dont really understand what i have to 
do with the file layout. I have installed the Pd-0.38-0test4HCS1.app OSX 
version of PD. Its installed on /applications/audio . I understand that 
there was a problem with files installed from a previous version of PD.

I am new to os x and linux, just used SuSE for few months and this 
folder system is new to me. When i compile stuff sometimes it goes ok 
sometimes it doesnt go and then i have big problems making things work.

could anyone post some more detailed info about how to do this? or maybe 
there is some wiki somewhere? I dont know itf the location of the 
externals source folder is an issue when compiling or not for example 
and if so,  where to place it. Also i am not sure about how to edit the 
makefile

thanks

> Looks like you have a version mismatch of /usr/local/include/m_pd.h and  
> ../include/g_canvas.h.  These two files need to be from the same  
> version of the Pd sources.
> 
> The easiest thing to do is delete /usr/local/include/m_pd.h and use the  
> file layout that many developers use:
> 
> http://puredata.org/docs/developer/devlayout
> 
> .hc
> 
> On Oct 20, 2004, at 6:18 AM, altern wrote:
> 
>> hi
>>
>> i am not sure if anyone answered the email i sent last week (i had a  
>> problem on my email software and lost all emails from that friday  
>> before i read them).
>>
>> if anyone can help it would be great. I paste the email egain before.
>>
>> thanks and sorry for duplicating the email
>>
>>
>> altern wrote:
>>
>>>>>>> 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 wonder if this second one still comes after you installed HCSs pd  
>>>> and set the appropriate path in the makefile.
>>>
>>> well i am not sure which is the appropiate path.
>>> I set
>>>      
>>> prefix=$(DESTDIR)/Applications/audio/Pd-0.38-0test4HCS1.app/Contents/ 
>>> Resources and
>>>     PDEXECUTABLE =  
>>> /Applications/audio/Pd-0.38-0test4HCS1.app/Contents/Resources/bin/pd
>>> but still got several errors. There it goes the output, maybe 
>>> someone  can give a pointer?
>>> 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  
>>> "button.o" -c "../src/button.c"
>>> In file included from ../../ggee/gui/button.c:2,
>>>                  from ../src/button.c:1:
>>> ../include/g_canvas.h:252: warning: redefinition of `t_savefn'
>>> /usr/local/include/m_pd.h:423: warning: `t_savefn' previously  
>>> declared here
>>> ../include/g_canvas.h:254: warning: redefinition of `t_propertiesfn'
>>> /usr/local/include/m_pd.h:427: warning: `t_propertiesfn' previously  
>>> declared here
>>> In file included from ../src/button.c:1:
>>> ../../ggee/gui/button.c:333:14: missing terminating " character
>>> In file included from ../src/button.c:1:
>>> ../../ggee/gui/button.c: In function `button_new':
>>> ../../ggee/gui/button.c:334: error: parse error before "pd"
>>> ../../ggee/gui/button.c:334: error: stray '\' in program
>>> ../../ggee/gui/button.c:334: error: stray '\' in program
>>> ../../ggee/gui/button.c:334: error: stray '\' in program
>>> ../../ggee/gui/button.c:335: error: stray '\' in program
>>> ../../ggee/gui/button.c:335:11: missing terminating " character
>>> make: *** [button.pd_darwin] Error 1
>>> Ordenador-de-ibook:~/desktop/ext/build/darwin ibook$
>>> thanks
>>
>>
>>
>> -- 
>> enrike
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  
>> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>
> 
> ________________________________________________________________________ 
> ____
> 
>                   ¡El pueblo unido jamás será vencido!
> 
> 
> _______________________________________________
> 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