Hello.
./configure fails on FreeBSD 6.0-RELEASE-p7 because the script looks in /usr/include and /usr/lib when tcl/tk is usually installed (via ports) into /usr/local/include and /usr/local/lib.
The script also tests for linkage against the tcl and tk libraries with the -ltcl8.X and -ltk8.X flags, when for no apparent reason, FreeBSD names the libraries:
libtcl84.so (-ltcl84) libtk84.so (-ltk84)
Don't you just love unnecessary breakage of standard file paths?
I'd submit a patch for the configure script, unfortunately, I don't understand autoconf at all and going by some of the stories I've heard from other devs, I really don't want to understand it...
cheers, MC
If you want this bug to be remembered, submit a bug report.
As for configure, its not so bad for most things, but it can be strange. Mostly, its just like writing a shell script. I would be easy to make it test for both tcl84 and tcl8.4, for example. If you actually read the pd/src/configure.in, I think you'll be able to make the change quite easiler.
.hc
On May 30, 2006, at 3:21 PM, mal content wrote:
Hello.
./configure fails on FreeBSD 6.0-RELEASE-p7 because the script looks in /usr/include and /usr/lib when tcl/tk is usually installed (via ports) into /usr/local/include and /usr/local/lib.
The script also tests for linkage against the tcl and tk libraries with the -ltcl8.X and -ltk8.X flags, when for no apparent reason, FreeBSD names the libraries:
libtcl84.so (-ltcl84) libtk84.so (-ltk84)
Don't you just love unnecessary breakage of standard file paths?
I'd submit a patch for the configure script, unfortunately, I don't understand autoconf at all and going by some of the stories I've heard from other devs, I really don't want to understand it...
cheers, MC
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
________________________________________________________________________ ____
"Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies." - Amy Smith