public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Unable to build pdksh-5.2.14 on Cygwin
@ 2000-10-04 13:43 David M. Karr
  2000-10-04 14:14 ` Chris Faylor
  0 siblings, 1 reply; 6+ messages in thread
From: David M. Karr @ 2000-10-04 13:43 UTC (permalink / raw)
  To: cygwin

As there doesn't appear to be a binary release of pdksh-5.2.14 (there
is a 5.2.13) available, I'm trying to build it locally.  I get the
following output, ending in the failed compile.  Anyone have any idea
what could be going wrong?

[POPCORN;] ./configure -prefix=/usr
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking if this is a problematic os... checking for minix/config.h... no
no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for opendir in -lndir... no
checking for sane unistd.h... yes
checking terminal interface... termios
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for paths.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for values.h... no
checking for ulimit.h... no
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for off_t in sys/types.h... yes
checking for mode_t in sys/types.h... yes
checking for pid_t in sys/types.h... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking size of int... 4
checking size of long... 4
checking for clock_t in any of <sys/types.h>, <sys/times.h> and <sys/time.h>... yes
checking for sigset_t in <sys/types.h> and <signal.h>... yes
checking for rlim_t in <sys/types.h> and <sys/resource.h>... no
checking what to set rlim_t to... long
checking for working memmove... yes
checking for memset... yes
checking for confstr... no
checking for dup2... yes
checking for flock... no
checking for getcwd... yes
checking for getwd... yes
checking for killpg... yes
checking for nice... yes
checking for setrlimit... no
checking for strerror... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for sysconf... yes
checking for tcsetpgrp... yes
checking for ulimit... no
checking for waitpid... yes
checking for wait3... yes
checking for sigsetjmp... no
checking for _setjmp... yes
checking for valloc... no
checking for getpagesize... yes
checking for working mmap... no
checking for lstat... yes
checking for sys_errlist declaration in errno.h... no
checking for sys_errlist in library... no
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for sys_siglist in library... no
checking time() declaration in time.h... yes
checking if times() is present/working... yes
checking whether stat file-mode macros are broken... no
checking for st_rdev in struct stat... yes
checking for working const... yes
checking if compiler understands void... yes
checking if compiler understands volatile... yes
checking if compiler understands prototypes... yes
checking if C compiler groks __attribute__(( .. ))... yes
checking whether #! works in shell scripts... yes
checking for a BSD compatible install... /usr/bin/install -c
checking if dup2() works (ie, resets the close-on-exec flag)... yes
checking flavour of signal routines... posix
checking flavour of pgrp routines... posix
checking if process group synchronization is required... no
checking if opendir() fails to open non-directories... yes
checking if you have /dev/fd/n... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
[POPCORN;] make
CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status
creating config.h
config.h is unchanged
date > stamp-h
gcc -c  -DHAVE_CONFIG_H -I. -I. -g -O alloc.c
gcc -c  -DHAVE_CONFIG_H -I. -I. -g -O c_ksh.c
In file included from c_ksh.c:10:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:60: parse error before `HANDLE'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:60: warning: no semicolon at end of struct or union
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:61: warning: data definition has no type or storage class
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:67: `umask' redeclared as different kind of symbol
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/stat.h:125: previous declaration of `umask'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:73: `MAX_PATH' undeclared here (not in a function)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:75: parse error before `strace_mask'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:75: warning: data definition has no type or storage class
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:76: parse error before `strace_file'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:76: warning: data definition has no type or storage class
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:78: parse error before `process_state'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:78: warning: data definition has no type or storage class
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:81: parse error before `cygwin_internal'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:81: warning: data definition has no type or storage class
make: *** [c_ksh.o] Error 1

-- 
===============================================================================
David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Unable to build pdksh-5.2.14 on Cygwin
  2000-10-04 13:43 Unable to build pdksh-5.2.14 on Cygwin David M. Karr
@ 2000-10-04 14:14 ` Chris Faylor
  2000-10-04 15:51   ` David M. Karr
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Faylor @ 2000-10-04 14:14 UTC (permalink / raw)
  To: cygwin; +Cc: dkarr

It looks like you're using an older version of cygwin.  I don't see any
"HANDLE" use in my version of cygwin 1.1.4.  Are you using cygwin 1.1.4?

cgf

On Wed, Oct 04, 2000 at 01:43:15PM -0700, David M. Karr wrote:
>As there doesn't appear to be a binary release of pdksh-5.2.14 (there
>is a 5.2.13) available, I'm trying to build it locally.  I get the
>following output, ending in the failed compile.  Anyone have any idea
>what could be going wrong?
>
>[POPCORN;] ./configure -prefix=/usr
>creating cache ./config.cache
>checking for gcc... gcc
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking how to run the C preprocessor... gcc -E
>checking whether gcc needs -traditional... no
>checking if this is a problematic os... checking for minix/config.h... no
>no
>checking for dirent.h that defines DIR... yes
>checking for opendir in -ldir... no
>checking for opendir in -lndir... no
>checking for sane unistd.h... yes
>checking terminal interface... termios
>checking for stddef.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for fcntl.h... yes
>checking for limits.h... yes
>checking for paths.h... yes
>checking for sys/param.h... yes
>checking for sys/resource.h... yes
>checking for values.h... no
>checking for ulimit.h... no
>checking for sys/time.h... yes
>checking whether time.h and sys/time.h may both be included... yes
>checking for sys/wait.h that is POSIX.1 compatible... yes
>checking for off_t in sys/types.h... yes
>checking for mode_t in sys/types.h... yes
>checking for pid_t in sys/types.h... yes
>checking for uid_t in sys/types.h... yes
>checking return type of signal handlers... void
>checking size of int... 4
>checking size of long... 4
>checking for clock_t in any of <sys/types.h>, <sys/times.h> and <sys/time.h>... yes
>checking for sigset_t in <sys/types.h> and <signal.h>... yes
>checking for rlim_t in <sys/types.h> and <sys/resource.h>... no
>checking what to set rlim_t to... long
>checking for working memmove... yes
>checking for memset... yes
>checking for confstr... no
>checking for dup2... yes
>checking for flock... no
>checking for getcwd... yes
>checking for getwd... yes
>checking for killpg... yes
>checking for nice... yes
>checking for setrlimit... no
>checking for strerror... yes
>checking for strcasecmp... yes
>checking for strstr... yes
>checking for sysconf... yes
>checking for tcsetpgrp... yes
>checking for ulimit... no
>checking for waitpid... yes
>checking for wait3... yes
>checking for sigsetjmp... no
>checking for _setjmp... yes
>checking for valloc... no
>checking for getpagesize... yes
>checking for working mmap... no
>checking for lstat... yes
>checking for sys_errlist declaration in errno.h... no
>checking for sys_errlist in library... no
>checking for sys_siglist declaration in signal.h or unistd.h... no
>checking for sys_siglist in library... no
>checking time() declaration in time.h... yes
>checking if times() is present/working... yes
>checking whether stat file-mode macros are broken... no
>checking for st_rdev in struct stat... yes
>checking for working const... yes
>checking if compiler understands void... yes
>checking if compiler understands volatile... yes
>checking if compiler understands prototypes... yes
>checking if C compiler groks __attribute__(( .. ))... yes
>checking whether #! works in shell scripts... yes
>checking for a BSD compatible install... /usr/bin/install -c
>checking if dup2() works (ie, resets the close-on-exec flag)... yes
>checking flavour of signal routines... posix
>checking flavour of pgrp routines... posix
>checking if process group synchronization is required... no
>checking if opendir() fails to open non-directories... yes
>checking if you have /dev/fd/n... no
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>creating config.h
>[POPCORN;] make
>CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status
>creating config.h
>config.h is unchanged
>date > stamp-h
>gcc -c  -DHAVE_CONFIG_H -I. -I. -g -O alloc.c
>gcc -c  -DHAVE_CONFIG_H -I. -I. -g -O c_ksh.c
>In file included from c_ksh.c:10:
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:60: parse error before `HANDLE'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:60: warning: no semicolon at end of struct or union
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:61: warning: data definition has no type or storage class
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:67: `umask' redeclared as different kind of symbol
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/stat.h:125: previous declaration of `umask'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:73: `MAX_PATH' undeclared here (not in a function)
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:75: parse error before `strace_mask'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:75: warning: data definition has no type or storage class
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:76: parse error before `strace_file'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:76: warning: data definition has no type or storage class
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:78: parse error before `process_state'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:78: warning: data definition has no type or storage class
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:81: parse error before `cygwin_internal'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/cygwin.h:81: warning: data definition has no type or storage class
>make: *** [c_ksh.o] Error 1
>
>-- 
>===============================================================================
>David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
>Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Unable to build pdksh-5.2.14 on Cygwin
  2000-10-04 14:14 ` Chris Faylor
@ 2000-10-04 15:51   ` David M. Karr
  2000-10-04 15:58     ` DJ Delorie
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David M. Karr @ 2000-10-04 15:51 UTC (permalink / raw)
  To: cygwin

>>>>> "Chris" == Chris Faylor <cgf@cygnus.com> writes:
  Chris> It looks like you're using an older version of cygwin.  I don't see any
  Chris> "HANDLE" use in my version of cygwin 1.1.4.  Are you using cygwin 1.1.4?

What is the easiest way to tell exactly what version of cygwin is
installed?  By searching through the output of "strings cygwin1.dll",
I would guess it is 1.1.2, but I'm really not sure.

-- 
===============================================================================
David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Unable to build pdksh-5.2.14 on Cygwin
  2000-10-04 15:51   ` David M. Karr
@ 2000-10-04 15:58     ` DJ Delorie
  2000-10-04 16:00     ` Chris Faylor
  2000-10-05 11:46     ` David M. Karr
  2 siblings, 0 replies; 6+ messages in thread
From: DJ Delorie @ 2000-10-04 15:58 UTC (permalink / raw)
  To: dkarr; +Cc: cygwin

> What is the easiest way to tell exactly what version of cygwin is
> installed?  By searching through the output of "strings cygwin1.dll",
> I would guess it is 1.1.2, but I'm really not sure.

Right-click on the DLL in file explorer, and select the "version" tab.

Or, "grep %%% cygwin1.dll".  The major/minor is 1001 and 4 for 1.1.4.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Unable to build pdksh-5.2.14 on Cygwin
  2000-10-04 15:51   ` David M. Karr
  2000-10-04 15:58     ` DJ Delorie
@ 2000-10-04 16:00     ` Chris Faylor
  2000-10-05 11:46     ` David M. Karr
  2 siblings, 0 replies; 6+ messages in thread
From: Chris Faylor @ 2000-10-04 16:00 UTC (permalink / raw)
  To: cygwin

On Wed, Oct 04, 2000 at 03:51:31PM -0700, David M. Karr wrote:
>>>>>> "Chris" == Chris Faylor <cgf@cygnus.com> writes:
>  Chris> It looks like you're using an older version of cygwin.  I don't see any
>  Chris> "HANDLE" use in my version of cygwin 1.1.4.  Are you using cygwin 1.1.4?
>
>What is the easiest way to tell exactly what version of cygwin is
>installed?  By searching through the output of "strings cygwin1.dll",
>I would guess it is 1.1.2, but I'm really not sure.

'uname -a', just like UNIX.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: Unable to build pdksh-5.2.14 on Cygwin
  2000-10-04 15:51   ` David M. Karr
  2000-10-04 15:58     ` DJ Delorie
  2000-10-04 16:00     ` Chris Faylor
@ 2000-10-05 11:46     ` David M. Karr
  2 siblings, 0 replies; 6+ messages in thread
From: David M. Karr @ 2000-10-05 11:46 UTC (permalink / raw)
  To: cygwin

>>>>> "David" == David M Karr <dkarr@tcsi.com> writes:
>>>>> "Chris" == Chris Faylor <cgf@cygnus.com> writes:
  Chris> It looks like you're using an older version of cygwin.  I don't see any
  Chris> "HANDLE" use in my version of cygwin 1.1.4.  Are you using cygwin 1.1.4?

  David> What is the easiest way to tell exactly what version of cygwin is
  David> installed?  By searching through the output of "strings cygwin1.dll",
  David> I would guess it is 1.1.2, but I'm really not sure.

After upgrading to 1.1.4 (I think I might have had 1.1.2), it built
and installed OOTB.

Thanks.

-- 
===============================================================================
David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~2000-10-05 11:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-04 13:43 Unable to build pdksh-5.2.14 on Cygwin David M. Karr
2000-10-04 14:14 ` Chris Faylor
2000-10-04 15:51   ` David M. Karr
2000-10-04 15:58     ` DJ Delorie
2000-10-04 16:00     ` Chris Faylor
2000-10-05 11:46     ` David M. Karr

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