-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-25 06:18, Hans-Christoph Steiner wrote:
yup:
hans@palatschinken bin $ dpkg -l tkpng Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description +++-================-================-================================================
ii tkpng 0.9-1ubuntu1 PNG photo image support to Tcl/Tk
Does it not work with Tcl/Tk 8.5?
hans@palatschinken bin $ tclsh % info patchlevel 8.5.11
works here:
zmoelnig@ferrari:~$ tclsh % info patchlevel 8.5.11 zmoelnig@ferrari:~$ dpkg -l tkpng ii tkpng 0.9-1 i386 PNG photo image support to Tcl/Tk
originally i had the same problem: $ ./pd-l2ork tcl: /tmp/pd-l2ork/bin/pd.tk: can't open script pd: exiting
but indeed i was missing tkpng first. i discovered this by directly running (after making pd.tk executable) $ ./pd.tk which initially threw an error "Error in startup script: can't find package tkpng".
so the "can't open script" error is a bit misleading (or generic).
attached is a small patch that prints the full error message of the Tcl-Interpreter.
fgmasdr IOhannes