another Linux compilation problem?
Guenter Geiger
guenter.geiger at psp-vie.be.philips.com
Fri Nov 13 18:54:14 CET 1998
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 at primenet.com]
> Sent: Thursday, November 12, 1998 2:50 PM
> To: pd-list at 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 at 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 2
>
> I'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 at primenet.com /_)/_) / / / / /_ / //_
> www.primenet.com/~bsack/ / / \/ / / / /__ / \/ /___
> /-------------------------------------------------------------
> ------------------
>
More information about the Pd-list
mailing list