public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* configure script fails  during install (Setup Ver 2.897 (64 bit))
@ 2019-11-04  1:06 Lawrence Clooney
  2019-11-04  7:19 ` Brian Inglis
  2019-11-04 17:18 ` Hans-Bernhard Bröker
  0 siblings, 2 replies; 3+ messages in thread
From: Lawrence Clooney @ 2019-11-04  1:06 UTC (permalink / raw)
  To: cygwin

Error Message:
checking whether to use NLS... no
checking for initscr in -lncurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for Berkeley DB db.h version >= 4.1 ... no (version numbers not found)
configure: error: Berkeley DB db.h is missing or has incompatible version

Scenario:

Performing gnu-cobol V1.1 install on Windows 10 desktop. The cygwin setup-x86_64.exe installed in C:\OC directory as instructed in www.Lynda.com<http://www.Lynda.com> “Learning Cobol” course.

lkclooney@CLOONEY-1 /cygdrive/c/OC
$ ls -la
total 2264
drwxrwx---+ 1 lkclooney                   lkclooney                         0 Nov  3 12:48 .
d---r-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller       0 Nov  3 14:03 ..
drwxrwxr-x+ 1 lkclooney                   lkclooney                         0 Nov  3 19:19 gnu-cobol-1.1
-rwxrwx---+ 1 lkclooney                   lkclooney                   1046006 Nov  3 12:26 gnu-cobol-1.1.tar.gz
drwxrwx---+ 1 lkclooney                   lkclooney                         0 Nov  3 12:37 http%3a%2f%2fcygwin.mirror.constant.com%2f
-rwxrwx---+ 1 lkclooney                   lkclooney                   1225235 Nov  3 11:54 setup-x86_64.exe

The video instructs the user to execute the cygwin install configure script in gnu-cobol-1.1 directory.

lkclooney@CLOONEY-1 /cygdrive/c/OC/gnu-cobol-1.1
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes

The software was installed twice with configure script failing in the same location.

Investigation

The db.h file could not be found in the /usr/include directory

lkclooney@CLOONEY-1 /usr/include
$ ls -la
total 1988
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 20:00 .
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:41 ..
-rw-r--r--  1 lkclooney lkclooney   2625 Apr 30  2019 _ansi.h
-rw-r--r--  1 lkclooney lkclooney    337 Apr 30  2019 _newlib_version.h
-rw-r--r--  1 lkclooney lkclooney   1170 Apr 30  2019 _syslist.h
-rw-r--r--  1 lkclooney lkclooney  14073 Apr 30  2019 a.out.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 acl
-rw-r--r--  1 lkclooney lkclooney   2453 Apr 30  2019 aio.h
-rw-r--r--  1 lkclooney lkclooney    412 Apr 30  2019 alloca.h
-rw-r--r--  1 lkclooney lkclooney  11909 Oct  6  2017 ansidecl.h
-rw-r--r--  1 lkclooney lkclooney   2958 Apr 30  2019 ar.h
-rw-r--r--  1 lkclooney lkclooney   1337 Apr 30  2019 argz.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 arpa
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 asm
-rw-r--r--  1 lkclooney lkclooney   1172 Apr 30  2019 assert.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 attr
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:41 bash
-rw-r--r--  1 lkclooney lkclooney 259207 Oct  6  2017 bfd.h
-rw-r--r--  1 lkclooney lkclooney  34245 Oct  6  2017 bfdlink.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 bits
-rw-r--r--  1 lkclooney lkclooney    385 Apr 30  2019 byteswap.h
-rw-r--r--  1 lkclooney lkclooney   4384 Apr 30  2019 complex.h
-rw-r--r--  1 lkclooney lkclooney   1072 Apr 30  2019 cpio.h
-rw-r--r--  1 lkclooney lkclooney   5986 Apr 30  2019 ctype.h
-rw-r--r--  1 lkclooney lkclooney  99993 Jul 28 12:49 curses.h
-rw-r--r--  1 lkclooney lkclooney   6775 Jul 28 12:49 cursesapp.h
-rw-r--r--  1 lkclooney lkclooney  27849 Jul 28 12:49 cursesf.h
-rw-r--r--  1 lkclooney lkclooney  19677 Jul 28 12:49 cursesm.h
-rw-r--r--  1 lkclooney lkclooney   8601 Jul 28 12:49 cursesp.h
-rw-r--r--  1 lkclooney lkclooney  49719 Jul 28 12:49 cursesw.h
-rw-r--r--  1 lkclooney lkclooney   7304 Jul 28 12:49 cursslk.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 cygwin
-rw-r--r--  1 lkclooney lkclooney   2028 Apr 30  2019 devctl.h
-rw-r--r--  1 lkclooney lkclooney   3111 Apr 30  2019 dirent.h
-rw-r--r--  1 lkclooney lkclooney  14777 Oct  6  2017 dis-asm.h
-rw-r--r--  1 lkclooney lkclooney   1932 Apr 30  2019 dlfcn.h
-rw-r--r--  1 lkclooney lkclooney  75903 Apr 30  2019 elf.h
-rw-r--r--  1 lkclooney lkclooney   1671 Apr 30  2019 endian.h
-rw-r--r--  1 lkclooney lkclooney    350 Apr 30  2019 envlock.h
-rw-r--r--  1 lkclooney lkclooney    781 Apr 30  2019 envz.h
-rw-r--r--  1 lkclooney lkclooney    834 Apr 30  2019 err.h
-rw-r--r--  1 lkclooney lkclooney    174 Apr 30  2019 errno.h
-rw-r--r--  1 lkclooney lkclooney    801 Apr 30  2019 error.h
-rw-r--r--  1 lkclooney lkclooney   2891 Jul 28 12:49 eti.h
-rw-r--r--  1 lkclooney lkclooney   9697 Jul 28 12:49 etip.h
-rw-r--r--  1 lkclooney lkclooney    185 Apr 30  2019 fastmath.h
-rw-r--r--  1 lkclooney lkclooney   1594 Apr 30  2019 fcntl.h
-rw-r--r--  1 lkclooney lkclooney   1034 Apr 30  2019 features.h
-rw-r--r--  1 lkclooney lkclooney   6369 Apr 30  2019 fenv.h
-rw-r--r--  1 lkclooney lkclooney   2851 Apr 30  2019 fnmatch.h
-rw-r--r--  1 lkclooney lkclooney  18741 Jul 28 12:49 form.h
-rw-r--r--  1 lkclooney lkclooney   6049 Apr 30  2019 fts.h
-rw-r--r--  1 lkclooney lkclooney   2376 Apr 30  2019 ftw.h
-rw-r--r--  1 lkclooney lkclooney  40486 Jun 18 16:14 gawkapi.h
-rw-r--r--  1 lkclooney lkclooney   3150 Apr 30  2019 getopt.h
-rw-r--r--  1 lkclooney lkclooney   4642 Apr 30  2019 glob.h
-rw-r--r--  1 lkclooney lkclooney  83865 Jan 21  2017 gmp.h
-rw-r--r--  1 lkclooney lkclooney 116607 Jan 21  2017 gmpxx.h
-rw-r--r--  1 lkclooney lkclooney   2912 Apr  1  2017 gnumake.h
-rw-r--r--  1 lkclooney lkclooney   3310 Apr 30  2019 grp.h
-rw-r--r--  1 lkclooney lkclooney     13 Apr 30  2019 icmp.h
-rw-r--r--  1 lkclooney lkclooney   6446 Apr 30  2019 ieeefp.h
-rw-r--r--  1 lkclooney lkclooney   2330 Apr 30  2019 ifaddrs.h
-rw-r--r--  1 lkclooney lkclooney   9720 Apr 30  2019 inttypes.h
-rw-r--r--  1 lkclooney lkclooney    554 Apr 30  2019 io.h
-rw-r--r--  1 lkclooney lkclooney   8475 Apr 30  2019 langinfo.h
-rw-r--r--  1 lkclooney lkclooney    344 Apr 30  2019 lastlog.h
-rw-r--r--  1 lkclooney lkclooney    854 Apr 30  2019 libgen.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:41 libiberty
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:41 libltdl
-rw-r--r--  1 lkclooney lkclooney  17200 Apr 30  2019 limits.h
-rw-r--r--  1 lkclooney lkclooney   2221 Apr 30  2019 locale.h
-rw-r--r--  1 lkclooney lkclooney   5709 Jul 28 12:44 ltdl.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 machine
-rw-r--r--  1 lkclooney lkclooney   4166 Apr 30  2019 malloc.h
-rw-r--r--  1 lkclooney lkclooney   2235 Apr 30  2019 mapi.h
-rw-r--r--  1 lkclooney lkclooney  19520 Apr 30  2019 math.h
-rw-r--r--  1 lkclooney lkclooney     80 Apr 30  2019 memory.h
-rw-r--r--  1 lkclooney lkclooney  12197 Jul 28 12:49 menu.h
-rw-r--r--  1 lkclooney lkclooney   1143 Apr 30  2019 mntent.h
-rw-r--r--  1 lkclooney lkclooney   1820 Apr 30  2019 monetary.h
-rw-r--r--  1 lkclooney lkclooney   1247 Apr 30  2019 mqueue.h
-rw-r--r--  1 lkclooney lkclooney   4161 Jul 28 12:49 nc_tparm.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:42 ncurses
lrwxrwxrwx  1 lkclooney lkclooney      8 Nov  3 12:42 ncurses.h -> curses.h
-rw-r--r--  1 lkclooney lkclooney   4447 Jul 28 12:49 ncurses_dll.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:42 ncursesw
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 net
-rw-r--r--  1 lkclooney lkclooney  11267 Apr 30  2019 netdb.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 netinet
-rw-r--r--  1 lkclooney lkclooney   7208 Apr 30  2019 newlib.h
-rw-r--r--  1 lkclooney lkclooney   3015 Apr 30  2019 nl_types.h
-rw-r--r--  1 lkclooney lkclooney   4123 Jul 28 12:49 panel.h
-rw-r--r--  1 lkclooney lkclooney    920 Apr 30  2019 paths.h
-rw-r--r--  1 lkclooney lkclooney  14007 Oct  6  2017 plugin-api.h
-rw-r--r--  1 lkclooney lkclooney    206 Apr 30  2019 poll.h
-rw-r--r--  1 lkclooney lkclooney   1267 Apr 30  2019 process.h
-rw-r--r--  1 lkclooney lkclooney   9721 Apr 30  2019 pthread.h
-rw-r--r--  1 lkclooney lkclooney    350 Apr 30  2019 pty.h
-rw-r--r--  1 lkclooney lkclooney   2999 Apr 30  2019 pwd.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:42 python2.7
-rw-r--r--  1 lkclooney lkclooney   8493 Apr 30  2019 reent.h
-rw-r--r--  1 lkclooney lkclooney    220 Apr 30  2019 regdef.h
-rw-r--r--  1 lkclooney lkclooney   4157 Apr 30  2019 regex.h
-rw-r--r--  1 lkclooney lkclooney  17657 Apr 30  2019 resolv.h
-rw-r--r--  1 lkclooney lkclooney   2240 Apr 30  2019 sched.h
-rw-r--r--  1 lkclooney lkclooney   1630 Apr 30  2019 search.h
-rw-r--r--  1 lkclooney lkclooney    998 Apr 30  2019 semaphore.h
-rw-r--r--  1 lkclooney lkclooney    361 Apr 30  2019 setjmp.h
-rw-r--r--  1 lkclooney lkclooney    774 Apr 30  2019 signal.h
-rw-r--r--  1 lkclooney lkclooney   4138 Apr 30  2019 spawn.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 ssp
-rw-r--r--  1 lkclooney lkclooney  14400 Apr 30  2019 stdatomic.h
-rw-r--r--  1 lkclooney lkclooney  12432 Apr 30  2019 stdint.h
-rw-r--r--  1 lkclooney lkclooney  29725 Apr 30  2019 stdio.h
-rw-r--r--  1 lkclooney lkclooney   1799 Apr 30  2019 stdio_ext.h
-rw-r--r--  1 lkclooney lkclooney  11683 Apr 30  2019 stdlib.h
-rw-r--r--  1 lkclooney lkclooney   5589 Apr 30  2019 string.h
-rw-r--r--  1 lkclooney lkclooney   2784 Apr 30  2019 strings.h
-rw-r--r--  1 lkclooney lkclooney   2191 Oct  6  2017 symcat.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:40 sys
-rw-r--r--  1 lkclooney lkclooney   6130 Apr 30  2019 sysexits.h
-rw-r--r--  1 lkclooney lkclooney    271 Apr 30  2019 syslog.h
-rw-r--r--  1 lkclooney lkclooney   1389 Apr 30  2019 tar.h
-rw-r--r--  1 lkclooney lkclooney  41129 Jul 28 12:49 term.h
-rw-r--r--  1 lkclooney lkclooney   9005 Jul 28 12:49 term_entry.h
-rw-r--r--  1 lkclooney lkclooney   3393 Jul 28 12:49 termcap.h
-rw-r--r--  1 lkclooney lkclooney    255 Apr 30  2019 termio.h
-rw-r--r--  1 lkclooney lkclooney     92 Apr 30  2019 termios.h
-rw-r--r--  1 lkclooney lkclooney   8156 Apr 30  2019 tgmath.h
-rw-r--r--  1 lkclooney lkclooney   3040 Apr 30  2019 threads.h
-rw-r--r--  1 lkclooney lkclooney  14739 Jul 28 12:49 tic.h
-rw-r--r--  1 lkclooney lkclooney   7842 Apr 30  2019 time.h
-rw-r--r--  1 lkclooney lkclooney   1050 Apr 30  2019 tzfile.h
-rw-r--r--  1 lkclooney lkclooney    671 Apr 30  2019 ucontext.h
-rw-r--r--  1 lkclooney lkclooney   3099 Jul 28 12:49 unctrl.h
-rw-r--r--  1 lkclooney lkclooney     89 Apr 30  2019 unistd.h
-rw-r--r--  1 lkclooney lkclooney    185 Apr 30  2019 utime.h
-rw-r--r--  1 lkclooney lkclooney     90 Apr 30  2019 utmp.h
-rw-r--r--  1 lkclooney lkclooney   1170 Apr 30  2019 utmpx.h
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:42 uuid
drwxr-xr-x+ 1 lkclooney lkclooney      0 Nov  3 12:41 w32api
-rw-r--r--  1 lkclooney lkclooney    261 Apr 30  2019 wait.h
-rw-r--r--  1 lkclooney lkclooney  11990 Apr 30  2019 wchar.h
-rw-r--r--  1 lkclooney lkclooney   1766 Apr 30  2019 wctype.h
-rw-r--r--  1 lkclooney lkclooney   1526 Apr 30  2019 wordexp.h
-rw-r--r--  1 lkclooney lkclooney    235 Apr 30  2019 xlocale.h


