LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-23-2015, 09:24 PM   #1
Naaren82
LQ Newbie
 
Registered: Feb 2015
Posts: 10

Rep: Reputation: Disabled
Problem with Honeyd Installation during "make" in kali linux


Hello there,
First of all thank you for making me a part of this forum.
Secondly, here is the problem..
I am facing this problem in honeyd installation during "make"

root@kali:~/Desktop/Narayan/honeyd-1.5c# sudo make
make all-recursive
make[1]: Entering directory `/root/Desktop/Narayan/honeyd-1.5c'
Making all in .
make[2]: Entering directory `/root/Desktop/Narayan/honeyd-1.5c'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -Wall -g -DPATH_HONEYDINCLUDE="\"/usr/local/include/honeyd\"" -DPATH_HONEYDDATA="\"/usr/local/share/honeyd\"" -DPATH_HONEYDLIB="\"/usr/local/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" -DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"\"" -c honeyd.c
In file included from honeyd.c:97:0:
tagging.h:89:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
tagging.h:89:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
In file included from stats.h:36:0,
from honeyd.c:98:
./compat/sha1.h:23:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:23:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:26:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:28:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:30:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:32:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:35:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
./compat/sha1.h:35:3: warning: ‘__bounded__’ attribute directive ignored [-Wattributes]
make[2]: *** [honeyd.o] Error 1
make[2]: Leaving directory `/root/Desktop/Narayan/honeyd-1.5c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/Narayan/honeyd-1.5c'
make: *** [all] Error 2


I found a similar thread in this forum as well to solve the above problem by using "apt-get install honeyd" but didnt quite worked for me.

root@kali:~/Desktop/Narayan/honeyd-1.5c# apt-get install honeyd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package honeyd



I tried researching but couldnt find any solutions. Moreover, I am really a newbie at Kali Linux and other debians as well.
I would appreciate if somone could help me.
Thank you.
 
Old 02-24-2015, 07:40 AM   #2
paladin.michael
Member
 
Registered: Jun 2011
Location: Danbury, CT, USA
Distribution: Kubuntu, Slackware, Debian, FreePBX
Posts: 75

Rep: Reputation: 23
Well, Naaren82, you got farther than I did with the manual compile, I kept getting stuck with the configure script.

It turns out the honeyd package is in the debian squeeze repository but not the kali ones. Fortunately, since Kali is debian based, you can add a debian repository to the sources.list and install it using apt. It gets the honeyd-1.5c version

After finding the package in the repositories I found specific instructions here: http://stackoverflow.com/questions/2...ge-honeyd-kali

Essentially, edit /etc/apt/sources.list with your favorite text editor and add one of the squeeze repository mirrors,

for example add the following line if you're in the US:
deb http://ftp.us.debian.org/debian squeeze main

after saving this, I was able to successfully install via apt-get install honeyd

You can probably find closer mirrors by going to this page, clicking on the architecture you want at the bottom in the download honeyd section and replacing ftp.us.debian.org/debian in the line with one listed that's closer to you
https://packages.debian.org/squeeze/honeyd

Please note that while dependencies are automatically handled by apt after adding the repository to the sources.list file, manually downloading the deb file and trying to install with it failes due to dependencies, so you're better off just using the repository.
 
Old 02-25-2015, 04:26 AM   #3
Naaren82
LQ Newbie
 
Registered: Feb 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks a lot..
and it did worked. through "apt-get"
however I would love to solve that solution during "make" about the honeyd.0 error. i tried locating the file but didnt find it. Is there anything that I am doing wrong or left any commands in between??
 
Old 02-25-2015, 09:25 AM   #4
Naaren82
LQ Newbie
 
Registered: Feb 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
thanks a lot..
that really worked .
however I still wish to understand the "make" script problem.
Anyways.. thanks a lot..
will disturb you again if encountered another problem.
 
  


Reply



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
New MPICH2 installation "interfering" with "make", cant compile fortran programs shitij90 Programming 1 07-28-2011 09:40 AM
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 09:16 PM
window maker "make" / "make install" problem xiekke Fedora 2 08-08-2007 10:55 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
problem in "make" during xine installation b0nd Linux - Newbie 3 01-28-2005 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 PM.

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