Snort mailing list archives

Cant build rpm for 2.8.5


From: Luis Daniel Lucio Quiroz <luis.daniel.lucio () gmail com>
Date: Wed, 23 Sep 2009 08:07:58 -0500

Hi snorts,

I'm trying to buid Mandrivas RPM, a simple package replace is not enought, 
configure is complaing.

RPM build makes building/simple, building/inline, ..etc directories and inside 
that it compiles snort with specifics flags.  Here is my output, I think I'm 
missing some param at configure but I can figure out,  Can anybody suggest?

TIA

[dieu@elmo-reloaded SPECS]$ rpm --rebuild 
/home/dieu/rpmbuild/SRPMS/snort-2.8.5-1mdv2010.0.src.rpm
"rpm -b" is deprecated, use "rpmbuild -b"                                                         
Installation de /home/dieu/rpmbuild/SRPMS/snort-2.8.5-1mdv2010.0.src.rpm                          
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.dKeYdE                                           
+ umask 022                                                                                       
+ cd /home/dieu/rpmbuild/BUILD                                                                    
+ '[' 1 -eq 1 ']'                                                                                 
+ '[' 1 -eq 1 ']'                                                                                 
+ '[' 1 -eq 1 ']'                                                                                 
+ cd /home/dieu/rpmbuild/BUILD                                                                    
+ rm -rf snort-2.8.5                                                                              
+ /usr/bin/gzip -dc /home/dieu/rpmbuild/SOURCES/snort-2.8.5.tar.gz                                
+ /bin/tar -xf -                                                                                  
+ STATUS=0                                                                                        
+ '[' 0 -ne 0 ']'                                                                                 
+ cd snort-2.8.5                                                                                  
+ echo 'Patch #0 (snort-lib64.diff):'                                                             
Patch #0 (snort-lib64.diff):                                                                      
+ /usr/bin/patch -U -s -p0 -b --suffix .lib64 --fuzz=0 -i 
/home/dieu/rpmbuild/SOURCES/snort-lib64.diff
+ echo 'Patch #1 (snortsam-2.8.5-dlucio.diff):'                                                       
Patch #1 (snortsam-2.8.5-dlucio.diff):                                                                
+ /usr/bin/patch -U -s -p1 -b --suffix .snortsam --fuzz=0 -i 
/home/dieu/rpmbuild/SOURCES/snortsam-2.8.5-dlucio.diff
+ echo 'Patch #2 (snort-plugins_fix.diff):'                                                                        
Patch #2 (snort-plugins_fix.diff):                                                                                 
+ /usr/bin/patch -U -s -p1 -b --suffix .plugins_fix --fuzz=0 -i 
/home/dieu/rpmbuild/SOURCES/snort-plugins_fix.diff 
+ /bin/echo '#define _PATH_VARRUN "/var/run/snort"'                                                                
+ /bin/cp -a /home/dieu/rpmbuild/SOURCES/snortdb-extra .                                                           
+ exit 0                                                                                                           
Exécution_de(%build): /bin/sh -e /var/tmp/rpm-tmp.1GuXZU                                                           
+ umask 022                                                                                                        
+ cd /home/dieu/rpmbuild/BUILD                                                                                     
+ cd snort-2.8.5                                                                                                   
+ '[' 1 -eq 1 ']'                                                                                                  
+ '[' 1 -eq 1 ']'                                                                                                  
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'         
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'                
+ export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'       
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'              
+ export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'  
+ RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -
fasynchronous-unwind-tables'         
+ export WANT_AUTOCONF_2_5=1                                                                                            
      
+ WANT_AUTOCONF_2_5=1                                                                                                   
      
+ rm -f configure                                                                                                       
      
+ libtoolize --automake --copy --force                                                                                  
      
+ aclocal -I m4                                                                                                         
      
+ autoheader                                                                                                            
      
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'                                         
      
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'                                          
      
autoheader: WARNING: is deprecated and discouraged.                                                                     
      
autoheader:                                                                                                             
      
autoheader: WARNING: Using the third argument of `AC_DEFINE' and                                                        
      
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template 
without                                             
autoheader: WARNING: `acconfig.h':                                                                                      
      
autoheader:                                                                                                             
      
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,                                                                   
      
autoheader:             [Define if a function `main' is needed.])                                                       
      
autoheader:                                                                                                             
      
autoheader: WARNING: More sophisticated templates can also be produced, see 
the                                               
autoheader: WARNING: documentation.                                                                                     
      
+ automake --foreign --add-missing --copy                                                                               
      
+ autoconf                                                                                                              
      
+ /bin/rm -rf building                                                                                                  
      
+ /bin/mkdir -p building                                                                                                
      
+ cd building                                                                                                           
      
+ SNORT_BASE_CONFIG='--prefix=/usr     --libdir=/usr/lib     --
libexecdir=/usr/lib/snort     --mandir=/usr/share/man     --
sysconfdir=/etc/snort     --disable-prelude     --enable-snortsam     --
enable-shared     --enable-pthread     --enable-rulestate     --enable-
dynamicplugin     --enable-timestats     --enable-perfprofiling     --enable-
linux-smp-stats     --enable-ppm     --enable-decoder-preprocessor-rules     
--cache-file=../../config.cache     --enable-reload'                                
+ /bin/mkdir -p plain                                                                                                   
      
+ cd plain                                                                                                              
      
+ ../../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib/snort --
mandir=/usr/share/man --sysconfdir=/etc/snort --disable-prelude --enable-
snortsam --enable-shared --enable-pthread --enable-rulestate --enable-
dynamicplugin --enable-timestats --enable-perfprofiling --enable-linux-smp-
stats --enable-ppm --enable-decoder-preprocessor-rules --cache-
file=../../config.cache --enable-reload --without-mysql --disable-mysql --
without-postgresql --disable-postgresql --without-oracle --disable-oracle --
without-odbc --disable-odbc --without-inline --disable-inline                                                          
configure: WARNING: unrecognized options: --enable-snortsam, --enable-
rulestate, --disable-mysql, --disable-postgresql, --disable-oracle, --disable-
odbc, --without-inline                                                                                  
configure: creating cache ../../config.cache                                                                            
      
checking for a BSD-compatible install... /usr/bin/install -c                                                            
      
checking whether build environment is sane... yes                                                                       
      
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                    
      
checking for gawk... gawk                                                                                               
      
checking whether make sets $(MAKE)... yes                                                                               
      
-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -
fexceptions -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -
fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables                           
checking whether to enable maintainer-specific portions of Makefiles... no                                              
      
checking for style of include used by make... GNU                                                                       
      
checking for gcc... gcc                                                                                                 
      
checking for C compiler default output file name...                                                                     
      
configure: error: in `/home/dieu/rpmbuild/BUILD/snort-2.8.5/building/plain':                                            
      
configure: error: C compiler cannot create executables                                                                  
      
See `config.log' for more details.                                                                                      
      
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.1GuXZU (%build)   

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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


Current thread: