Yes, this looks like an easily solvable problem.
Do a
make -f makefile.linux
or copy the makefile.linux to makefile. (RTFM)
One word about the Tcl/Tk location:
You have to make sure that the compiler/linker finds Tcl/Tk.
/usr/local is *not* the standard location. So if you have the include files in e.g /usr/local/include/tk.h the current makefile setup wonŽt find it !
YouŽd have to edit the makefile.linux for making it aware of the location. This is done by adding -I/usr/local/include to the CFLAGS and -L/usr/local/lib to the link flags.
Guenter
-----Original Message----- From: william sack [mailto:bsack@primenet.com] Sent: Thursday, November 12, 1998 2:50 PM To: pd-list@iem.mhsg.ac.at Subject: another Linux compilation problem?
I tried to build pd on my Linux box last night and 'make' died with the following error:
[root@t0ast src]# make cc -O2 -w2 -fullwarn -DUNIX -DIRIX -DPD -I. -I../tk/generic -I../tcl/generic -c -o ../obj/g_canvas.o g_canvas.c |& head -20 /bin/sh: syntax error near unexpected token
&' /bin/sh: -c: line 1:
cc -O2 -w2 -fullwarn -DUNIX -DIRIX -DPD -I. -I../tk/generic -I../tcl/generic -c -o ../obj/g_canvas.o g_canvas.c |& head -20' make: *** [g_canvas.o] Error 2I'm using RH5.1 and the full Tcl/Tk distributions which I believe are in the right place:
/usr/local/tk8.0.3, etc.
I will grab the RPM and see if it works. In the meantime, does this look like an easily solved problem?
Bill Sack __ __ ____ __ ____ __ bsack@primenet.com /_)/_) / / / / /_ / //_ www.primenet.com/~bsack/ / / / / / / /__ / / /___ /-------------------------------------------------------------