X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <4F810192.40806@gmail.com> Date: Sun, 08 Apr 2012 11:10:10 +0800 From: De-Jian Zhao User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: marco DOT atzeri AT gmail DOT com Subject: Re: Can RPM packages be installed into Cygwin? References: <4F7FEF5B DOT 5060206 AT gmail DOT com> <4F7FF6FB DOT 7070206 AT gmail DOT com> In-Reply-To: <4F7FF6FB.7070206@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 2012-4-7 16:12, marco atzeri wrote: > On 4/7/2012 9:40 AM, De-Jian Zhao wrote: >> Dear all, >> >> I noticed that there is a command - rpm - under Cygwin 1.7. Does that >> mean RPM packages can be installed into Cygwin? >> >> I tried to install ncbi-blast-2.2.26+-3.i686.rpm (see: >> ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ ) into >> Cygwin 1.7.13 with the command "install -i >> ncbi-blast-2.2.26+-3.i686.rpm". However, error message appeared as >> below. I tried to search for the missing libs using the setup.exe of >> Cygwin. It seems that some of them were not present, such as libc.so.6, >> libdl.so.2, libm.so.6, libnsl.so.1, and libz.so.1. Where can I get these >> libs? Thanks! >> >> $ rpm -i ncbi-blast-2.2.26+-3.i686.rpm >> error: Failed dependencies: >> /usr/bin/perl is needed by ncbi-blast-2.2.26+-3 >> libbz2.so.1 is needed by ncbi-blast-2.2.26+-3 >> libc.so.6 is needed by ncbi-blast-2.2.26+-3 > {cut] >> >> > ...isn't it? > > from cygwin website (first page): > > Cygwin is not: > > - a way to run native Linux apps on Windows. You must rebuild your > application > from source if you want it to run on Windows. > - a way to magically make native Windows apps aware of UNIX® > functionality like > signals, ptys, etc. Again, you need to build your apps from > source if you want > to take advantage of Cygwin functionality. > > Regards > Marco Thanks, Marco. I was not trying to run a native linux apps, and instead tried to rebuild the app from source. The BLAST software provides the Build.sh and Check.sh scripts under the dirctory of ncbi-blast-2.2.26+-src.tar\ncbi-blast-2.2.26+-src\c++\compilers\cygwin\. So I think it is possible to run the software under cygwin. However, the compilation stopped at "checking for python", even if python was installed. That's to say, I installed the latest python and the compilation could find it, but the compilation tried to search for python2.3 and 2.4 further, and stopped when searching for 2.4. What I am concern is that whether the i686.rpm indicates it is prepared for cygwin. As you know, when you run "uname -smo" , you can get something like this "CYGWIN_NT-5.1 i686 Cygwin". I think the package ncbi-blast-2.2.26+-3.i686.rpm is for Cygwin. Is that right? Has anyone ever succeeded in installing a RPM package into cygwin using "rpm -i *rpm"? Regards Dejian -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple