[Genquire-users] [Fwd: Re: problem installing Genquire]

Mark Wilkinson mwilkinson@gene.pbi.nrc.ca
Wed, 13 Nov 2002 10:52:32 -0600


if you manage to find a round tuit, it would be great if you contributed 
it to the docs :-)

I didn't know about the cygwin Tk - that's good to hear!  I've never 
tried to run any windowey things under cygwin, and I'm fairly sure that 
I don't have the necessary libraries installed in any case.  Still, even 
this patch sounds painful to implement.   It works ~flawlessly **most** 
of the time if you are using ActiveState Perl, rather than cygwin.

M



Nash, John wrote:
> I hope I have understood the issue correctly...  The Genquire installer
> breaks while installing Tk under cygwin.
> 
> There are some problems with Tk under cygwin OOTB.  Of course, the cygwin
> guys have a patched Tk which works. If you can't find it at cygwin.com, give
> me a yell, and I'll point you there. If I recall correctly, Tk can be
> compiled to work in an X or Windows mode under cygwin... the binaries
> incuded in the patched version does it the WIndows way.
> 
> I was going to install Genquire under cygwin, but haven't got "a round
> tuit".
> 
> John
> 
> 
> -----Original Message-----
> From: Chunyu Liu [mailto:cliu@yoda.bsd.uchicago.edu]
> Sent: Wednesday, November 13, 2002 11:17 AM
> To: genquire-users@bioinformatics.org; mwilkinson@gene.pbi.nrc.ca
> Subject: [Genquire-users] [Fwd: Re: problem installing Genquire]
> 
> 
> Mark,
> 
> Problem is still there.
> With your suggestion, the Installer does call CPAN.  But it still broke 
> at the Tk step as following attached string.
> 
> I also tried the installation under MS-DOS command line, rather than 
> cygwin,  it calls ppm, failed too, as attached string.
> 
>  
> Under Cygwin called CPAN
> 
>  >>>>>>>>>>>>>>>>>>>>>>>>>
> cp tkScrollbar.h ../blib/arch/Tk/pTk/tkScrollbar.h
> gcc -c -I..  -I. -Ibitmaps  -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing 
> -I/usr/l
> ocal/include -DUSEIMPORTLIB -O2   -DVERSION=\"800.024\" 
> -DXS_VERSION=\"800.024\"
>   -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE -D__WIN32__ -Wall 
> -Wno-implicit-int -
> Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ ClientWin.c
> ClientWin.c:30: X11/Xlib.h: No such file or directory
> ClientWin.c:31: X11/Xatom.h: No such file or directory
> make[1]: *** [ClientWin.o] Error 1
> make[1]: Leaving directory `/home/CYliu/.cpan/build/Tk800.024/pTk'
> make: *** [pTk/libpTk.a] Error 2
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
> Tk              [NOT INSTALLED]
> Unknown Error installing package: Tk
> Please report this error to the GENQUIRE developers
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> under MS-DOS
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Tk::Event object version 800.022 does not match $Tk::Event::XS_VERSION 
> 800.023 a
> t D:/Perl/lib/DynaLoader.pm line 219.
> Compilation failed in require at D:/Perl/site/lib/Tk.pm line 13.
> BEGIN failed--compilation aborted at D:/Perl/site/lib/Tk.pm line 13.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
> Tk              [NOT INSTALLED]
> Unknown Error installing package: Tk
> Please report this error to the GENQUIRE developers
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> -------- Original Message --------
> Subject: Re: problem installing Genquire
> Date: Wed, 13 Nov 2002 09:42:17 -0600
> From: Mark Wilkinson <mwilkinson@gene.pbi.nrc.ca>
> Organization: PBI-NRC
> To: Chunyu Liu <cliu@yoda.bsd.uchicago.edu>
> References: <3DD271E1.9060706@yoda.bsd.uchicago.edu>
> 
> 
> 
> Aha!  We've never had anyone try to install it under cygwin before.  the 
> confusion will be that the installer is checking your OS, seeing that it 
> is Windows, and is trying to call the ActiveState Perl Package Manager.
> 
> You will likely have to install the modules in the modules.conf file by 
> hand using CPAN, or you could reconfigure the installer script to use 
> CPAN instead of PPM - just add the following line
> 
> $OS = 'linux';
> 
> just before the line:
> 
> print "OS\t\t[$OS]\n";
> 
> near the beginning of the install.pl script and that should solve the 
> problem... though as I said, we have never yet had anyone attempt to 
> install it on CygWin, so it may still be problematic.
> 
> let me know how it goes so that I can add this to the documentation and 
> modify the install script appropriately.
> 
> Cheers!
> M
> 
> 
> Chunyu Liu wrote:
> 
>>Dear Mark,
>>
>>Here is my problem.  Seems the Tk module does not work as you wished.
>>
>>Longing for your help.
>>
>>Chunyu Liu
>>Univ of Chicago
>>
>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>LWP             [INSTALLED]
>>Term::ReadKey   [INSTALLED]
>>Can't locate Tk.pm in @INC (@INC contains: 
>>/usr/lib/perl5/5.6.1/cygwin-multi /us
>>r/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi 
>>/usr/lib/perl5/sit
>>e_perl/5.6.1 /usr/lib/perl5/site_perl .) at -e line 1.
>>BEGIN failed--compilation aborted at -e line 1.
>>Tk              [NOT INSTALLED]
>>Installing Tk using ppm
>>Can't spawn "ppm": No such file or directory at install.pl line 318.
>>Can't locate Tk.pm in @INC (@INC contains: 
>>/usr/lib/perl5/5.6.1/cygwin-multi /us
>>r/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi 
>>/usr/lib/perl5/sit
>>e_perl/5.6.1 /usr/lib/perl5/site_perl .) at -e line 1.
>>BEGIN failed--compilation aborted at -e line 1.
>>Tk              [NOT INSTALLED]
>>Unknown Error installing package: Tk
>>Please report this error to the GENQUIRE developers
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>>
>>
> 
> 


-- 
--------------------------------
"Speed is subsittute fo accurancy."
________________________________

Dr. Mark Wilkinson, RA Bioinformatics
National Research Council, Plant Biotechnology Institute
110 Gymnasium Place, Saskatoon, SK, Canada

phone : (306) 975 5279
pager : (306) 934 2322
mobile: markw_mobile at illuminae dot com