This is the mail archive of the
mailing list for the Cygwin project.
Re: Error with ./compile and make
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 29 Oct 2011 02:02:13 -0400
- Subject: Re: Error with ./compile and make
- References: <loom.20111029T034108email@example.com>
- Reply-to: cygwin at cygwin dot com
On 10/28/2011 9:53 PM, Mitchel Craun wrote:
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
or I can use cmake then
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
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: *** [src/nvec_ser/CMakeFiles/sundials_nvecserial_shared.dir/all] Error
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
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: <http://cygwin.com/problems.html>
> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple