Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 14:34:16 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        Beech Rintoul <beech@alaskaparadise.com>
Cc:        Bert van de Grift <bert@vdgrift.org>, freebsd-ports@freebsd.org
Subject:   Re: Compile error proftpd 1.3.0_1
Message-ID:  <446464A8.80608@FreeBSD.org>
In-Reply-To: <200605120112.13495.beech@alaskaparadise.com>
References:  <20060512081431.GA631@snoozy.vdgrift.org> <200605120112.13495.beech@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 
> Beech
> 

No. The port builds fine on 4.11 (inside clean environment).
Bert, could you list your installed ports (with pkg_info) please?

-- 
Sem.



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