Date: Tue, 16 Jul 2002 13:57:31 +0100 (BST) From: Gavin Atkinson <gavin@ury.york.ac.uk> To: <kuriyama@FreeBSD.org> Cc: <ports@FreeBSD.org> Subject: expat configure problem under -CURRENT? Message-ID: <Pine.BSF.4.33.0207161349390.93143-100000@ury.york.ac.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0207161349390.93143-100000>