[PD-dev] build system

Hans-Christoph Steiner hans at at.or.at
Tue Jul 13 21:04:22 CEST 2010


On Jul 13, 2010, at 2:53 PM, cyrille henry wrote:

>
>
> Le 13/07/2010 20:34, Hans-Christoph Steiner a écrit :
>>
>> That build system was originally intended to be a hand-selected
>> collection of objects in a flat name space. Then people (like me) got
>> lazy and also threw in some libraries to get things building, so it
>> became a big mess.
> i agree
>> Since I made pmpd have a nice, standalone build
>> system, I didn't think anyone would miss that.
> wait.
> pmpd did have a makefile, and did compile on all platform.
> you just change the makefile.
>
>> If you want, those files
>> could be restored.
> it would be great if you could restore all file that was removed  
> there... (not only pmpd)
>
>>
>> As for compiling lots of externals in one step, try this, it works  
>> every
>> night on many machines:
>>
>> http://puredata.info/docs/developer/BuildingPdExtended
>>
>> You could replace the 'pd' folder with vanilla if you want.
>>
> no, i don't want to build pd, or pd extended.
>
>> Or you could do this:
>> cd externals
>> make
> yes, that's what i want.
>
> that's also the 1st thing i try:
>
> Makefile:27: /home/nusmuk/pd/packages/Makefile.buildlayout: Aucun  
> fichier ou dossier de ce type
> grep: /zexy/src/zexy.h: Aucun fichier ou dossier de ce type
> make: *** Pas de règle pour fabriquer la cible « /home/nusmuk/pd/ 
> packages/Makefile.buildlayout ». Arrêt.

Easily resolved:

cd /home/nusmuk/pd
svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/packages/

.hc


>
> c
>
>>
>> .hc
>>
>> On Jul 13, 2010, at 1:57 PM, cyrille henry wrote:
>>
>>> ok. there was a makefile for pmpd, and you changed it.
>>> that's not a problem since the new one work as good as the old one,
>>> and i'm hapy if that make things better for you.
>>> but this is completely unrelated to the other build system.
>>>
>>> the old build system (in build/linux) was compiling pmpd and lot's  
>>> of
>>> externals, in 1 simple step.
>>> why destroying it? you don't have to use it if you don't like it.  
>>> you
>>> don't have to remove other peoples work.
>>>
>>> how should i do now to compile most externals in 1 single step?
>>>
>>> cyrille
>>>
>>> Le 13/07/2010 19:03, Hans-Christoph Steiner a écrit :
>>>
>>>>
>>>> I removed pmpd from externals/build/src when I converted pmpd to  
>>>> use the
>>>> Makefile/libdir template, which Pd-extended also uses. This  
>>>> template is
>>>> not tied to Pd-extended at all, and is standalone. If you want to  
>>>> build
>>>> pmpd, just:
>>>>
>>>> cd externals/pmpd
>>>> make
>>>>
>>>> That seems like a much better option than the old system IMHO.  
>>>> Ideally,
>>>> all libraries would use this template, it makes building and  
>>>> packaging
>>>> much easier on all platforms.
>>>>
>>>> http://puredata.info/docs/developer/MakefileTemplate
>>>>
>>>> .hc
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> As we enjoy great advantages from inventions of others, we should  
>>>> be
>>>> glad of an opportunity to serve others by any invention of ours;  
>>>> and
>>>> this we should do freely and generously. - Benjamin Franklin
>>>>
>>>>
>>>>
>>
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>>
>> I have always wished for my computer to be as easy to use as my
>> telephone; my wish has come true because I can no longer figure out  
>> how
>> to use my telephone." --Bjarne Stroustrup (creator of C++)
>>
>>



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

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli





More information about the Pd-dev mailing list