LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.81k stars 1.16k forks source link

fix: Build: if LinuxCNC is relocated (via --prefix) TCLLIBPATH must be set #3141 #3150

Closed Eckeneckepen closed 1 month ago

Eckeneckepen commented 1 month ago

fix: Build: if LinuxCNC is relocated (via --prefix) TCLLIBPATH must be set #3141

Add to linuxcnc/scripts/linuxcnc.in

if [ -z "$TCLLIBPATH" ]; then TCLLIBPATH=$LINUXCNC_HOME/lib/tcltk else TCLLIBPATH=$LINUXCNC_HOME/lib/tcltk:"$TCLLIBPATH" fi export TCLLIBPATH