From: Jeff H. <je...@Ac...> - 2002-12-20 22:37:16
|
For those who have been wondering what to do with sources that don't install, I've fixed make install to be a little more helpful. The basics of making a built plugin operate for you is: All platforms: run make install This copies the contents of tclplugin/library to whatever install dir you have chosen. Whereever this goes, it must be on the auto_path of the wish dll (Windows) or wish binary that will be used. WINDOWS: Mozilla: Copy the build nptcl30.dll to Mozilla's PLUGINS dir. Probably C:/Progra~1/mozilla.org/Mozilla/Plugins IE 5.5sp1-: Copy the build nptcl30.dll to Mozilla's PLUGINS dir. Probably C:/Progra~1/Internet Explorer/PLUGINS IE 5.5sp2+: Copy dll as for 5.5sp1 above. You will also need the ActiveX NPAPI host control from: http://plugindoc.mozdev.org/windows.html You have to compile this yourself for now, as it also needs to register itself as a control. Hopefully I can get a binary with install for this done soon. UNIX: All browsers: Copy libnptcl3.0.so to whereever plugins are expected, like: /opt/mozilla/plugins (Mozilla, site-wide) /usr/local/lib/netscape/plugins (Netscape4, site-wide) ~/.netscape/plugins (Netscape4, personal) ~/.mozilla/plugins (Netscape7 or Mozilla1+, personal) Edit installed /path/to/tcl/lib/nptcl3.0/installed.cfg set ::plugin(executable) to a valid, up-to-date 8.4 wish binary. Restart browser and go from there. A good starting page is: http://www.tcl.tk/software/plugin/ and the Plugin Demos link. At this time, any existing tclet should operate with the plugin, but I am not commited to keeping that compatability, depending on what we do to modify the security model. Jeff Hobbs The Tcl Guy Senior Developer http://www.ActiveState.com/ Tcl Support and Productivity Solutions |