From owner-freebsd-ports Tue Jul 16 5:57:38 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E917F37B400; Tue, 16 Jul 2002 05:57:34 -0700 (PDT) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADDF743E42; Tue, 16 Jul 2002 05:57:33 -0700 (PDT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id g6GCvVa24077; Tue, 16 Jul 2002 13:57:31 +0100 (BST) Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.3/8.12.3) with ESMTP id g6GCvVv6093216; Tue, 16 Jul 2002 13:57:31 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.3/8.12.3/Submit) with ESMTP id g6GCvVv9093213; Tue, 16 Jul 2002 13:57:31 +0100 (BST) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Tue, 16 Jul 2002 13:57:31 +0100 (BST) From: Gavin Atkinson To: Cc: Subject: expat configure problem under -CURRENT? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I seem to be having a problem with the expat port under -CURRENT. $FreeBSD: ports/textproc/expat2/Makefile,v 1.16 2002/07/06 08:10:23 kuriyama Exp $ The configure script works fine: ... checking for working mmap... yes checking for memmove... yes checking for bcopy... yes configure: creating ./config.status config.status: creating Makefile config.status: creating expat_config.h However, even though memmove and bcopy were detected, this information does not make it into expat_config.h: /* expat_config.h. Generated by configure. */ /* expat_config.h.in. Generated from configure.in by autoheader. */ /* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ #define BYTEORDER 1234 /* Define to 1 if you have the `bcopy' function. */ /* #undef HAVE_BCOPY */ ... /* Define to 1 if you have the `memmove' function. */ /* #undef HAVE_MEMMOVE */ This then causes the compile to fail: epsilon# make ===> Building for expat-1.95.3 /usr/local/bin/bash ./libtool --silent --mode=compile cc -O -pipe -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -Ilib -I. -o lib/xmlparse.lo -c lib/xmlparse.c lib/xmlparse.c:84:2: #error memmove does not exist on this platform, nor is a substitute available *** Error code 1 Stop in /usr/ports/textproc/expat2/work/expat-1.95.3. *** Error code 1 Stop in /usr/ports/textproc/expat2. Running "make configure" manually and then editing the resultant expat_config.h to define HAVE_MEMMOVE and HAVE_BCOPY allows the port to compile. I have been unable to figure out where in the build chain this fails. Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message