delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.8 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Mitchel Craun <mitchel_john_craun AT yahoo DOT com> |
Subject: | Error with ./configure and make |
Date: | Sat, 29 Oct 2011 02:30:57 +0000 (UTC) |
Lines: | 42 |
Message-ID: | <loom.20111029T042951-842@post.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
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 |
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 (the location of sh on my hard drive) in the configure file, but that did not help. Please help me! :,( -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |