LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-30-2004, 02:40 PM   #1
gensis
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware, Suse, Red Hat, Fedora
Posts: 28

Rep: Reputation: 15
Things Learned from compiling tripwire with GCC3


Things Learned from compiling tripwire 2.3.1

The problem existed when compeiling tripwire with gcc3, often there is a chance that it would not compile, The solution is that there is a patch associated with the program. GCC3 is the main factor the failure of the compiling against the source. To get around that, patches have been made to directly patch the system itself.
To check to see which version of GCC you have just type gcc -v

Personally speaking, The following commands has worked for me

patch -Np1 -i ../tripwire-2.3.1-2-gcc3-build-fixes.patch
rm -rf src/STLport*
touch src/STLport_r src/STLport_d
make release
Navigate into the /install folder, cp or mv the install.* (install.cfg and install.sh) into the main tripwire directory
./install.sh and your good to go

Credits
http://www.iu.hio.no/teaching/materi...e/patches.html
http://www.linuxfromscratch.org/blfs.../tripwire.html

pardon my sp, Have agood day.
 
Old 07-01-2004, 01:59 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for sharing. I'm sure (future) tripwire users will find this interesting.
While I'm on the mike let me also promote the other Usual Suspects: Aide and Samhain. No major probs compiling there. Both Aide and Samhain are mature, are being developed and maintained actively and have a support community.
 
Old 07-02-2004, 01:17 PM   #3
gensis
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware, Suse, Red Hat, Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks Spawn for the repely, just that when i was having problems not alot of pages had documented this issue >.<. I posted here hoping some one will do a search and find the answer. And yes i am actually trying to install AIDE currently on my laptop. Currently having problems with the dreaded mhash issue.

Thx for the feed back and have a nice day ^_^
 
Old 07-03-2004, 02:01 PM   #4
gensis
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware, Suse, Red Hat, Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
Things Learned from compiling AIDE0.10 and Libmhash

Problems installed AIDE
Status Aide Installed:

Tried installing AIDE version 0.10, did a ./configure and an error will come up as
“checking for mhash_get_block_size in -lmash ... no”
“configure ' error' you must have libmhash properly installed”

Did a lot of Googleing and mail list reading, so i subscrible to the mailing list and a great person named Mike Helped me with the problem.

Here is a direct quote

“By default, the aide build system will produce a statically-linked
binary. It's possible that Slackware has installed only the shared
mhash
libraries; check if you have a libmhash.a file. /usr/lib/

If not, you'll need to build libmhash with ./configure –enable-static.”
Credit Mike on aide-deve list
I just added the /usr/lib and ./configure part ><

Good luck to all the future aiders ^_^

Gensis
 
Old 07-03-2004, 02:40 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Hmm. I planned on telling you just that in the other thread, but you solved it yourself. Good. BTW, You could have added it to the other thread, would've kept things together. If you've got no problem with it I'll just merge them.
 
Old 07-03-2004, 04:19 PM   #6
gensis
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware, Suse, Red Hat, Fedora
Posts: 28

Original Poster
Rep: Reputation: 15
cool with me ^^ thx spawn
 
  


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
has any one upgraded from gcc3.3.4 to gcc3.4.3? mojarron Slackware 2 03-20-2005 10:44 AM
Common Things Kernel Compiling "Breaks" Skazi Linux - General 2 08-29-2004 09:09 AM
Compiling Things turni2 Linux - Newbie 2 11-07-2003 08:03 AM
tripwire reports /usr/sbin/tripwire changed alfaalfabeta Linux - Security 5 07-22-2003 05:52 PM
What was the first language you learned? inkedmn Programming 39 06-28-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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