From: donald t. <don...@sy...> - 2007-01-17 17:55:42
|
I am trying to install tiny-cobol but am obviously missing a package. I have installed the db1-1.85.4-8.i386.rpm, but am getting the following on the ./configure command, [root@LizzyLinux tinycobol-0.63]# ./configure --with-libdb=3 loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking for as... as checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for ar... ar checking for flex... flex checking for bison... bison checking for expand... /usr/bin/expand checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for stdio.h... yes checking for alloca.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for malloc.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for utime.h... yes checking for ctype.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for getopt.h... yes checking for working const... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for 8-bit clean memcmp... yes checking for vprintf... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for putenv... yes checking for asin in -lm... yes Beginning DB library header search sequence checking for db3/db_185.h... no configure: error: header db3/db_185.h for library db version 3.x not found... aborting I tried both with and without the --with-libdb=3 option. Any pointers? Donald |
From: Carlinux <car...@te...> - 2007-01-17 19:41:13
|
On Wed, 17 Jan 2007 12:55:32 -0500 donald tees <don...@sy...> wrote: > I am trying to install tiny-cobol but am obviously missing a package. > > I have installed the db1-1.85.4-8.i386.rpm, but am getting the following > on the ./configure command, > > [root@LizzyLinux tinycobol-0.63]# ./configure --with-libdb=3 > loading cache ./config.cache > Beginning DB library header search sequence > checking for db3/db_185.h... no > configure: error: header db3/db_185.h for library db version 3.x not > found... aborting > what distribuition Linux? install libdb3-dev: ii libdb3 3.2.9-22 Berkeley v3 Database Libraries [runtime] ii libdb3-dev 3.2.9-22 Berkeley v3 Database Libraries [development] ii libdb3-util 3.2.9-22 Berkeley v3 Database Utilities ii bison-1.35 1.35-4 A parser generator that is compatible with Y ii flex-old 2.5.4a-6 The old version of the fast lexical analyzer /etc/profile export LD_LIBRARY_PATH=/usr/local/lib export TCOB_LD_LIBRARY_PATH=. bye -- Carlucio Lopes- Cobolito 62-8415-8939 msn:car...@ho... Entenda Pirataria => http://www.carlinux.v10.com.br Compilador Cobol Free http://tinycobol.org em Portugues Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp Projeto Debian Brasil http://cdd.debian-br.org Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk |
From: vince c. <vb...@bt...> - 2007-01-18 01:50:28
|
Hi; On Wednesday 17 January 2007 17:55, donald tees wrote: > I am trying to install tiny-cobol but am obviously missing a package. > > I have installed the db1-1.85.4-8.i386.rpm, but am getting the following > on the ./configure command, That looks like 1,85 so just run ./configure --with-libdb=1 > > [root@LizzyLinux tinycobol-0.63]# ./configure --with-libdb=3 > loading cache ./config.cache > checking for db3/db_185.h... no > configure: error: header db3/db_185.h for library db version 3.x not > found... aborting > > I tried both with and without the --with-libdb=3 option. Vince. |
From: David E. <de...@us...> - 2007-01-18 05:25:46
|
Donald Tees wrote: > I am trying to install tiny-cobol but am obviously missing > a package. > > I have installed the db1-1.85.4-8.i386.rpm, but am getting > the following on the ./configure command, > > #./configure --with-libdb=3 > ... > Beginning DB library header search sequence > checking for db3/db_185.h... no > configure: error: header db3/db_185.h for library db version > 3.x not found... aborting > > I tried both with and without the --with-libdb=3 option. > > Any pointers? Many distributions have BDB installed by default. Check to see if you have BDB installed, and what version. Newer distributions have migrated to BDB version 4x. If so, you could try the 'configure --with-libdb=4' option. Since you have installed BDB '1.85.4' the '--with-libdb=1' option will likely NOT work. The version 0.63 configure was not designed with this in mind, so the script will fail. If BDB is not installed, check your distribution packages. If all else fails, download the BDB 1.85.4 sources and build and install those. The above should work, but it depends on the locations and names of the BDB header and library files. Hope this helps, David Essex |