LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-22-2009, 01:18 PM   #1
samratnikhil
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
honeyd installation problem


Hi all...

This is my first question at LQ.

I tried to install honeyd today but got error as:
dnet-config not found....

When I looked at config.log....it was bcoz of some conftest.c....

I then looked at config.log of libdnet and found that there are some error over there....Log file is attached

Please help me out.....

I have gcc (with c++ preprocessor) installed.....I have ran ldconfig on installation of this library......Please help me out....I have searched it many times on google but no method is solving it.



Quote:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.18-53.el5xen
uname -s = Linux
uname -v = #1 SMP Wed Oct 10 17:06:12 EDT 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1543: checking for a BSD-compatible install
configure:1598: result: /usr/bin/install -c
configure:1609: checking whether build environment is sane
configure:1652: result: yes
configure:1685: checking for gawk
configure:1701: found /bin/gawk
configure:1711: result: gawk
configure:1721: checking whether make sets $(MAKE)
configure:1741: result: yes
configure:1893: checking whether to enable maintainer-specific portions of Makefiles
configure:1902: result: no
configure:1924: checking build system type
configure:1942: result: i686-pc-linux-gnu
configure:1950: checking host system type
configure:1964: result: i686-pc-linux-gnu
configure:2027: checking for gcc
configure:2043: found /usr/bin/gcc
configure:2053: result: gcc
configure:2297: checking for C compiler version
configure:2300: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2303: $? = 0
configure:2305: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
configure:2308: $? = 0
configure:2310: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2313: $? = 1
configure:2336: checking for C compiler default output file name
configure:2339: gcc conftest.c >&5
configure:2342: $? = 0
configure:2388: result: a.out
configure:2393: checking whether the C compiler works
configure:2399: ./a.out
configure:2402: $? = 0
configure:2419: result: yes
configure:2426: checking whether we are cross compiling
configure:2428: result: no
configure:2431: checking for suffix of executables
configure:2433: gcc -o conftest conftest.c >&5
configure:2436: $? = 0
configure:2461: result:
configure:2467: checking for suffix of object files
configure:2488: gcc -c conftest.c >&5
configure:2491: $? = 0
configure:2513: result: o
configure:2517: checking whether we are using the GNU C compiler
configure:2541: gcc -c conftest.c >&5
configure:2547: $? = 0
configure:2551: test -z
|| test ! -s conftest.err
configure:2554: $? = 0
configure:2557: test -s conftest.o
configure:2560: $? = 0
configure:2573: result: yes
configure:2579: checking whether gcc accepts -g
configure:2600: gcc -c -g conftest.c >&5
configure:2606: $? = 0
configure:2610: test -z
|| test ! -s conftest.err
configure:2613: $? = 0
configure:2616: test -s conftest.o
configure:2619: $? = 0
configure:2630: result: yes
configure:2647: checking for gcc option to accept ANSI C
configure:2717: gcc -c -g -O2 conftest.c >&5
configure:2723: $? = 0
configure:2727: test -z
|| test ! -s conftest.err
configure:2730: $? = 0
configure:2733: test -s conftest.o
configure:2736: $? = 0
configure:2754: result: none needed
configure:2772: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2778: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2930: checking for style of include used by make
configure:2958: result: GNU
configure:2986: checking dependency style of gcc
configure:3048: result: none
configure:3066: checking for a BSD-compatible install
configure:3121: result: /usr/bin/install -c
configure:3206: checking for a sed that does not truncate output
configure:3260: result: /bin/sed
configure:3263: checking for egrep
configure:3273: result: grep -E
configure:3289: checking for ld used by gcc
configure:3356: result: /usr/bin/ld
configure:3365: checking if the linker (/usr/bin/ld) is GNU ld
configure:3380: result: yes
configure:3385: checking for /usr/bin/ld option to reload object files
configure:3392: result: -r
configure:3401: checking for BSD-compatible nm
configure:3443: result: /usr/bin/nm -B
configure:3447: checking whether ln -s works
configure:3451: result: yes
configure:3458: checking how to recognise dependent libraries
configure:3658: result: pass_all
configure:3872: checking how to run the C preprocessor
configure:3907: gcc -E conftest.c
configure:3913: $? = 0
configure:3945: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3951: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libdnet"
| #define VERSION "1.11"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3990: result: gcc -E
configure:4014: gcc -E conftest.c
configure:4020: $? = 0
configure:4052: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4058: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libdnet"
| #define VERSION "1.11"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
 
Old 10-22-2009, 01:19 PM   #2
samratnikhil
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Sry..I forgot to mention..I am using RHEL 5.0
 
Old 10-22-2009, 07:24 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
dnet-config not found....
The basic approach is to do : 1) su
2) yum provides */dnet-config

But this particular package is in the rpmforge.repo :
https://rpmrepo.org/RPMforge/Using
.. and after installing the repo, the reply from
'yum provides */dnet-config' is : libdnet-devel

# 'yum -y install libdnet-devel'
will then provide /usr/bin/dnet-config
.....

P.S.: When configure asks for <name>, it usually means
missing package = (lib)<name>-devel
.....

Last edited by knudfl; 10-22-2009 at 07:29 PM.
 
Old 10-23-2009, 07:33 AM   #4
samratnikhil
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the reply.....

I have already installed libdnet....and now I have installed dnet-config in /usr/bin using 'install dnet-config /usr/bin'
and dnet-config is now there in /usr/bin....but now I get a new error....


"addr_cmp in libdnet... configure: error: you need to install a more recent version of libdnet"


Checking config.log again throws me to that confdefs.h error that I have mentioned above....

I do have latest version of libdnet as on sourceforge...
 
Old 10-23-2009, 10:26 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum install honeyd

... installs honeyd-1.5b ( honeyd-1.5b-5.el5.rf.i386.rpm )
+ two dependencies, libevent-1.1a-3.2.1.i386.rpm and
libdnsres-0.1a-4.el5.rf.i386.rpm .

But may be you have no Redhat support ?
If you don't want to pay for support, you will probably
end up with an inconsistent system. The right solution
is to use one of the free versions of Redhat EL.
= CentOS 5.4 ( or Scientific Linux SL 5.3 ).
.....

Which version of honeyd are you trying to build ? ?
.....
 
Old 10-23-2009, 01:32 PM   #6
samratnikhil
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I am trying to build honeyd 1.5c....

Ye I do not have Red Hat support.....and I have to stick to RHEL...
 
Old 10-23-2009, 05:48 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
.. And which old 'libdnet' version did you use ?
.. Better delete all the files, if it is unusable.
# 'make uninstall' may work.
.....
Example i386 packages : (( http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/ ))
wget http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/...-0.1a-4.el5.rf
wget http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm
.....

Or if you want to build the latest = honeyd-1.5c-svn-21 :
http://www.honeyd.org/
http://code.google.com/p/honeyd/source/checkout
svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

wget http://download.fedora.redhat.com/pu...2.fc11.src.rpm
.. edit libevent.spec, line 3 to : Release: 2el5%{?dist}
# rpmbuild -bb libevent.spec
provides libevent-1.4.5-2el5.i386.rpm, libevent-devel-1.4.5-2el5.i386.rpm

cd honeyd-read-only/honeyd/
sh autogen.sh , sh configure , make , # make install
.....

Is your 'architecture' i386 or x86_64 ? ?
And is the installed OS i386 or x86_64 ?
....

Last edited by knudfl; 10-23-2009 at 06:02 PM.
 
Old 10-26-2009, 01:58 AM   #8
samratnikhil
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Ahhh.....

Thanks a lot knudfl.... The problem was with libdnet-devel....Installing its rpm sorted out all other things....will configure it today and let you know...

Thanks again
 
Old 01-31-2011, 11:58 PM   #9
abhiajay84
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
install problem in honey d

hi
i want to install honeyd on my network with back track operating system.while installing with the command apt -get install honeyd reply-come that bad port number.then i try manual installation of honeyd. i have installed libdnet -1.11 and also installed libevent -2.0.10 stable but when i try to install arpd i get the error:- arpd error 0
what so i do so that it will install?
 
  


Reply

Tags
honeyd


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
Having Problems with honeyd lucky_dev36 Linux - General 1 07-22-2006 05:03 AM
Honeyd and NMAP showard Linux - Software 0 04-12-2006 12:09 PM
Installation of HoneyD on Fc3 navinxavier Linux - Software 1 12-01-2004 06:20 PM
Need help on scripts for honeyd aikshin Linux - Security 1 12-16-2003 05:17 PM
Anyone good at honeyd james_cwy Linux - Security 4 11-12-2003 07:31 PM

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

All times are GMT -5. The time now is 06:48 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