From owner-freebsd-ports Wed Mar 19 11:41:28 2003 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 9EDBB37B404 for ; Wed, 19 Mar 2003 11:41:24 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D49243F85 for ; Wed, 19 Mar 2003 11:41:23 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.8/8.12.8) with ESMTP id h2JJdwrI043436; Wed, 19 Mar 2003 14:39:59 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: What's wrong with this port ? From: Joe Marcus Clarke To: Dan Naumov Cc: freebsd-ports@FreeBSD.ORG In-Reply-To: <1048102704.40287.10.camel@localhost> References: <1048102704.40287.10.camel@localhost> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-AgCfCDXueqsTjxgbvCUv" Organization: MarcusCom, Inc. Message-Id: <1048102873.328.75.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 19 Mar 2003 14:41:13 -0500 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) 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 --=-AgCfCDXueqsTjxgbvCUv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-03-19 at 14:38, Dan Naumov wrote: > Hello list. >=20 > I've recently decided to try my hand at port-making and thought I'd > start by writing a port for XFsamba (http://xfsamba.sourceforge.net/), > unfortunately I ran into an issue I couldn't solve myself so I thought > I'd ask for help. First of all, here's the actual Makefile: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > # New ports collection makefile for: xfsamba > # Date created: 19 March 2003 > # Whom: Dan "Jago" Naumov > # > # $FreeBSD$ > # >=20 > PORTNAME=3D xfsamba > PORTVERSION=3D 0.47 > CATEGORIES=3D net > MASTER_SITES=3D http://xfsamba.sourceforge.net/archive/ >=20 > MAINTAINER=3D dan.naumov@ofw.fi > COMMENT=3D A GTK-based SMB navigator >=20 > GNU_CONFIGURE=3D yes > USE_LIBTOOL=3D yes USE_LIBTOOL implies GNU_CONFIGURE > USE_GMAKE=3D yes > USE_GNOME=3D glib12 gtk12 gdkpixbuf You only need gdkpixbuf here. [snip] > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > configure: WARNING: you should use --build, --host, --target > checking build system type... i386-portbld-freebsd5.0 > checking host system type... i386-portbld-freebsd5.0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D Try adding: CONFIGURE_TARGET=3D --build=3D${MACHINE_ARCH}-portbld-freebsd${OSREL} To your Makefile. Joe >=20 > This leads to an error right as the actual compile starts: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > gmake[2]: Entering directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47/intl' > cc -c -DLOCALEDIR=3D\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=3D\"/usr/local/share/locale\" > -DLIBDIR=3D\"/usr/local/lib\" DHAVE_CONFIG_H -I.. -I. -I../intl > -I/usr/X11R6/include -O -pipe -mcpu=3Dpentiumpro > -march=3Di386-portbld-freebsd5.0 intl-compat.c > cc1: bad value (i386-portbld-freebsd5.0) for -march=3D switch > cc1: bad value (i386-portbld-freebsd5.0) for -mcpu=3D switch > gmake[2]: *** [intl-compat.o] Error 1 > gmake[2]: Leaving directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47/intl' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > What's even more bizarre is that if I remove my custom make.conf, one of > the errors goes away, but I am still left with: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > cc1: bad value (i386-portbld-freebsd5.0) for -march=3D switch > gmake[2]: *** [intl-compat.o] Error 1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > I have the following in my make.conf: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > CPUTYPE=3Dathlon-tbird > CFLAGS=3D -O -mmmx -m3dnow -pipe > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > What exactly is compiling from ports doing differently from compiling > from source that is causing this ? Thank you for your advice. >=20 > Sincerely, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-AgCfCDXueqsTjxgbvCUv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+eMfZb2iPiv4Uz4cRAmOBAJ9I28/pvJ2/kEk7ryrSPzzIZWFX3gCgrLcN HunIFxjU8k0W65mKPOw7+Hw= =KTX+ -----END PGP SIGNATURE----- --=-AgCfCDXueqsTjxgbvCUv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message