From owner-freebsd-ports@FreeBSD.ORG Fri May 12 18:35:28 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3A17916B50C for ; Fri, 12 May 2006 18:35:28 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A655843D60 for ; Fri, 12 May 2006 18:35:27 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 42B115D7B; Fri, 12 May 2006 10:35:27 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.106] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id AAA605C0B; Fri, 12 May 2006 10:35:24 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: Bert van de Grift Date: Fri, 12 May 2006 10:35:06 -0800 User-Agent: KMail/1.9.1 References: <20060512081431.GA631@snoozy.vdgrift.org> <200605120112.13495.beech@alaskaparadise.com> <20060512112237.GC631@snoozy.vdgrift.org> In-Reply-To: <20060512112237.GC631@snoozy.vdgrift.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1726635.py0OuNHXZU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605121035.22253.beech@alaskaparadise.com> Cc: freebsd-ports@freebsd.org Subject: Re: Compile error proftpd 1.3.0_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 18:35:30 -0000 --nextPart1726635.py0OuNHXZU Content-Type: multipart/mixed; boundary="Boundary-01=_dVNZEMoD6YaavO2" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_dVNZEMoD6YaavO2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 12 May 2006 03:22, Bert van de Grift wrote: > On Fri, May 12, 2006 at 01:11:53AM -0800, Beech Rintoul wrote: > > On Friday 12 May 2006 00:14, Bert van de Grift wrote: > > > Hi, > > > > > > I have a FreeBSD 4.11-RELEASE-p16 system with an up-to-date ports tree > > > and ports (except proftpd :-) of course. > > > > > > While compiling I get the following error: > > > > > > gmake[1]: Entering directory > > > `/usr/ports/ftp/proftpd/work/proftpd-1.3.0/src' > > > cc -DHAVE_CONFIG_H -DFREEBSD4_11 -DFREEBSD4 -I.. -I../include > > > -I/usr/local/include -O -pipe -DHAVE_OPENSSL -Wall -c main.c In file > > > included from main.c:38: > > > /usr/local/include/getopt.h:83: redefinition of `struct option' > > > gmake[1]: *** [main.o] Error 1 > > > gmake[1]: Leaving directory > > > `/usr/ports/ftp/proftpd/work/proftpd-1.3.0/src' gmake: *** [src] Error > > > 2 > > > *** Error code 2 > > > > > > Stop in /usr/ports/ftp/proftpd > > > > > > Current installed version of proftpd is: 1.3.0.r3 > > > > > > Anybody else having this problem? > > > > The developers suggested to add libgnugetopt ( > > /usr/ports/devel/libgnugetopt ). Let me know if it fixes your build. I > > don't have a 4x box to test this on. > > Thanks for your reply. > > I already have libgnugetopt-1.2 installed... > > Regards, Try this patch on your port makefile. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --Boundary-01=_dVNZEMoD6YaavO2 Content-Type: text/x-diff; charset="iso-8859-1"; name="make.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make.patch" diff -ruN --exclude=3DCVS /usr/ports/ftp/proftpd.orig/Makefile /usr/ports/f= tp/proftpd/Makefile =2D-- /usr/ports/ftp/proftpd.orig/Makefile Wed May 10 13:32:16 2006 +++ /usr/ports/ftp/proftpd/Makefile Fri May 12 10:28:49 2006 @@ -37,7 +37,8 @@ =20 CONFIGURE_ARGS=3D --localstatedir=3D/var/run \ --sysconfdir=3D${EXAMPLESDIR}/etc \ =2D --disable-sendfile + --disable-sendfile \ + --without-getopt =20 OPTIONS=3D IPV6 "Use IPv6" off \ LDAP "Use LDAP" off \ --Boundary-01=_dVNZEMoD6YaavO2-- --nextPart1726635.py0OuNHXZU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEZNVqp5D0B1NlT4URAs9xAJ4m1UFKWPVElEs0V6VD9TxyV8F1xQCfXgkH r7rFIE4Ad7FiEJaie4whLfo= =+BcV -----END PGP SIGNATURE----- --nextPart1726635.py0OuNHXZU--