--
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] 3+ messages in thread

* Re: configure script fails during install (Setup Ver 2.897 (64 bit))
  2019-11-04  1:06 configure script fails during install (Setup Ver 2.897 (64 bit)) Lawrence Clooney
@ 2019-11-04  7:19 ` Brian Inglis
  2019-11-04 17:18 ` Hans-Bernhard Bröker
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2019-11-04  7:19 UTC (permalink / raw)
  To: cygwin; +Cc: Lawrence Clooney

On 2019-11-03 18:06, Lawrence Clooney wrote:
> Scenario:
> Performing gnu-cobol V1.1 install on Windows 10 desktop. The cygwin setup-x86_64.exe installed in C:\OC directory as instructed in www.Lynda.com<http://www.Lynda.com> “Learning Cobol” course.
> lkclooney@CLOONEY-1 /cygdrive/c/OC
> $ ls -la
> total 2264
> drwxrwx---+ 1 lkclooney                   lkclooney                         0 Nov  3 12:48 .
> d---r-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller       0 Nov  3 14:03 ..
> drwxrwxr-x+ 1 lkclooney                   lkclooney                         0 Nov  3 19:19 gnu-cobol-1.1
> -rwxrwx---+ 1 lkclooney                   lkclooney                   1046006 Nov  3 12:26 gnu-cobol-1.1.tar.gz
> drwxrwx---+ 1 lkclooney                   lkclooney                         0 Nov  3 12:37 http%3a%2f%2fcygwin.mirror.constant.com%2f
> -rwxrwx---+ 1 lkclooney                   lkclooney                   1225235 Nov  3 11:54 setup-x86_64.exe
> The video instructs the user to execute the cygwin install configure script in gnu-cobol-1.1 directory.
> lkclooney@CLOONEY-1 /cygdrive/c/OC/gnu-cobol-1.1
> $ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> Error Message:
> checking whether to use NLS... no
> checking for initscr in -lncurses... yes
> checking ncurses.h usability... yes
> checking ncurses.h presence... yes
> checking for ncurses.h... yes
> checking for Berkeley DB db.h version >= 4.1 ... no (version numbers not found)
> configure: error: Berkeley DB db.h is missing or has incompatible version
> The software was installed twice with configure script failing in the same location.
> Investigation
> The db.h file could not be found in the /usr/include directory

Cygwin does not package or support GNU COBOL.
The configure script is provided with GNU COBOL, or by Lynda.com, not Cygwin.
Cygwin setup is not involved, unless that was used to provide the installation
base for building GNU COBOL.
Berkeley DB was a product of SleepyCat Software until that was bought by Oracle,
but there may be some support for it in the Cygwin libdb-devel package with
release 5.3.28-2 in 2017, although it is now orphaned with no Cygwin maintainer.
Please contact Lynda.com for help with their Cygwin installation of GNU COBOL.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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] 3+ messages in thread

* Re: configure script fails during install (Setup Ver 2.897 (64 bit))
  2019-11-04  1:06 configure script fails during install (Setup Ver 2.897 (64 bit)) Lawrence Clooney
  2019-11-04  7:19 ` Brian Inglis
@ 2019-11-04 17:18 ` Hans-Bernhard Bröker
  1 sibling, 0 replies; 3+ messages in thread
From: Hans-Bernhard Bröker @ 2019-11-04 17:18 UTC (permalink / raw)
  To: cygwin

Am 04.11.2019 um 02:06 schrieb Lawrence Clooney:
> Error Message:
> checking whether to use NLS... no
> checking for initscr in -lncurses... yes
> checking ncurses.h usability... yes
> checking ncurses.h presence... yes
> checking for ncurses.h... yes
> checking for Berkeley DB db.h version >= 4.1 ... no (version numbers not found)
> configure: error: Berkeley DB db.h is missing or has incompatible version

No, that does not mean that the configure script failed.  It means the
configure script determined that your build machine lacks some
capabilities this program needs, and thus refused to continue.  As
that's exactly what the script is supposed to do, it cannot be qualified
as a failure.

You will have to install the required packages to satisfy that
dependency.  In the case at hand, that would be libdb-devel (current
version 5.3.28-2).

What did fail here is either the sequence of instructions you followed
(because they really should have told you to install that package), or
your following of same (if they did tell you, but you didn't).

--
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] 3+ messages in thread

end of thread, other threads:[~2019-11-04 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04  1:06 configure script fails during install (Setup Ver 2.897 (64 bit)) Lawrence Clooney
2019-11-04  7:19 ` Brian Inglis
2019-11-04 17:18 ` Hans-Bernhard Bröker

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