Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2006 00:52:43 -0800
From:      Beech Rintoul <beech@alaskaparadise.com>
To:        freebsd-ports@freebsd.org
Cc:        Bert van de Grift <bert@vdgrift.org>
Subject:   Re: Compile error proftpd 1.3.0_1
Message-ID:  <200605130052.56995.beech@alaskaparadise.com>
In-Reply-To: <20060513074242.GA22525@snoozy.vdgrift.org>
References:  <20060512081431.GA631@snoozy.vdgrift.org> <200605121035.22253.beech@alaskaparadise.com> <20060513074242.GA22525@snoozy.vdgrift.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1383132.SWD70Jlblt
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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:=20
make HAVE_GETOPT=3Dno

I don't know why you're getting stuck at getopt, the last patch should have=
=20
fixed that. If enyone else has any ideas, I'm open for suggestions.

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-------------












--nextPart1383132.SWD70Jlblt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEZZ5op5D0B1NlT4URAuj9AJ9akLTx/ihbngVg5p6WBcyiL1pXQACfYOIh
13c4vAPN9/7OFyAUlDlp/F8=
=odey
-----END PGP SIGNATURE-----

--nextPart1383132.SWD70Jlblt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605130052.56995.beech>