Re: FreeWrap using libraries



ZB wrote:

Dnia 13.02.2008 Dennis LaBelle <labelled@xxxxxxxxxxxx> napisał/a:

Example: Given the following content in file testload.tcl
Example: Wrap the script with the following command. This assumes that
the

Thanks, I'll try to.

Trying to build FreeWrap on OpenBSD, I've got two doubts:

- in the unix/makefile there is ZIPOBJDIR entry. What should it contain?
The sources for zip-2.3, or something like zip.o (as "object" suggests)?
Or perhaps just zip ELF-binary?

The ZIPOBJDIR variable defined in the freeWrap Make files needs to be set to
the name of the directory in which the ZIP program distribution has been
extracted and compiled

- again in the makefile, there is LIB_TCL position, which should point to
library file like: libtcl85.a. Unfortunately, there's no such file in my
system. What did I miss during build phase, that it hasn't been
prepared?

Static TCL/TK libraries must be built under UNIX by using
the --disable-shared option of the configure script. This will produce a
static library having an extension of ".a". The LIB_TCL variable must point
to this file. This file is usually stored someplace
like /usr/local/lib/libtcl85.a when "make install" is run as part of the
TCL build process.

One more thing: does it really have to be something like "tclsqlite"? No
way to use libtclsqlite3.so just by "package require"?

To use "package require" you would need to create a pkgIndex.tcl file,
include it the wrapped application, add the path to the pkgIndex.tcl file
to the auto_path variable and then use the "package require" command.

In this case it's just easier to use a single line of code as found in my
previous example:

load [zvfs::list */tclsqlite-3.5.6.so]


Dennis LaBelle

.



Relevant Pages

  • Re: Cant get jabber to start on installation
    ... > I have managed to get jabber installed, and running it from the command ... > specifically) trying to run it from the init.d script is another matter. ... fail to start again because the PID file exists. ... Debian package works around this by checking for a stale PID file (and ...
    (Debian-User)
  • RE: Failed software distribution
    ... Did you bundle the cscript.exe file with your package? ... Command line: scanallstate.vbs ... I've created a package and program that should run a VB script to ... client would received the notification ...
    (microsoft.public.sms.admin)
  • Re: TIP #216: Handling Command-Line Options in Tclsh and Wish
    ... > I have this existing script that can take some command line arguments like ... > package installed then that package will be loaded and my script doesn't ... to load the package "debug" and the result would be as if: ...
    (comp.lang.tcl)
  • Re: Windows Freewrap 6.2 how to add package
    ... I am wrapping an application with freewrap 6.2 and in the script I am using the ezsmtp1.0.0 package. ...
    (comp.lang.tcl)
  • Re: Windows Freewrap 6.2 how to add package
    ... I am wrapping an application with freewrap 6.2 and in the script I am using the ezsmtp1.0.0 package. ...
    (comp.lang.tcl)