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 Date: Thu, 09 Oct 2003 10:01:19 -0500 From: Charles Plager Subject: Re: Perl Tk in Cygwin (using X) In-reply-to: To: cygwin AT cygwin DOT com Message-id: <3F85783F.8060304@physics.ucla.edu> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 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> Igor Pechtchanski wrote: > 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 I do and it's in my path: cplager AT pointyjr> echo $PATH /usr/bin:/home/cplager/bin:/ProgramFiles/imagemagick-5.5.6-q16:/cygdrive/c/PROGRA~1/Kerberos:/ProgramFiles/texmf/miktex/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/bin:/ProgramFiles/Hummingbird/Connectivity/7.11/Accessories/:/ProgramFiles/Microsoft Visual Studio/Common/Tools/WinNT:/ProgramFiles/Microsoft Visual Studio/Common/MSDev98/Bin:/ProgramFiles/Microsoft Visual Studio/Common/Tools:/ProgramFiles/Microsoft Visual Studio/VC98/bin:/c/docs/cplager/Local Settings/Temp/shortcuts:/usr/local/bin/root/bin/:/usr/X11R6/bin/:. -- 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/