LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-19-2017, 12:36 PM   #1
HashMan74
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Rep: Reputation: Disabled
Missing Makefile and build in dynamic-preprocessor directory


Hi all,

I am installing and Configuring Snort on Ubuntu Desktop and Server.

Ubuntu Desktop
I was able to installed Snort on the desktop, but I got stall when trying to navigate to ~/snort_src/snort-2.9.9.0/src/dynamic-preprocessors/build/usr/local/lib/snort_dynamicpreprocessor/

The is no build in the dynamic-preprocessors directory. What do I do at this point?
see attachment.

Ubuntu Server

I was on the path ~/snort_src/snort-2.9.9.0 and ran the command ./Configure --enable-sourcefire the result failed to produce the makefile

I need your help.

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	Path.png
Views:	31
Size:	150.5 KB
ID:	24805   Click image for larger version

Name:	Makefile_Missing.png
Views:	28
Size:	122.9 KB
ID:	24806  
 
Old 04-19-2017, 12:54 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,057
Blog Entries: 1

Rep: Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864
Normally things like that need to be created via the auto tools (autoreconf?). The .am for the Makefile and the .ac for configure normally give it away. The steps should be detailed in the README/INSTALL .txt files if they exist for that source tree. Perhaps dh_autoreconf and friends on debian based distros can simplify things. Although not seeing a ./debian/ for your particular case. In either case the build instructions should be accessible from the source from which you obtained the thing.
 
Old 04-19-2017, 01:59 PM   #3
HashMan74
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks Shadow 7, I am using the official snort installation manual from the snort website and a newbee. Can you please give me the directory for the ReadMe etc files?

Last edited by HashMan74; 04-19-2017 at 02:01 PM.
 
Old 04-19-2017, 02:50 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,057
Blog Entries: 1

Rep: Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864
https://www.snort.org/documents

https://www.snort.org/faq

Looks like most of the README stuff is in the ./doc/ of the parent tree.

$ less ./doc/INSTALL

Otherwise

$ ./configure --help

NOT HERE --- ~/snort_src/snort-2.9.9.0/src/dynamic-preprocessors/build/usr/local/lib/snort_dynamicpreprocessor/

BUT HERE --- ~/snort_src/snort-2.9.9.0/doc/INSTALL

Along with many README's and a few .pdf's.
 
Old 04-19-2017, 04:17 PM   #5
HashMan74
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the direction to the directory. I went through the INSTALL doc and I followed just that as it is in the snort.org website. I was in the ~/snort_src/snort-2.9.9.0 path and ran the command ./configure --enable-sourcefire
 
Old 04-19-2017, 05:54 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
You might be missing some dependencies. Try:
Code:
$ apt-get build-dep snort
and then try to configure snort.
 
Old 04-20-2017, 07:05 PM   #7
HashMan74
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks once more AwesomeMachine, I tried adding some uri to my sources.list file but I cannot determine which uri is needed for this package download.

Last edited by HashMan74; 04-20-2017 at 07:07 PM.
 
Old 04-20-2017, 07:34 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Code:
$ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ saucy universe multiverse"
$ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe multiverse"
But use the version name of your distro, i.e. this one is saucy. I hope this helps.
 
Old 04-20-2017, 08:28 PM   #9
HashMan74
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
I have these:
W: Target sources (InRelease/source/Sources) is configured multiple times in /etc/apt/Sources.list:53 and /etc/apt/Sources.list:54
W: Target sources (InRelease/source/Sources) is configured multiple times in /etc/apt/Sources.list:53 and /etc/apt/Sources.list:55
W: Target sources (universe/source/Sources) is configured multiple times in /etc/apt/Sources.list:68 and /etc/apt/Sources.list:70
W: Target sources (multiverse/source/Sources) is configured multiple times in /etc/apt/Sources.list:68 and /etc/apt/Sources.list:70
E: You must put some 'source' URIs in your sources.list
 
Old 04-20-2017, 11:53 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
OK, well, Chrome Browser can make you get messages like that. But look at the last one. And then run the commands I gave you with the correct version inserted were "saucy" is. That will add the apt sources to /etc/apt/sources.list.

Then edit /etc/apt/sources.list so there is a line that begins with "deb-src" for each line that begins with "deb". Just copy the line and append "-src" to it. Save the file and run:
Code:
$ apt-get update
Then run the apt-get build-dep command as above.
 
Old 01-21-2019, 03:35 PM   #11
ohusain611
LQ Newbie
 
Registered: Jan 2019
Posts: 1

Rep: Reputation: Disabled
Hashman, I am getting the same thing, no 'Build' in the dynamic-preprocessors directory. I think this post is pretty old now, but do you remember getting this resolved, and how you solved it?

[QUOTE=HashMan74;5699297]Hi all,

I am installing and Configuring Snort on Ubuntu Desktop and Server.

Ubuntu Desktop
I was able to installed Snort on the desktop, but I got stall when trying to navigate to ~/snort_src/snort-2.9.9.0/src/dynamic-preprocessors/build/usr/local/lib/snort_dynamicpreprocessor/

The is no build in the dynamic-preprocessors directory. What do I do at this point?
see attachment.
 
  


Reply

Tags
./configure, makefile


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
"ERROR: Failed to initialize dynamic preprocessor: SF_FTPTELNET version 1.2.12 (-1) F chetan rodrigues Linux - Newbie 3 06-24-2019 12:15 AM
[SOLVED] Compiled custom kernel including headers, but 'build' directory is missing. systemlordanubis Linux - Kernel 4 02-08-2017 06:35 AM
Snort Dynamic Preprocessor Error - Undefined Symbol: LibVersion cod3r Programming 2 08-08-2015 04:47 AM
"ERROR: Failed to initialize dynamic preprocessor: SF_FTPTELNET version 1.2.12 (-1) F chetan rodrigues Linux - Newbie 0 09-08-2011 01:12 AM
Missing build directory saga. furrypop Linux - Software 1 06-17-2006 02:32 PM

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

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