LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2009, 10:31 AM   #1
Zero187
Member
 
Registered: May 2009
Posts: 32

Rep: Reputation: 15
Installing wflogs on SuSE


Trying to install wflogs (http://www.wallfire.org/wflogs/) on SuSE 10 but it says I need wfnetobjs, so I downloaded the wfnetobjs here:
http://www.wallfire.org/wfnetobjs/

But I am unsure how to install/compile the source..

I unzipped it, opened the README which says to run ./configure which I did and that seems to be ok, but when I run "make" which it says to do next I get a bunch of errors. Here is the whole output from the make command:


Code:
make  all-recursive
make[1]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4'
Making all in intl
make[2]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4/intl'
Making all in po
make[2]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4/po'
Making all in man
make[2]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4/man'
Making all in lib
make[2]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4/lib'
Making all in rvlog
make[2]: Entering directory `/home/nysda/Downloads/wfnetobjs-0.2.4/rvlog'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../rvlog    -O2 -Wall -c rvlog.cc
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../rvlog -O2 -Wall -c rvlog.cc  -fPIC -DPIC -o .libs/rvlog.o
rvlog.cc: In member function 'int rvlog::how_set(int)':
rvlog.cc:113: error: 'getenv' was not declared in this scope
rvlog.cc:115: error: 'getenv' was not declared in this scope
rvlog.cc: In member function 'int rvlog::level_set(int)':
rvlog.cc:147: error: 'getenv' was not declared in this scope
rvlog.cc:149: error: 'atoi' was not declared in this scope
rvlog.cc: In member function 'int rvlog::logv(int, const char*, __va_list_tag*) const':
rvlog.cc:195: error: 'strerror' was not declared in this scope
make[2]: *** [rvlog.lo] Error 1
make[2]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4/rvlog'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nysda/Downloads/wfnetobjs-0.2.4'
make: *** [all-recursive-am] Error 2
Any suggestions on how to fix this?
 
Old 06-12-2009, 01:17 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be, you can use version 0.2.2 ?
0.2.2 is the version used in the latest Debian.
And it compiles with no errors, gcc-4.1, g++-4.1.

http://packages.debian.org/source/sid/wfnetobjs
> > wfnetobjs_0.2.2.orig.tar.gz

'wflogs' is available too :
http://packages.debian.org/source/sid/wflogs
> > wflogs_0.9.8.orig.tar.gz
.....
 
Old 06-15-2009, 02:02 PM   #3
Zero187
Member
 
Registered: May 2009
Posts: 32

Original Poster
Rep: Reputation: 15
So I spent about 30 minutes going through and adding this code to a bunch of the files:

Code:
#include <algorithm>
#include <cstring>
#include <cstdlib>
It compiled and didn't show any more errors, but when I try to run ./wflogs it sits there for a few minutes while the computer goes really slow and then outputs this:

Code:
terminate called after throwing an instance of 'St9bad_alloc'
  what():  std::bad_alloc
Aborted
I tried parsing a smaller logfile (like 10kb) and got the same lag + error.

Please help!!
 
Old 06-16-2009, 10:02 AM   #4
Zero187
Member
 
Registered: May 2009
Posts: 32

Original Poster
Rep: Reputation: 15
I gave up with wflogs. I guess it doesn't work with anything other than Debian..

FWLogwatch works great though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wflogs Zero187 Linux - Software 1 06-01-2009 02:56 PM
Suse 10.2 installing YaST repository and installing Mplayer nappy501 SUSE / openSUSE 2 03-09-2008 08:33 AM
Installing Suse 10 on a Suse 9.3 system silkmaze SUSE / openSUSE 14 10-16-2005 09:16 AM
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 12:39 PM
[SUSE 9.0] anyone succeeded on installing SUSE 9 via FTP? jasperlevink Linux - Distributions 2 11-24-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration