|
From: Joe E. <jen...@fl...> - 2004-11-03 17:39:47
|
Techentin, Robert W. wrote:
> Joe English wrote:
> > An alternate approach: compile with "-DNO_PRIVATE_HEADERS"
> > and link against libtk8.4.so (as well as libtkstub8.4.a).
> > The build system in the "generic" subdirectory does this
> > by default, or just hack the Makefile by hand.
> >
> > This _might_ not work on HP-UX, since dynamic linking
> > reportedly works differently there, but it's worked for
> > me on all the platforms I've tried.
>
> Thanks for the help, Joe. The generic build works on HP-UX 11.0, once I
> changed the compile and link flags for the native compilers.
Could you file a patch at SourceForge (or just email the patched
Makefile to me directly) so I can back-port the required changes
into the autoconf machinery?
[...]
> > This is bug #695441 "tcl_findLibrary does not look in
> > $::auto_path". Probably the best way to fix it is to hack
> > pkgIndex.tcl to set $::tile_library before loading the extension:
> > [...]
>
> Setting ::tile_library didn't seem to work,
Sorry, my mistake: it's not $::tile_library anymore, it's $::tile::library.
This should do the trick:
package ifneeded tile 0.5 "
namespace eval tile { variable library $dir } ;
load [file join $dir tile[info sharedlibext]]
"
(note that the ifneeded script is ""-quoted, not {}-quoted).
> but setting env(TILE_LIBRARY),
> as is done in the starkit pkgIndex.tcl, seems to work. But I had a devil of
> a time getting the starkit to play nicely with ActiveTcl, which includes
> tile0.3. I finally realized that the pkgIndex.tcl files set
> env(TILE_LIBRARY) *outside* of the package ifneeded script.
Uh oh.
Pat, could you fix this?
--Joe English
jen...@fl...
|