public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Problem building OpenSSH
@ 2002-04-22 10:22 Karl M
  0 siblings, 0 replies; 5+ messages in thread
From: Karl M @ 2002-04-22 10:22 UTC (permalink / raw)
  To: cygwin

Hi All...

Its looking for conftest, but I don't see one anywhere. Where should I find 
it?

configure:1022: PATH=".;."; conftest.sh
conftest.sh: not found
configure:1025: $? = 127
configure:1079: checking for gcc
configure:1094: found /usr/bin/gcc
configure:1102: result: gcc
configure:1330: checking for C compiler version
configure:1333: gcc --version </dev/null >&5
2.95.3-5
configure:1336: $? = 0
configure:1338: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
configure:1341: $? = 0
configure:1343: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1346: $? = 1
configure:1372: checking for C compiler default output
configure:1375: gcc    conftest.c  >&5
configure:1378: $? = 0
configure:1407: result: a.exe
configure:1412: checking whether the C compiler works
configure:1418: ./a.exe
./a.exe: not found
configure:1421: $? = 127
configure:1428: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

Thanks,

...Karl

>From: Corinna Vinschen <cygwin@cygwin.com>
>To: cygwin@cygwin.com
>Subject: Re: Problem building OpenSSH
>Date: Mon, 22 Apr 2002 16:32:15 +0200
>
>On Mon, Apr 22, 2002 at 07:14:36AM -0700, Karl M wrote:
> > Hi All...
> >
> > It has been a long time since I built OpenSSH. When I cd into the source
> > directory and do the configure shown in the readme file, I get the
> > following.
> >
> > $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
> > checking for gcc... gcc
> > checking for C compiler default output... a.exe
> > checking whether the C compiler works... configure: error: cannot run C
> > compiled programs.
> > If you meant to cross compile, use `--host'.
> >
> > What do I have broken?
>
>Check the file config.log to see what configure did.  It will show
>you the problem.
>
> > Also, I have in my notes using --with-pcre as a configure otion. Is that
> > needed (why/why not)?
>
>Not needed.  OpenSSH isn't using any regex implementation anymore.
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin@cygwin.com
>Red Hat, Inc.
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem building OpenSSH
@ 2002-04-22 22:40 Karl M
  0 siblings, 0 replies; 5+ messages in thread
From: Karl M @ 2002-04-22 22:40 UTC (permalink / raw)
  To: cygwin

Hi All...

The problem was that my umask was set to 0177. This made the conftest.sh not 
executable, and so not found for execution.

Thanks,

...Karl

>From: Corinna Vinschen <cygwin@cygwin.com>
>To: cygwin@cygwin.com
>Subject: Re: Problem building OpenSSH
>Date: Mon, 22 Apr 2002 16:32:15 +0200
>
>On Mon, Apr 22, 2002 at 07:14:36AM -0700, Karl M wrote:
> > Hi All...
> >
> > It has been a long time since I built OpenSSH. When I cd into the source
> > directory and do the configure shown in the readme file, I get the
> > following.
> >
> > $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
> > checking for gcc... gcc
> > checking for C compiler default output... a.exe
> > checking whether the C compiler works... configure: error: cannot run C
> > compiled programs.
> > If you meant to cross compile, use `--host'.
> >
> > What do I have broken?
>
>Check the file config.log to see what configure did.  It will show
>you the problem.
>
> > Also, I have in my notes using --with-pcre as a configure otion. Is that
> > needed (why/why not)?
>
>Not needed.  OpenSSH isn't using any regex implementation anymore.
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin@cygwin.com
>Red Hat, Inc.
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem building OpenSSH
  2002-04-22  7:15 Karl M
  2002-04-22  7:34 ` Corinna Vinschen
@ 2002-04-22  9:28 ` Gerrit P. Haase
  1 sibling, 0 replies; 5+ messages in thread
From: Gerrit P. Haase @ 2002-04-22  9:28 UTC (permalink / raw)
  To: Karl M; +Cc: cygwin

Karl schrieb:

> $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
> checking for gcc... gcc
> checking for C compiler default output... a.exe
> checking whether the C compiler works... configure: error: cannot run C 
> compiled programs.
> If you meant to cross compile, use `--host'.

I got this problem several times.  There are two reasons why it happened
to me:  I had two different versions of cygwin1.dll on my PATH/System,
the second time I couldn't figure out what happened, I reinstalled some
packages (cygwin, gcc), rebooted and then it works again.


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem building OpenSSH
  2002-04-22  7:15 Karl M
@ 2002-04-22  7:34 ` Corinna Vinschen
  2002-04-22  9:28 ` Gerrit P. Haase
  1 sibling, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2002-04-22  7:34 UTC (permalink / raw)
  To: cygwin

On Mon, Apr 22, 2002 at 07:14:36AM -0700, Karl M wrote:
> Hi All...
> 
> It has been a long time since I built OpenSSH. When I cd into the source 
> directory and do the configure shown in the readme file, I get the 
> following.
> 
> $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
> checking for gcc... gcc
> checking for C compiler default output... a.exe
> checking whether the C compiler works... configure: error: cannot run C 
> compiled programs.
> If you meant to cross compile, use `--host'.
> 
> What do I have broken?

Check the file config.log to see what configure did.  It will show
you the problem.

> Also, I have in my notes using --with-pcre as a configure otion. Is that 
> needed (why/why not)?

Not needed.  OpenSSH isn't using any regex implementation anymore.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Problem building OpenSSH
@ 2002-04-22  7:15 Karl M
  2002-04-22  7:34 ` Corinna Vinschen
  2002-04-22  9:28 ` Gerrit P. Haase
  0 siblings, 2 replies; 5+ messages in thread
From: Karl M @ 2002-04-22  7:15 UTC (permalink / raw)
  To: cygwin

Hi All...

It has been a long time since I built OpenSSH. When I cd into the source 
directory and do the configure shown in the readme file, I get the 
following.

$ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.
If you meant to cross compile, use `--host'.

What do I have broken?

Also, I have in my notes using --with-pcre as a configure otion. Is that 
needed (why/why not)?

Thanks,

...Karl


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2002-04-23  4:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-22 10:22 Problem building OpenSSH Karl M
  -- strict thread matches above, loose matches on Subject: below --
2002-04-22 22:40 Karl M
2002-04-22  7:15 Karl M
2002-04-22  7:34 ` Corinna Vinschen
2002-04-22  9:28 ` Gerrit P. Haase

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