Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 9 Oct 2003 10:53:44 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Charles Plager cc: cygwin AT cygwin DOT com Subject: Re: Perl Tk in Cygwin (using X) In-Reply-To: <3F857413.4090105@physics.ucla.edu> Message-ID: References: <3F846F0E DOT 4070908 AT physics DOT ucla DOT edu> <20031009112428 DOT 12479 DOT 6 AT llama DOT ing-simmons DOT net> <3F857413 DOT 4090105 AT physics DOT ucla DOT edu> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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? XFree86-lib-compat? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/