Snort mailing list archives

Re: Error Building Snort 2.9.1.2 on FreeBSD, Fix preinstall flex


From: Ryan Steinmetz <rpsfa () rit edu>
Date: Sat, 17 Dec 2011 07:45:35 -0500

On (12/14/11 15:52), Robert Z wrote:
Hi.

I had an error building Snort 2.9.1.2 on a fresh system (Freebsd 8.1 x86).

Seems Makefile fails to preinstall flex. I have attached the screen output and my?options?file (/var/db/ports/snort).

Thanks for your hard work.
Robert



===>  Building package for snort-2.9.1.2
rmdir: /usr/ports/net/daq/work: Directory not empty
*** Error code 1 (ignored)
rmdir: /usr/ports/net/libnet/work: Directory not empty
*** Error code 1 (ignored)
rmdir: /usr/ports/devel/libtool/work: Directory not empty
*** Error code 1 (ignored)
rmdir: /usr/ports/devel/pcre/work: Directory not empty
*** Error code 1 (ignored)
===>   Generating temporary packing list
pkg_create: can't find package 'flex-2.5.35_4' installed!
*** Error code 1

Stop in /usr/ports/textproc/flex.
*** Error code 1

Stop in /usr/ports/textproc/flex.
*** Error code 1

Stop in /usr/ports/security/snort.
FreeBSD81x86# make clean
===>  Cleaning for daq-0.6.2
===>  Cleaning for libnet11-1.1.2.1_3,1
===>  Cleaning for libtool-2.4_1
===>  Cleaning for pcre-8.20
===>  Cleaning for flex-2.5.35_4
===>  Cleaning for gmake-3.82
===>  Cleaning for bison-2.4.3,1
===>  Cleaning for libdnet-1.11_3
===>  Cleaning for libpcap-1.1.1_1
===>  Cleaning for m4-1.4.16,1
===>  Cleaning for libiconv-1.13.1_1
===>  Cleaning for gettext-0.18.1.1
===>  Cleaning for snort-2.9.1.2
FreeBSD81x86# pkg_info
bison-2.4.3,1       A parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.12.11_1 The root certificate bundle from the Mozilla Project
curl-7.21.3_2       Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1           Create patchset information from CVS
daq-0.6.2           Data Acquisition abstraction library for snort 2.9+
expat-2.0.1_2       XML 1.0 parser written in C
fastest_cvsup-0.3.0 Finds fastest CVSup server
gettext-0.18.1.1    GNU gettext package
git-1.7.8           Distributed source code management tool
gmake-3.82          GNU version of 'make' utility
libdnet-1.11_3      A simple interface to low level networking routines
libiconv-1.13.1_1   A character set conversion library
libnet11-1.1.2.1_3,1 A C library for creating IP packets
libpcap-1.1.1_1     Ubiquitous network traffic capture library
libtool-2.4_1       Generic shared library support script
m4-1.4.16,1         GNU m4
p5-Error-0.17016    Perl module to provide Error/exception support for perl: Er
p5-IO-Socket-SSL-1.53 Perl5 interface to SSL sockets
p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL
p5-Net-SSLeay-1.42  Perl5 interface to SSL
pcre-8.20           Perl Compatible Regular Expressions library
perl-5.12.4_3       Practical Extraction and Report Language
python27-2.7.2_3    An interpreted object-oriented programming language
snort-2.9.1.2       Lightweight network intrusion detection system

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for snort-2.9.1.2
_OPTIONS_READ=snort-2.9.1.2
WITH_IPV6=true
WITH_MPLS=true
WITH_GRE=true
WITHOUT_TARGETBASED=true
WITH_DECODERPRE=true
WITH_ZLIB=true
WITH_NORMALIZER=true
WITH_REACT=true
WITH_PERFPROFILE=true
WITH_FLEXRESP3=true
WITHOUT_MYSQL=true
WITHOUT_ODBC=true
WITHOUT_POSTGRESQL=true
WITHOUT_PRELUDE=true
WITHOUT_LRGPCAP=true
WITH_SNORTSAM=true
WITH_SOURCEFIRE=true
WITHOUT_DBGSNORT=true

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Does it successfully build after executing 'make clean'?  Additionally,
the port has been updated to 2.9.2, so you should probably update to
that to obtain the latest and greatest features/fixes.

-r

-- 
Ryan Steinmetz
PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: