public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error with ./compile and make
@ 2011-10-29  1:53 Mitchel Craun
  2011-10-29  2:02 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: Mitchel Craun @ 2011-10-29  1:53 UTC (permalink / raw)
  To: cygwin

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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error with ./compile and make
  2011-10-29  1:53 Error with ./compile and make Mitchel Craun
@ 2011-10-29  2:02 ` Larry Hall (Cygwin)
  2011-10-29  2:40   ` Mitchel Craun
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2011-10-29  2:02 UTC (permalink / raw)
  To: cygwin

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: <http://cygwin.com/problems.html>


-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error with ./compile and make
  2011-10-29  2:02 ` Larry Hall (Cygwin)
@ 2011-10-29  2:40   ` Mitchel Craun
  2011-10-30  0:01     ` Mitchel Craun
  0 siblings, 1 reply; 4+ messages in thread
From: Mitchel Craun @ 2011-10-29  2:40 UTC (permalink / raw)
  To: cygwin



Thanks.  I will try that and post again if I continue to have problems.


--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error with ./compile and make
  2011-10-29  2:40   ` Mitchel Craun
@ 2011-10-30  0:01     ` Mitchel Craun
  0 siblings, 0 replies; 4+ messages in thread
From: Mitchel Craun @ 2011-10-30  0:01 UTC (permalink / raw)
  To: cygwin



It WORKED!!!!  Thanks for the advice!!


--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-30  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-29  1:53 Error with ./compile and make Mitchel Craun
2011-10-29  2:02 ` Larry Hall (Cygwin)
2011-10-29  2:40   ` Mitchel Craun
2011-10-30  0:01     ` Mitchel Craun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).