This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Perl Tk in Cygwin (using X)

On Thu, 9 Oct 2003, Charles Plager wrote:

> Hello,
>         This is getting worse by the hour.  I went and grabbed Tk800.024 from a
> CPAN site.  I did the setup as suggested by README.cygwin for X11 and
> tried to make it.  It failed (errors posted at the bottom of this error
> message).
>         I have successfully made Tk on this and another windows computer in the
> Cygwin environment in the past (and it was also version 800.024).  I
> have since upgraded cygwin (including gcc to(GCC) 3.3.1 (cygming
> special) from 3.2.something).
>         Does anybody have any recent experience in building perlTk on cygwin?
>         Another question is how can I use the binaries on my computer from my
> successful Tk build on another cygwin install?
>         Charles
> Errors at very bottom of this email.
> [snip]
> rm -f blib/arch/auto/Tk/Tk.dll
> LD_RUN_PATH="" gcc -shared  -s -L/usr/local/lib Tk.o chnGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o  -o blib/arch/auto/Tk/Tk.dll pTk/libpTk.a /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
> Tk.o(.text+0x1f3d):Tk.c: undefined reference to `_XSynchronize'

It's obviously not finding (lib|cyg)X11 (it's not even on the link line).
Do you have XFree86-prog package installed?  XFree86-bin?
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]