Thread: Need libpgtcl on cygwin -- available?

Need libpgtcl on cygwin -- available?

From
"Jackson, Douglas H"
Date:
I've been trying to build the pgtcl library on cygwin, but the current pgtcl
needs Tcl_CreateFileHandler -- which isn't exposed on cygwin -- only on
Unix.

My reading of the sourcecode of the tcl8.x sources in the current cygwin
suggests that Tcl_CreateFileHandler is used internally to tcl, but I can't
yet figure out how to cause it to be exposed in library.

If I can find a good quality pgtcl.dll to use with the current tcl/tk binary
release, I'd use that instead of cygwin...

Can anyone offer words of wisdom?

Doug

Re: Need libpgtcl on cygwin -- available?

From
s0lao@netscape.net (S. L.)
Date:
"Jackson, Douglas H" <douglas.h.jackson@intel.com> wrote:

[...]
>
>Can anyone offer words of wisdom?
>
[...]

;)
Commenting out the Tcl_CreateFileHandler and Tcl_DeleteFileHandler declarations, is a way to get a working pgtcl.dll
(atleast pgaccess works in either local or network connection modes). 

Success,

SLao
--




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with
Shop@Netscape!http://shopnow.netscape.com/ 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


Re: Need libpgtcl on cygwin -- available?

From
s0lao@netscape.net (S. L.)
Date:
"Jackson, Douglas H" <douglas.h.jackson@intel.com> wrote:

[...]
>The module pgtclId.c is where they're used, but it appears they're pretty
               ^^^

Yup, yuo're right, where they're used.

>central to what happens there.
>I've tried to leave out the functions that call them, but that results in
>more unresolved symbols.
[...]

The more unresolved symbols are due to the fact that tcl/tk in cygwin are actually mingw (SIC!) apps, so autoconf isn't
veryaware of them. The fastest way to solve this is to add a "-ltcl80" option to the dllwrap line that tries to link
thepgtcl.dll file. 
The other way is to tweak the "src/template/win" file (I haven't test yet).

SLao
--




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with
Shop@Netscape!http://shopnow.netscape.com/ 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/