delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/18/19:10:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAMdIj0+cKEcW/2dsb2JhbABEhWWqYHyBB4IQEhERRRIBCA0NAhgOAgQdExUCAQ4BBA4NGodtC51riXuTFIEviTWEOTVjBI0viVGFBIolgwOBOA
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "'De-Jian Zhao'" <dejian DOT zhao AT gmail DOT com>
Date: Wed, 18 Apr 2012 19:09:16 -0400
Subject: RE: Can RPM packages be installed into Cygwin?
Message-ID: <0105D5C1E0353146B1B222348B0411A20A6E685C12@NIHMLBX02.nih.gov>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-MIME-Autoconverted: from base64 to 8bit by delorie.com id q3INASZ3008346

De-Jian,

Hello.  It's me again.

I suspect that just writing wrapper scripts would be faster than playing
with RPMs and/or trying to compile blast yourself.

As I understand it, blast programs are all command-line.  I think
that the easiest thing would be to just use the Windows version
supplied by NCBI and write wrapper scripts that will convert cygwin's
POSIX paths to Windows paths.  You might have to experiment to see if
you also need to convert file formats from \n to \r\n line endings.

See
  $ man cygpath
  $ man dos2unix
  $ man unix2dos

Luc Hermitte's cyg-wrapper.sh might be all you need.
  http://hermitte.free.fr/cygwin/#Win32
Example (using vim):
  http://vim.wikia.com/wiki/Running_the_win32-version_of_Vim_from_cygwin
I've never used cyg-wrapper.sh, so this suggestion is "theoretical" and
not based on my personal experience.

Related:
  http://www.ncbi.nlm.nih.gov/books/NBK1762/
  http://www.ncbi.nlm.nih.gov/books/NBK52637/

Good luck,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.
  Disclaimer: Please see http://cygwin.com/ml/cygwin/2012-04/msg00247.html
              for other disclaimers and statements concerning the limited
              reliability of my advice on this topic.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019