This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Making GDBM [ a long story ]


Background: trying to configure an XEmacs-21.5.1--i686-pc-cygwin beta, 
selected --with-database=gdbm but got a complaint:
:[S!] Bash $ cd build-i686-pc-cygwin/
:[S!] Bash $ ../configure i686-pc-cygwin --prefix=/usr/local \
 > --exec-prefix=/usr/local/i686-pc-cygwin \
 > --without-x \
 > --with-gcc \
 > --with-site-lisp \
 > --with-database=gdbm \
 > --use-union-type
loading site script /etc/config.site
. . . .
checking for PostgreSQL
checking for libpq-fe.h... no
checking for pgsql/libpq-fe.h... no
checking for postgresql/libpq-fe.h... yes
checking for PQconnectdb in -lpq... yes
     Defining HAVE_POSTGRESQL
checking for PQconnectStart in -lpq... yes
! *** Even though I didn't request --with-database=postgresql !
. . . .
checking for sound support
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
     xemacs will be linked with "linuxplay.o"
     Defining SOUNDCARD_H_FILE = "sys/soundcard.h"
     Defining HAVE_NATIVE_SOUND
checking for esd-config... no
     xemacs will be linked with "miscplay.o"
! *** THIS IS GOING TO BE ANOTHER PROBLEM *** !
. . . .
AND FINALLY
. . . .
checking for database support
checking for ndbm.h... no
Error: Required DBM support cannot be provided.
:[S!] Bash $

Aha! Maybe I need to build it locally {I thought}, so - get the source and 
. . . .
:[S!] Bash $ ../configure --target=i686-pc-cygwin \
 > --without-x \
 > --with-gnu-ld \
 > --exec-prefix=/usr/local/i686-pc-cygwin/
creating cache ./config.cache
checking for gcc... /usr/bin/gcc -mcygwin
checking whether the C compiler (/usr/bin/gcc -mcygwin  ) works... yes
. . . .
checking for /usr/bin/gcc option to produce PIC... -fPIC
checking if /usr/bin/gcc PIC flag -fPIC works... no
checking if /usr/bin/gcc static flag -static works... -static
checking if the linker 
(/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld.exe) 
is GNU ld... yes
checking whether the linker 
(/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld.exe) 
supports shared libraries... yes
checking command to parse /usr/i686-pc-Cygwin/bin//nm -B output... no
checking how to hardcode library paths into programs... immediate
checking for 
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld.exe 
option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for working const... yes
. . . .
creating Makefile
creating autoconf.h
:[S!] Bash $ make
/bin/sh ../libtool --mode=compile /usr/bin/gcc -mcygwin -c   -I. -I.. -O 
../dbminit.c
../libtool: Can't open ../libtool: No such file or directory
make: *** [dbminit.lo] Error 2
:[S!] Bash $

SO, obviously I should do something differently.  What?

Tia,

David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy.
Get my PGP key at
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit>
Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954}
:<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&fingerprint=on>
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source.  Do not buy or use Potentially Viral Software!
<---.----!----.----!----.----!----.----!----.----!----.----!----.---->


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]