View Single Post
  #1   (View Single Post)  
Old 11th August 2012
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Question gmake can't find tcl/tk

Hello everybody.

I'm trying to compile linuxCNC on Puffy.

But the gmake command give me :
Code:
In file included from emc/usr_intf/axis/extensions/_toglmodule.c:2:
./emc/usr_intf/axis/extensions/togl.c:66:4: error: #error Sorry Togl requires Tcl/Tk ver 8.0 or higher.
I've got the tcl8.4, tk8.4, tcl8.5 & tk8.5 packages installed.

With ./configure, I used the --with-tclConfig & --with-tkConfig options.

But what can I use with gmake ?

I tried
Code:
# export CFLAGS="-I/usr/local/include $CFLAGS"
# export LDFLAGS="-L/usr/local/lib/tcl $LDFLAGS"
Also tried
Code:
# gmake -ltcl85 -ltk85 -libtcl -libtk
Sure it's a stupid thing, but I cannot point it.
Anybody got an idea ?
Reply With Quote