Build from git in Centos 6

Steve steve at thupdi.net
Mon Apr 14 16:38:27 PDT 2014


Upgrade autogen to 5.12 fixed this :|

On Tue, Apr 15, 2014 at 5:29 AM, Steve <steve at thupdi.net> wrote:
> Thanks for the reply.
>
> Actually I got  Ver. 5.9.4 autogen in system, but not work. I also
> tried make dist from Debian system and put the tarball  to CentOS box,
> but error with:
>
> In file included from ocserv-args.c:47:
> ocserv-args.h: In function ‘aoGetsText’:
> ocserv-args.h:150: warning: implicit declaration of function ‘gettext’
> ocserv-args.h:150: warning: incompatible implicit declaration of
> built-in function ‘gettext’
> ocserv-args.c: At top level:
>
> Any idea?
>
> On Tue, Apr 15, 2014 at 5:18 AM, Nikos Mavrogiannopoulos
> <nmav at gnutls.org> wrote:
>> On Tue, 2014-04-15 at 03:11 +0800, Steve wrote:
>>> Hi, All
>>>
>>> Tried to build ocserv from git in CentOS 6, but in make setup, there's
>>> error like:
>>>
>>> /bin/true ocserv-args.def
>>>
>>>   CC       ocserv-args.o
>>>
>>> gcc: ocserv-args.c: No such file or directory
>>>
>>> gcc: no input files
>>> How can I solve this?
>>
>> You need autogen to compile from git. The best is to run "make dist"
>> from a system with autogen, and then use the output tarball to any
>> target system.
>>
>> regards,
>> Nikos
>>
>>



More information about the openconnect-devel mailing list