Re: Tk module on Cygwin
"DominiX" <[email protected]> Mon, 20 Dec 2004 23:05:27 -1000
| Newsgroups | gmane.os.cygwin.perl |
|---|---|
| Message-ID | <011001c4e73c$392b2780$0100a8c0@pastis> |
Wigand Rathmann wrote:
> Dear Listeners,
>
> I have just found this mailing group. At time I try to compile the Tk
> module in cygwin, but I get trouble in pTk/tkUnixColor.c
>
> What I have done?
> I am using the actual cygwin installation and have installed
> X11 6.8.0
> perl 5.8.5
> Tk804.027
> gcc 3.3.3
>
> I have started with perl Makefile.PL (worked in my eyes)
> Then I have started make, but this stoped with this error
>
> gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib
> -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include
> -DUSEIMPORTLIB -O2 -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\"
> "-I/usr/lib/perl5/5.8.5/cygwin-thread -multi-64int/CORE" -D__WIN32__
> -D_WIN32 -DWIN32 -Wall -Wno-implicit-int -Wno-comment -Wno-unused
> -D__USE_FIXED_PROTOTYPES__ tkUnixColor.c
> tkUnixColor.c: In function `TkpGetColor':
> tkUnixColor.c:143: warning: implicit declaration of function
> `XAllocNamedColor'
> tkUnixColor.c: At top level:
> tkUnixColor.c:410: error: parse error before numeric constant
> tkUnixColor.c:414: error: parse error before '{' token
> tkUnixColor.c:418: error: invalid type argument of `->'
> tkUnixColor.c:418: error: parse error before ')' token
> make[1]: *** [tkUnixColor.o] Error 1
> make[1]: Leaving directory `/tmp/Tk-804.027/pTk'
> make: *** [pTk/libpTk.a] Error 2
>
> It would be great, if anybody can write may, where I have to take care
> of. Did have forgotten, to install some packages?
>
> Thank for your advice,
> Wigand
>
>
you could use Tk 800.025 which compile fine under X or Win32 mode
Tk 804 has not been ported to cygwin yet. it appear that the Makefile
has to be rewrited.
-- dominix
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/ndFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cygwin-perl/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/