From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11108 invoked by alias); 29 Oct 2011 02:02:47 -0000 Received: (qmail 11092 invoked by uid 22791); 29 Oct 2011 02:02:46 -0000 X-SWARE-Spam-Status: Yes, hits=6.3 required=5.0 tests=AWL,BAYES_50,BOTNET,DATE_IN_FUTURE_03_06,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from vms173003pub.verizon.net (HELO vms173003pub.verizon.net) (206.46.173.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Oct 2011 02:02:28 +0000 Received: from [192.168.1.231] ([unknown] [108.7.36.4]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LTT00MUO1NQUGR0@vms173003.mailsrvcs.net> for cygwin@cygwin.com; Fri, 28 Oct 2011 21:02:18 -0500 (CDT) Message-id: <4EAB96E5.5050200@cygwin.com> Date: Sat, 29 Oct 2011 02:02:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: Error with ./compile and make References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-10/txt/msg00582.txt.bz2 On 10/28/2011 9:53 PM, Mitchel Craun wrote: > Hello World, > > I am trying to install a package on my computer (Windows 7 64) that was written > primarily for a Linux instillation. I am using cygwin to accomplish this. The > Install notes for the package I am trying to use say I can either run > ./configure > make > make install > > or I can use cmake then > make > make install > > If I just run ./configure I get the error > > line 21: $'\r': command not found > line 32: syntax error near unexpected token `$'in\r'' > line 32: ` case 1(set -o) 2>/dev/null` in > > To resolve this I use Vim and run > :set fileformat=unix > I then enter ./configure into the terminal and get the following error. > > configure: error: cannot run /bin/sh config/config.sub > > I have not figured out how to fix this yet. > I then tried using cmake and am able to run that. However, once it is finished > I type make into the terminal and I get the following error > > src/nvec_ser/CMakeFiles/sundials_nvecserial_shared_dir/build.make:53: *** target > pattern contains no `%'. stop. > make[1]: *** [src/nvec_ser/CMakeFiles/sundials_nvecserial_shared.dir/all] Error > 2 > make: *** [all] Error 2 > > > Does anyone have any idea on how I can fix either or both of these issues? For > the configure: error: cannot run /bin/sh config/config.sub error I tried > changing /bin/sh to C:/cygwin/bin/sh in the configure file, but that did not > help. Sounds to me like you unpacked this package using Windows tools. I suggest that you start over using Cygwin tools (tar/gzip/bzip2) to unpack instead and try again. If that doesn't solve the problem, please read and follow the problem reporting guidelines with any follow-up you post to the list. See this link for details: -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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