Date: Sun, 8 Oct 2000 11:27:07 -0700 (PDT) From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-ports@freebsd.org Subject: Problem with GNU_CONFIGURE Message-ID: <200010081827.e98IR7210488@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
I'm trying to put together a port of the FSF gmp library. But, the bare bone Makefile blows up during the configure phase. Here's the Makefile content: PORTNAME= gmp PORTVERSION= 3.1 CATEGORIES= devel MASTER_SITES= ftp://ftp.gnu.org/gnu/gmp/ # # Don't use autoconf, yet. The script needs autoconf 2.14 or higher # which isn't available in the FreeBSD ports collection. Apparently, # the gmp maintainer's are using a snapshot from the autoconf CVS tree. # #USE_AUTOCONF= yes GNU_CONFIGURE= yes .include <bsd.port.mk> Here's the failure: root[203] make ===> Extracting for gmp-3.1 >> Checksum OK for gmp-3.1.tar.gz. ===> Patching for gmp-3.1 ===> Ignoring empty patch directory ===> Configuring for gmp-3.1 creating cache ./config.cache checking host system type... i386--freebsd5.0 checking target system type... i386--freebsd5.0 checking build system type... i386--freebsd5.0 configure: error: can only configure for one host and one target at a time ===> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure version 2.14a, executed with > ./configure --prefix=/usr/local i386--freebsd5.0 configure:636: checking host system type configure:672: checking target system type configure:707: checking build system type (end of "config.log") *** Error code 1 The problem is that the Makefile file is trying to feed i386-freebsd5.0 to the configure script. This should not be done for this port. Why? Because, the configure script goes to some extremes to determine the specific processor type. That is, it will identify if you have an i386, i486, i586, i686, k5, k6, k7, ev4, ev5, ev6, and a slew of others, so that *highly optimized* assembly can be used. The script also checks for 3dnow, mmx, and other advance features. So, how does one get the configure script to run without the i386--freebsd5.0? 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?200010081827.e98IR7210488>