[Oisf-users] Error building suricata 1.1 under OpenBSD 5.0

Shirkdog shirkdog at gmail.com
Mon Nov 14 18:30:38 UTC 2011


Also try gmake.

I had issues with Snort similar to the issue Eric pointed out. It is
worth a try.

---
Shirkdog
Free your Mind...
http://www.shirkdog.us



On Mon, Nov 14, 2011 at 1:02 PM, carlopmart <carlopmart at gmail.com> wrote:
> On 11/14/2011 06:47 PM, Eric Leblond wrote:
>> Hello,
>>
>> On Mon, 2011-11-14 at 17:40 +0100, carlopmart wrote:
>>> On 11/14/2011 10:33 AM, carlopmart wrote:
>>>> On 11/14/2011 10:24 AM, Eric Leblond wrote:
>>>>> Hello,
>>>>>
>>>>> My 0.02€ but did you try with the indication found here:
>>>>> https://redmine.openinfosecfoundation.org/projects/suricata/wiki/OpenBSD_Installation_from_GIT
>>>>>
>>>>>
>>>>> One of the thing, I needed at the time was to use CPP and C flags:
>>>>>
>>>>> CPPFLAGS="-I/usr/local/include" CFLAGS="-L/usr/local/lib" ./configure
>>>>> --prefix=/opt/suricata
>>>>>
>>>>
>>>>
>>>> Err, no. I will try it ... Wait a moment ...No, it doesn't works:
>>>>
>>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/usr/local/include
>>>> -I/usr/local/include -I/usr/local/include/libnet-1.1
>>>> -I/usr/local/include/libnet-1.1 -L/usr/local/lib -Wextra -Wall
>>>> -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99
>>>> -D__OpenBSD__ -march=native -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE
>>>> -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBPCAP_VERSION_MAJOR=0 -MT
>>>> util-ioctl.o -MD -MP -MF .deps/util-ioctl.Tpo -c -o util-ioctl.o
>>>> util-ioctl.c
>>>> util-ioctl.c: In function 'GetIfaceMTU':
>>>> util-ioctl.c:74: error: storage size of 'ifr' isn't known
>>>> util-ioctl.c:83: error: invalid application of 'sizeof' to incomplete
>>>> type 'struct ifreq'
>>>> util-ioctl.c:74: warning: unused variable 'ifr'
>>>> util-ioctl.c:97: warning: control reaches end of non-void function
>>>> *** Error code 1
>>>>
>>>> Stop in /tmp/oo/suricata-1.1/src (line 92 of /usr/share/mk/sys.mk).
>>>> *** Error code 1
>>>>
>>>> Stop in /tmp/oo/suricata-1.1/src (line 700 of Makefile).
>>>> *** Error code 1
>>>>
>>>> Stop in /tmp/oo/suricata-1.1 (line 353 of Makefile).
>>>> *** Error code 1
>>>>
>>>> Stop in /tmp/oo/suricata-1.1 (line 260 of Makefile).
>>>>
>>>> Same error.
>>>>
>>>
>>> Any info??
>>
>>
>> That error make me thought of the crazy/stupid/dummy behaviour of
>> automake/autoconf on OpenBSD I had to fight with when working on the
>> port.
>>
>> Be sure to do:
>>       export AUTOCONF_VERSION=2.61
>>       export AUTOMAKE_VERSION=1.10
>> before running autogen.sh like describe in
>> https://redmine.openinfosecfoundation.org/projects/suricata/wiki/OpenBSD_Installation_from_GIT
>>
>> BR,
>
> But I am not installing from git ... I am using stable version 1.1 ...
> Is this procedure the same for stable release??
>
> --
> CL Martinez
> carlopmart {at} gmail {d0t} com
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>



More information about the Oisf-users mailing list