Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu,  2 Aug 2001 12:01:27 +0100
Message-ID: <4083-Thu02Aug2001120128+0100-starksb@ebi.ac.uk>
X-Mailer: 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 9-beta-7 I);
	VM 6.92 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid
From: David Starks-Browning <starksb@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "David A. Cobb" <superbiskit@home.com>
Cc: cygwin@cygwin.com
Subject: Problems building Xemacs/i686-pc-cygwin
In-Reply-To: <5.1.0.14.0.20010801171809.05738080@mail>
References: <5.1.0.14.0.20010801171809.05738080@mail>

On Wednesday 1 Aug 01, David A. Cobb writes:
> Lieber Cygwin:
> 
> I'm dropping the middle of a conversation from xemacs-beta here because the 
> problem seems to originate in one of the cygwin applications.
> I've been trying to build the current beta of xemacs-21.5 and having no joy 
> at all.
> Configure works fine, the "make" fails.
> ld is looking for several symbols "_imp__dbm_????????;" these are defined 
> in "/bin/libgdbm.dll.a" and referenced from "<xemacs-build-dir>/database.o" 
> -- the latter being customized from configure.
> 
> It would appear that the configuration tools don't know to look for the 
> ".dll.a" file; indeed, I didn't notice it among the many appendages to the 
> link library list.
> 
> [ snip ]
>
> ../configure i686-pc-cygwin --prefix=/usr/local/ \
>   --exec-prefix=/usr/local/i686-pc-cygwin/ \
>   --libdir=/usr/local/lib/ \
>   --without-x \
>   --with-site-lisp \
>   --with-database=gdbm \
>   --with-sound=native,noesd \
>   --use-union-type && \
> make && \
> make install

David,

You don't show the exact gcc (or ld? or xemacs?) command that
generates the errors.  You may have supplied it to the xemacs-beta
list originally, but it's missing in this message to the cygwin list.
If supplied, I could compare it to the one in my successful
xemacs-21.5 build.

Plain "configure" (without any package options) + "make" works fine
for me.  ("make install" fails, but that's an xemacs packaging
problem, not a Cygwin problem.)

For reference, my configure log contains:

> checking for database support
> checking for ndbm.h... yes
> checking for dbm_open in -lgdbm... yes
>     Prepending "-lgdbm" to $LIBS
>     Defining HAVE_DBM
> checking for Berkeley db.h... no
>     Defining HAVE_DATABASE
>     xemacs will be linked with "database.o"

Hope this helps.

Regards,
David


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

