hello,
i usually use the old and deprecated build system located in svn/external/build/linux a single "make" build a lot's of external. (lot's more that i ever used) it's deprecated but still work perfectly. i now realized that few useful exernals are no more part of this build system. pmpd is not there anymore by example.
i understand that this build system is not very used anymore, but why did someone removed file in the ../src folder?
if you don't like it : just leave it, but please don't destroy it. unless there is a better explanation? so please explain yourself.
btw, how to use the pd extented build system?
Cyrille
On Jul 13, 2010, at 12:42 PM, cyrille henry wrote:
hello,
i usually use the old and deprecated build system located in svn/ external/build/linux a single "make" build a lot's of external. (lot's more that i ever used) it's deprecated but still work perfectly. i now realized that few useful exernals are no more part of this build system. pmpd is not there anymore by example.
i understand that this build system is not very used anymore, but why did someone removed file in the ../src folder?
if you don't like it : just leave it, but please don't destroy it. unless there is a better explanation? so please explain yourself.
btw, how to use the pd extented build system?
Cyrille
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
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
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. Since I made pmpd have a nice, standalone build system, I didn't think anyone would miss that. If you want, those files could be restored.
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.
Or you could do this: cd externals make
.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++)
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.
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++)
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
...
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/
thanks it work. make -k build most of extenals
(it's just strange for me that "package" is mandatory to compile "externals")
how could i copy them 1 folder (without installing them)?
c
On Jul 13, 2010, at 3:29 PM, cyrille henry wrote:
...
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/
thanks it work. make -k build most of extenals
It will be them all if you have all the right packages installed :)
(it's just strange for me that "package" is mandatory to compile "externals")
Yup, its an old issue. That's why there is a new Makefile template.
how could i copy them 1 folder (without installing them)?
"make install" will install them into externals/build unless you point DESTDIR somewhere else.
.hc
----------------------------------------------------------------------------
Information wants to be free. -Stewart Brand
Le 13/07/2010 21:36, Hans-Christoph Steiner a écrit : ..
make -k build most of extenals
It will be them all if you have all the right packages installed :)
i don't whsh to install all package needed by a lib that i will never use...
(it's just strange for me that "package" is mandatory to compile "externals")
Yup, its an old issue. That's why there is a new Makefile template.
ok
how could i copy them 1 folder (without installing them)?
"make install" will install them into externals/build unless you point DESTDIR somewhere else.
make install do not do anything since make fail.
make install -k is working a bit better.
in external/build/lib/pd-extended/extra, i've got all directory, but most of them are empty. even the zexy directory is empty. zexy have abstraction that are easy to install...
so?
cyrille
On Jul 13, 2010, at 3:59 PM, cyrille henry wrote:
Le 13/07/2010 21:36, Hans-Christoph Steiner a écrit : ..
make -k build most of extenals
It will be them all if you have all the right packages installed :)
i don't whsh to install all package needed by a lib that i will never use...
(it's just strange for me that "package" is mandatory to compile "externals")
Yup, its an old issue. That's why there is a new Makefile template.
ok
how could i copy them 1 folder (without installing them)?
"make install" will install them into externals/build unless you point DESTDIR somewhere else.
make install do not do anything since make fail.
make install -k is working a bit better.
in external/build/lib/pd-extended/extra, i've got all directory, but most of them are empty. even the zexy directory is empty. zexy have abstraction that are easy to install...
so?
cyrille
Hmm, I've never used -k with make install. You could also remove the libraries that you don't want from externals/Makefile. Look for LIB_TARGETS and remove what you don't want. Then build without -k. Everything should install into externals/build/extra, or at least it does on my machine.
.hc
----------------------------------------------------------------------------
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom
Hmm, I've never used -k with make install.
without -k,it did not work a all.
You could also remove the libraries that you don't want from externals/Makefile. Look for LIB_TARGETS and remove what you don't want.
it's not that i don't want, it's more the one that won't build. so, i try, and it's a pain. make now work. i had to svn co .../scripts and now make install also work.
Then build without -k. Everything should install into externals/build/extra, or at least it does on my machine.
there is no extra folder here. it install "everything" /home/nusmuk/pd/externals/build//lib/pd-extended/extra/...
i'm sorry to be grumpy, but i still think that the old build system was working better than the curent one. c
.hc
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom