Just a couple of comments. I'm trying to write a single shell script that will automatically download, configure, build, and install recent PD from CVS. I've seen some guides to doing so but I want a complete shell script that does the job with no interaction past initial configuration and setting dirs. The goal is to simplify (for me and for others) the process of building and upgrading Pd and its many accessories.
Perhaps someone can help me fix the following issues:
On building pdp:
make[2]: Entering directory
/home/dto/bigsrc/pd/externals/pdp/system/image' cc -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DPDP_VERSION=\"0.12.2\" -g -Werror -I. -I/usr/X11R6/include -I../include -I../../include -o pdp_imageproc_common.o -c pdp_imageproc_common.c pdp_imageproc_common.c: In function
_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1 make[2]: Leaving directory/home/dto/bigsrc/pd/externals/pdp/system/image' make[1]: *** [common] Error 2 make[1]: Leaving directory
/home/dto/bigsrc/pd/externals/pdp/system' make: *** [pdp_all] Error 2
There is a similar problem with Creb.
It seems that .../lib/pd/externs is deprecated in favor of .../lib/pd/extra for installation of externals.
However, "make install" tried to put them in "externs" so you have to edit the makefile.
(If the above two items can be fixed with arguments to configure, please let me know, then I can document the fact and use it in my script. Also, please let me know if this is not the right place to post this.)
cd $SRC/externals/grill/flext bash build.sh pd gcc make -f ./buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=single _build_ make[1]: Entering directory
/home/dto/bigsrc/pd/externals/grill/flext' g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -O3 -march=athlon-xp -m3dnow -pthread -fPIC -DFLEXT_USE_SIMD -DFLEXT_EXPORTS -DFLEXT_SYS=2 -I/home/dto/bigsrc/pd/pd/src source/flbase.cpp -o pd-linux/release-single/flbase.opp In file included from source/flbase.cpp:28: /home/dto/bigsrc/pd/pd/src/g_canvas.h:586: error: expected
,' or...' before "template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:597: error: expected
,' or...' before "template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:599: error: expected
,' or `...' before "template"
I am using the following commands to check out pd sources. Should I be doing something differently?
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co -r HEAD pd cd pd/src autoconf ./configure --enable-alsa --enable-jack make depend && make
Generous thanks for any help people can provide. Besides these issues, I should report that the latest Pd runs fine and looks great!
Hallo, David O'Toole hat gesagt: // David O'Toole wrote:
Just a couple of comments. I'm trying to write a single shell script that will automatically download, configure, build, and install recent PD from CVS.
For externals I highly recommend to just use scons.
$ cd externals/build/
### Where to install the externals: $ echo 'prefix = "/usr/lib/pd"' > custom.py
### Manually add the path to tcl-headers to CPPPATH environment in ### SConstruct's "env"
$ scons $ scons install
The only (important) things which are missing then are all flext-externals, iemmatrix and pdogg (which will not work, because scons doesn't link with libvorbis/ogg correctly yet.) and pdp.
Do these by hand.
Frank Barknecht _ ______footils.org_ __goto10.org__
Actually, building things manually has turned out well. I updated to today's copy of the source tree and built again, this time only removing the -Werror from the makefile to get flext building.
This is great, now it means I can port my virtual turntable GOP stuff from a pdogg based backend to the improved [readanysf~] stuff....
I'll release both my install script and my turntable stuff when they're ready... as well as details on the elusive KarmaPod I mentioned here a while back. . .
Now playing: dto_sitari.ogg (on PdRadio :-)
- flext will not build
cd $SRC/externals/grill/flext bash build.sh pd gcc make -f ./buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=single _build_ make[1]: Entering directory
/home/dto/bigsrc/pd/externals/grill/flext' g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -O3 -march=athlon-xp -m3dnow -pthread -fPIC -DFLEXT_USE_SIMD -DFLEXT_EXPORTS -DFLEXT_SYS=2 -I/home/dto/bigsrc/pd/pd/src source/flbase.cpp -o pd-linux/release-single/flbase.opp In file included from source/flbase.cpp:28: /home/dto/bigsrc/pd/pd/src/g_canvas.h:586: error: expected
,' or...' before "template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:597: error: expected
,' or...' before "template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:599: error: expected
,' or `...' before "template"I am using the following commands to check out pd sources. Should I be doing something differently?
flext is a c++ library, g_canvas.h in miller's pd uses the statement template. since template is a reserved keyword in c++, it's impossible to build it until miller changes "template" to "etalpmet" or anything else. this is a known issue, and it's fixed in devel
cheers ... tim
On Fri, 16 Sep 2005, Tim Blechmann wrote:
- flext will not build
"template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:597: error: expected
,' or
...' before "template" /home/dto/bigsrc/pd/pd/src/g_canvas.h:599: error: expected,' or
...' before "template"I am using the following commands to check out pd sources. Should I be doing something differently?
flext is a c++ library, g_canvas.h in miller's pd uses the statement template. since template is a reserved keyword in c++, it's impossible to build it until miller changes "template" to "etalpmet" or anything else. this is a known issue, and it's fixed in devel
just before:
#include "m_pd.h"
insert this line:
#define template yabba_dabba_doo
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
Hallo, Tim Blechmann hat gesagt: // Tim Blechmann wrote:
flext is a c++ library, g_canvas.h in miller's pd uses the statement template. since template is a reserved keyword in c++, it's impossible to build it until miller changes "template" to "etalpmet" or anything else. this is a known issue, and it's fixed in devel
It's also fixed in current MAIN, where now "tmpl" is used instead of "template".
Frank Barknecht _ ______footils.org_ __goto10.org__
On 16 Sep 2005, at 15:20, David O'Toole wrote:
Just a couple of comments. I'm trying to write a single shell script that will automatically download, configure, build, and install recent PD from CVS.
Are you going to make this script available somewhere, and is it bash?
If so, and it uses the scons build as Frank commented, I'd love to see it (plus I'd vote that it should be included in CVS in some way, if appropriate)
I can add helpful doc and usability bits to the bash script if welcome.
d
-- # David Plans Casal
problem.each { |day| assert_nil(spoon) }