[Oisf-users] Make Error while installing Suricata 2.0.1 on Mac OS X 10.9.2

MAHESH BINGI mahesh.bingi at gmail.com
Wed Jun 4 20:24:38 UTC 2014


I ran "sudo make"  and "sudo make install" and still error..

libtool: link: ranlib .libs/libhtp.a

ranlib: file: .libs/libhtp.a(htp_request_parsers.o) has no symbols

libtool: link: rm -fr .libs/libhtp.lax

libtool: link: ( cd ".libs" && rm -f "libhtp.la" && ln -s "../libhtp.la" "
libhtp.la" )

Making all in test

make[4]: Nothing to be done for `all'.

Making all in docs

make[4]: Nothing to be done for `all'.

Making all in src

Makefile:270: *** missing separator (did you mean TAB instead of 8
spaces?).  Stop.

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

---------------------------------------------------------------------------------------------------

Mahesh-2:suricata-2.0.1 mbingi$ sudo make install

Making install in libhtp

Making install in htp

 .././install-sh -c -d '/opt/suricata/lib'

 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libhtp.la
'/opt/suricata/lib'

libtool: install: /usr/bin/install -c .libs/libhtp-0.5.11.1.dylib
/opt/suricata/lib/libhtp-0.5.11.1.dylib

libtool: install: (cd /opt/suricata/lib && { ln -s -f libhtp-0.5.11.1.dylib
libhtp.dylib || { rm -f libhtp.dylib && ln -s libhtp-0.5.11.1.dylib
libhtp.dylib; }; })

libtool: install: /usr/bin/install -c .libs/libhtp.lai /opt/suricata/lib/
libhtp.la

libtool: install: /usr/bin/install -c .libs/libhtp.a
/opt/suricata/lib/libhtp.a

libtool: install: chmod 644 /opt/suricata/lib/libhtp.a

libtool: install: ranlib /opt/suricata/lib/libhtp.a

ranlib: file: /opt/suricata/lib/libhtp.a(htp_request_parsers.o) has no
symbols

 .././install-sh -c -d '/opt/suricata/include/htp'

 /usr/bin/install -c -m 644 bstr.h bstr_builder.h htp.h htp_base64.h
htp_config.h htp_connection_parser.h htp_core.h htp_decompressors.h
htp_hooks.h htp_list.h htp_multipart.h htp_table.h htp_transaction.h
htp_urlencoded.h htp_utf8_decoder.h htp_version.h
'/opt/suricata/include/htp'

Making install in test

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

Making install in docs

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[3]: Nothing to be done for `install-exec-am'.

 ./install-sh -c -d '/opt/suricata/lib/pkgconfig'

 /usr/bin/install -c -m 644 htp.pc '/opt/suricata/lib/pkgconfig'

Making install in src

Makefile:270: *** missing separator (did you mean TAB instead of 8
spaces?).  Stop.

make: *** [install-recursive] Error 1




On Wed, Jun 4, 2014 at 1:21 PM, Peter Manev <petermanev at gmail.com> wrote:

> On Wed, Jun 4, 2014 at 10:16 PM, MAHESH BINGI <mahesh.bingi at gmail.com>
> wrote:
> > Hi Team,
> >
> > I have run below configuration command successfully
> >
> > CC=clang ./configure --prefix=/opt/suricata/
> --sysconfdir=/opt/suricata/etc/
> > --localstatedir=/var
> >
> > And after that I am running "make" and "make install", then getting below
> > error.
> > ...
> >
> > libtool: link: ranlib .libs/libhtp.a
> >
> > ranlib: file: .libs/libhtp.a(htp_request_parsers.o) has no symbols
> >
> > libtool: link: rm -fr .libs/libhtp.lax
> >
> > libtool: link: ( cd ".libs" && rm -f "libhtp.la" && ln -s "../libhtp.la"
> > "libhtp.la" )
> >
> > Making all in test
> >
> > make[4]: Nothing to be done for `all'.
> >
> > Making all in docs
> >
> > make[4]: Nothing to be done for `all'.
> >
> > Making all in src
> >
> > Makefile:270: *** missing separator (did you mean TAB instead of 8
> spaces?).
> > Stop.
> >
> > make[1]: *** [all-recursive] Error 1
> >
> > make: *** [all] Error 2
> >
> > Mahesh-2:suricata-2.0.1 mbingi$ make install
> >
> > Making install in libhtp
> >
> > Making install in htp
> >
> >  .././install-sh -c -d '/opt/suricata/lib'
> >
> > mkdir: /opt/suricata/lib: Permission denied
> >
> > make[3]: *** [install-libLTLIBRARIES] Error 1
> >
> > make[2]: *** [install-am] Error 2
> >
> > make[1]: *** [install-recursive] Error 1
> >
> > make: *** [install-recursive] Error 1
> >
> >
> > Please advise on this error.
> >
> >
> > Thanks & Regards,
> > Mahesh Bingi
> > Graduate Student,
> > San Jose State University
> > +1-408-466-7178
> >
> > _______________________________________________
> > Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> > Site: http://suricata-ids.org | Support:
> http://suricata-ids.org/support/
> > List:
> https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> > OISF: http://www.openinfosecfoundation.org/
>
>
> looks like a permission err:
> "mkdir: /opt/suricata/lib: Permission denied"
>
> sudo make install - could help
>
> --
> Regards,
> Peter Manev
>



-- 
Thanks & Regards,
*Mahesh Bingi*
*Graduate Student, *
*San Jose State University*
*+1-408-466-7178*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20140604/3bf0c5b7/attachment-0002.html>


More information about the Oisf-users mailing list