Re: FreeWrap using libraries
- From: Dennis LaBelle <labelled@xxxxxxxxxxxx>
- Date: Thu, 14 Feb 2008 20:25:52 -0500
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
.
- Follow-Ups:
- Re: FreeWrap using libraries
- From: ZB
- Re: FreeWrap using libraries
- References:
- FreeWrap using libraries
- From: ZB
- Re: FreeWrap using libraries
- From: Dennis LaBelle
- Re: FreeWrap using libraries
- From: ZB
- FreeWrap using libraries
- Prev by Date: Re: where is a good aolserver howto? I have it installed.....
- Next by Date: Re: FreeWrap using libraries
- Previous by thread: Re: FreeWrap using libraries
- Next by thread: Re: FreeWrap using libraries
- Index(es):
Relevant Pages
|