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

Nash, John john.nash@nrc.ca
Wed, 13 Nov 2002 12:05:58 -0500


Cygwin does include Xfree, and it works well.  Just click on the X part of
the installer.

FWIW, I'm happy with Genquire under Windows.

J

-----Original Message-----
From: Mark Wilkinson [mailto:mwilkinson@gene.pbi.nrc.ca]
Sent: Wednesday, November 13, 2002 11:48 AM
To: Chunyu Liu
Cc: genquire-users@bioinformatics.org
Subject: Re: [Genquire-users] [Fwd: Re: problem installing Genquire]


Interesting....  but apparently out of our hands.  This sort of thing 
has happened before at ~random times where different sub-components of 
Tk go out of synch with each other in the ActiveState releases.

I'm not entirely surprised that it doesn't work under cygwin, since as 
you see it is calling X11, which AFAIK isn't necessarily installed in a 
default cygwin installation (does anyone run X under cygwin??).  Thus I 
have strong doubts that it will ever work under cygwin.

It should (does!!!) work in DOS/Windows, but ActiveState doesn't seem to 
check whether modules successfully install before it releases new 
versions of them.  As I said, we've seen this problem before (e.g. with 
Tk::JPEG).  The only thing you or I can do is write to ActiveState and 
complain.  This isn't a problem with Genquire, nor with the installer, 
it is a recurring problem with ActiveState perl modules.

:-(

M


Chunyu Liu wrote:
> 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


_______________________________________________
Genquire-users maillist  -  Genquire-users@bioinformatics.org
http://bioinformatics.org/mailman/listinfo/genquire-users