From owner-freebsd-ports@FreeBSD.ORG Sat May 13 10:14:02 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 DA1CE16A407 for ; Sat, 13 May 2006 10:14:02 +0000 (UTC) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: from snoozy.vdgrift.org (snoozy.vdgrift.org [193.79.182.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C2B43D55 for ; Sat, 13 May 2006 10:14:01 +0000 (GMT) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: from snoozy.vdgrift.org (localhost [127.0.0.1]) by snoozy.vdgrift.org (8.13.1/8.13.1) with ESMTP id k4DADv7b011083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 May 2006 12:13:57 +0200 (CEST) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: (from bvdgrift@localhost) by snoozy.vdgrift.org (8.13.1/8.13.1/Submit) id k4DADv8U011082; Sat, 13 May 2006 12:13:57 +0200 (CEST) (envelope-from bvdgrift) Date: Sat, 13 May 2006 12:13:57 +0200 From: Bert van de Grift To: Beech Rintoul Message-ID: <20060513101357.GB22525@snoozy.vdgrift.org> Mail-Followup-To: Beech Rintoul , freebsd-ports@freebsd.org References: <20060512081431.GA631@snoozy.vdgrift.org> <200605121035.22253.beech@alaskaparadise.com> <20060513074242.GA22525@snoozy.vdgrift.org> <200605130052.56995.beech@alaskaparadise.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605130052.56995.beech@alaskaparadise.com> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://www.xs4all.nl/~bvdgrift/private-gpg-key.asc X-Virus-Scanned: by amavisd-new 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: Sat, 13 May 2006 10:14:02 -0000 On Sat, May 13, 2006 at 12:52:43AM -0800, Beech Rintoul wrote: > On Friday 12 May 2006 23:42, Bert van de Grift wrote: > > On Fri, May 12, 2006 at 10:35:06AM -0800, Beech Rintoul wrote: > > > 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. > > > > Unfortunately this patch doesn't do the trick. I get exactly the same > > error while compiling. > The only other thing I can think of is to try compiling with: > make HAVE_GETOPT=no > I don't know why you're getting stuck at getopt, the last patch should > have fixed that. If enyone else has any ideas, I'm open for > suggestions. Compiling with 'make HAVE_GETOPT=no' doesn't work either... I might try to compile proftpd on a fresh 4.11 system and see what happens. I know from people around me that it compiles fine on a 5.x system. Thanks for spending your time on this! -- Bert van de Grift Email: bert@vdgrift.org WWW: http://www.vdgrift.org MSN: bertjevdgrift@hotmail.com