Hi Everyone!
running a ./configure on osx and got the following: checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... no checking for main in -ltcl8.3... yes checking for main in -ltk8.3... no no tk library found
tried with -libpath=/sw/lib but had no effect. i have two icl/tk installed, one that comes with osx by default and another one via fink
this might just be a small error in my paths, or ./configure flags, but if anyone has a quick idea about how to solve this... :-)
have a nice time Peter~
A-ha! I'm guessing you have RedHat 9? But I had the same problem. PD looks in all locations specified by the $PATH variable for libtk.so.0, however if you do a
ls libtk* -al
in /usr/lib you will see that the tk libs are named something else - libtk8.3.so.1 I think!
You can trick PD into finding the lib by making a link, say
ln -s libtk8.3.so.1 libtk.so.0
in /usr/lib. That way, PD finds the link, which points to the lib.
Ed
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at]On Behalf Of plessas@sbox.tugraz.at Sent: 24 February 2004 12:22 To: pd-list@iem.at Subject: [PD] pd compilation problem
Hi Everyone!
running a ./configure on osx and got the following: checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... no checking for main in -ltcl8.3... yes checking for main in -ltk8.3... no no tk library found
tried with -libpath=/sw/lib but had no effect. i have two icl/tk installed, one that comes with osx by default and another one via fink
this might just be a small error in my paths, or ./configure flags, but if anyone has a quick idea about how to solve this... :-)
have a nice time Peter~
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Thanks Ed!
this was the right idea! Problem solved!
Peter~
Oh, it's OSX, but it will probably work in the same way! Ed
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at]On Behalf Of plessas@sbox.tugraz.at Sent: 24 February 2004 12:22 To: pd-list@iem.at Subject: [PD] pd compilation problem
Hi Everyone!
running a ./configure on osx and got the following: checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... no checking for main in -ltcl8.3... yes checking for main in -ltk8.3... no no tk library found
tried with -libpath=/sw/lib but had no effect. i have two icl/tk installed, one that comes with osx by default and another one via fink
this might just be a small error in my paths, or ./configure flags, but if anyone has a quick idea about how to solve this... :-)
have a nice time Peter~
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
hey,
...this is a longstanding problem with the configure script on OSX:
all versions of osx come with libtcl8.3, but not libtk...(also, the
configure script includes lots of x11 stuff, which isn't necessary for
aqua)
...however, the configure script & make also include and link to frameworks for tcl and tk (assuming they are installed in /Library/Frameworks), and frameworks take precedence over the libs, so the sum result is ok (just don't think about it too much)...
...otoh, you can link against the tcl/tk in fink, but then you are building an x11 version of pd...this works well, but there are many other things to change beyond just the makefile...if interested, search the pd-list archives for "x11 osx", as this has been discussed before...
l8r, jamie
On Feb 24, 2004, at 7:22 AM, plessas@sbox.tugraz.at wrote:
Hi Everyone!
running a ./configure on osx and got the following: checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... no checking for main in -ltcl8.3... yes checking for main in -ltk8.3... no no tk library found
tried with -libpath=/sw/lib but had no effect. i have two icl/tk installed, one that comes with osx by default and another one via fink
this might just be a small error in my paths, or ./configure flags, but if anyone has a quick idea about how to solve this... :-)
have a nice time Peter~
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list