LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to install tcl/tk firefox plug-in (https://www.linuxquestions.org/questions/slackware-14/how-to-install-tcl-tk-firefox-plug-in-848382/)

wufo 12-04-2010 04:20 PM

how to install tcl/tk firefox plug-in
 
How do you install the tcl/tk firefox plug-in?

tj

witek 12-04-2010 04:39 PM

Have you read this?:
http://www.tcl.tk/software/plugin/

wufo 12-04-2010 09:59 PM

But, what does the README mean by
2. In the build directory /path/to/plugin/sources/configure with:
--with-mozilla=<path where you want to install the plugin>
and:
--prefix=/path/to/installed/(Active)Tcl8.4+
or:
--with-tcl=<path to tcl8.4 *build* dir>
--with-tk=<path to tk8.4 *build* dir>
The --prefix option is preferred.

If you want a personal install, use:
--with-mozilla=$HOME/.netscape (for Netscape4)
or --with-mozilla=$HOME/.mozilla (for Netscape7 or Mozilla)

I try this and get the errors

tclplugin $ ./configure --with-mozilla=/usr/lib/mozilla/plugins/ \
> --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/mo
> --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk
> --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... configure: error: /usr/lib/tcl8.5 directory doesn't contain tclConfig.sh
tclplugin $ ./configure --with-mozilla=/usr/lib/mozilla/plugins/ --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk8.5
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... configure: error: /usr/lib/tcl8.4 directory doesn't contain tclConfig.sh

So what am I supposed to give configure.

tj

witek 12-05-2010 03:20 AM

1. You don`t have to compile it.

2. Go to http://www.tcl.tk/software/plugin/ and download the XPI (I used Linux XPI 32-bit). Unzip it (if any problems rename it to .zip - it's just a zip file) to a directory.

3. move all but the install.js into your browser's plugins directory - /usr/lib/mozilla/plugins/, this means libnptcl3.1.so and nptcl directory (from uzipped files) - root access needed.
If you want to install for a current user only use:
/home/your_dir/.mozilla/firefox/something1234.default/plugins/ . If you don`t have the "plugins" directory just create it.

4. Restart browser and go to http://www.tcl.tk/software/plugin/applets.html and choose "dragable text" applet. It should work - for me most of them do.

If it helps mark the thread as [solved].

Good luck


All times are GMT -5. The time now is 01:42 AM.