LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2010, 01:20 PM   #1
ababil151
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 0
Question Nepenthes installation error


Hay Guys,,


i really need your help...,
i installing nepenthe 0.2.2 with my opensuse 11.2 machine and i already installed libmagic,libcurl,PCRE and GNU 4.4

but when i try to create it shown this error

linux-ki5g:/home/ababil/nepenthes-0.2.2 # make
make all-recursive
make[1]: Entering directory `/home/ababil/nepenthes-0.2.2'
Making all in nepenthes-core
make[2]: Entering directory `/home/ababil/nepenthes-0.2.2/nepenthes-core'
Making all in src
make[3]: Entering directory `/home/ababil/nepenthes-0.2.2/nepenthes-core/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I ../.. -Wall -Werror -D _GNU_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -MT Config.o -MD -MP -MF ".deps/Config.Tpo" -c -o Config.o Config.cpp; \
then mv -f ".deps/Config.Tpo" ".deps/Config.Po"; else rm -f ".deps/Config.Tpo"; exit 1; fi
In file included from Config.cpp:34:
../include/Config.hpp: In member function ‘bool nepenthes::confltstr:perator()(const char*, const char*) const’:
../include/Config.hpp:67: error: ‘strcmp’ was not declared in this scope
Config.cpp: In member function ‘virtual nepenthes::ConfigItem* nepenthes::Config::findKey(const char*)’:
Config.cpp:79: error: ‘strdup’ was not declared in this scope
Config.cpp: In member function ‘virtual void nepenthes::Config::load(const char*)’:
Config.cpp:155: error: ‘strerror’ was not declared in this scope
Config.cpp:168: error: ‘strerror’ was not declared in this scope
Config.cpp:174: error: ‘strerror’ was not declared in this scope
Config.cpp:184: error: ‘strerror’ was not declared in this scope
Config.cpp: In member function ‘virtual char* nepenthes::Config::terminateString(char*)’:
Config.cpp:659: error: ‘strstr’ was not declared in this scope
Config.cpp:662: error: ‘strstr’ was not declared in this scope
Config.cpp:670: error: ‘strlen’ was not declared in this scope
Config.cpp:671: error: ‘memset’ was not declared in this scope
make[3]: *** [Config.o] Error 1
make[3]: Leaving directory `/home/ababil/nepenthes-0.2.2/nepenthes-core/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ababil/nepenthes-0.2.2/nepenthes-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ababil/nepenthes-0.2.2'
make: *** [all] Error 2


any idea why like this?
some people said it because of gcc compiler version,if yes how to fix it
 
Old 09-24-2010, 03:21 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Nepenthes-0.2.2 , Suse 11.2

Quote:
.. gcc compiler version, if yes how to fix it
# zypper in gcc41-c++
exit
cd nephentes-0.2.2/ && export CC=gcc-4.1 CXX=g++-4.1 && ./configure
&& make ........... Old software (2006) requires an old compiler.


Or :
Patching to use a later compiler :
http://packages.debian.org/unstable/net/nepenthes
http://ftp.de.debian.org/debian/pool....2.2-6.diff.gz
> nepenthes_0.2.2-6.diff.gz :
zcat nepenthes_0.2.2-6.diff.gz | patch -p0
.. and find the patches in (nepenthes-0.2.2/)debian/patches/ .
..
 
1 members found this post helpful.
  


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
detecting infected hosts, honeypots, wireshark, nepenthes qrange Linux - Security 10 09-14-2010 04:20 AM
Problems about install Nepenthes on Ubuntu glg Linux - Software 19 09-04-2009 03:05 AM
Nepenthes: low interaction honeypots glg Linux - Security 3 08-19-2009 05:03 AM
Nepenthes: low interaction honeypots OlRoy Linux - Security 8 03-18-2007 05:25 PM


All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration