on my debian(unstable) system, every time i get a new version of pd, i find myself having to add
-I/usr/include/tcl8.3
to the INCLUDE line in the makefile.
obviously, this isn't a particularly daunting task, but i was wondering if this is just a debian thing, or is a problem for many people?
pix.
hi,
using mdk (how lame...), I have tk.h in /usr/include. Maybe you could simply ln -s tcl8.3/tk.h after cd /usr/include?
K.
pix wrote:
on my debian(unstable) system, every time i get a new version of pd, i find myself having to add
-I/usr/include/tcl8.3
to the INCLUDE line in the makefile.
obviously, this isn't a particularly daunting task, but i was wondering if this is just a debian thing, or is a problem for many people?
yeah i could always link /usr/include/tcl to /usr/include/tcl8.3... i guess i'm curious if there is some holy debian-endorsed way to do it ;) so thoroughly off topic in that respect.
i've never come across the problem before but then, pd is the only tcl/tk app i use.
pix.
On Fri, 30 Nov 2001 20:19:54 +0100 Krzysztof Czaja czaja@chopin.edu.pl wrote:
hi,
using mdk (how lame...), I have tk.h in /usr/include. Maybe you could simply ln -s tcl8.3/tk.h after cd /usr/include?
K.
pix wrote:
on my debian(unstable) system, every time i get a new version of pd, i find myself having to add
-I/usr/include/tcl8.3
to the INCLUDE line in the makefile.
obviously, this isn't a particularly daunting task, but i was
wondering if
this is just a debian thing, or is a problem for many people?
Hello!
On Fri, 30 Nov 2001, pix wrote:
yeah i could always link /usr/include/tcl to /usr/include/tcl8.3... i guess i'm curious if there is some holy debian-endorsed way to do it ;) so thoroughly off topic in that respect.
This is what I am using and it works the holy. I would be interested if it works for other distributions and Unices.
I am also using slightly modified s_linux.c
-- changed -- #ifdef ALSA #include <sys/asoundlib.h> /* The include file path is the same for both */ #endif ---- with ---- #ifdef ALSA99 #include <sys/asoundlib.h> #else ifdef ALSA01 #include <alsa/asoundlib.h>
In file included from s_linux.c:42: /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. make: *** [s_linux.o] Error 1 --
Please report about successes and problems and take care,
Miha...
This is all stuff the "configure" script should be able to do. The funniest thing is that the current "configure" is mostly by Guenter who also has a debian system...
cheers Miller
On Fri, Nov 30, 2001 at 08:19:54PM +0100, Krzysztof Czaja wrote:
hi,
using mdk (how lame...), I have tk.h in /usr/include. Maybe you could simply ln -s tcl8.3/tk.h after cd /usr/include?
K.
pix wrote:
on my debian(unstable) system, every time i get a new version of pd, i find myself having to add
-I/usr/include/tcl8.3
to the INCLUDE line in the makefile.
obviously, this isn't a particularly daunting task, but i was wondering if this is just a debian thing, or is a problem for many people?
On Fri, 30 Nov 2001, Miller Puckette wrote:
This is all stuff the "configure" script should be able to do. The funniest thing is that the current "configure" is mostly by Guenter who also has a debian system...
.. and who does constantly change the configure.in for the debian release, because he is just to lazy to send the patches ... :)
Here is the important excerpt how the tcl header checking should look like. (the loop is unrolled by hand to make pd compilation even faster :)
AC_CHECK_HEADER(tcl.h,, AC_CHECK_HEADER(tcl8.1/tcl.h,CFLAGS="$CFLAGS -I /usr/include/tcl8.1", AC_CHECK_HEADER(tcl8.2/tcl.h,CFLAGS="$CFLAGS -I /usr/include/tcl8.2", AC_CHECK_HEADER(tcl8.3/tcl.h,CFLAGS="$CFLAGS -I /usr/include/tcl8.3", AC_CHECK_HEADER(tcl8.4/tcl.h,CFLAGS="$CFLAGS -I /usr/include/tcl8.4", AC_CHECK_HEADER(tcl8.5/tcl.h,CFLAGS="$CFLAGS -I /usr/include/tcl8.5", echo "no tcl/tk header found";exit))))))
The same or similar scheme should be applied for tcl and tk library checking .. ... and I don't think it is the best way to do it. But it should work.
Greetings
Guenter
cheers Miller
On Fri, Nov 30, 2001 at 08:19:54PM +0100, Krzysztof Czaja wrote:
hi,
using mdk (how lame...), I have tk.h in /usr/include. Maybe you could simply ln -s tcl8.3/tk.h after cd /usr/include?
K.
pix wrote:
on my debian(unstable) system, every time i get a new version of pd, i find myself having to add
-I/usr/include/tcl8.3
to the INCLUDE line in the makefile.
obviously, this isn't a particularly daunting task, but i was wondering if this is just a debian thing, or is a problem for many people?