Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

unsaltedrhino

macrumors member
Original poster
May 3, 2006
47
46
Madrid, Spain
Hi all,

I'm trying to compile and install the following source;

http://fwlogwatch.inside-security.de/

Now, I understand that OS X is built on FreeBSD (right?!) which the above is known to run on but I cannot figure out how to do it (only just started to delve into the Unix underpinnings and swamped already)! There isn't a configure script with the source, so I tried navigating to the extracted source folder in the Terminal and typing;

Code:
make && sudo make install

This didn't work but then I noticed in the Makefile that it is set up for Linux, and for FreeBSD you have to uncomment the appropriate lines. So I did this and tried to make again, but this resulted in the following;

Code:
flex -B  -t cisco_ios.l > cisco_ios.c
gcc -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall -I/usr/local/include   -c -o cisco_ios.o cisco_ios.c
In file included from cisco_ios.l:14:
main.h:20:21: error: libintl.h: No such file or directory
make: *** [cisco_ios.o] Error 1
rm cisco_ios.c

Anyone know what I might be doing wrong or does anyone have an idiot proof method to help me install this piece of software??

Thanks in advance!
-d
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
It would appear that you don't have a required library so the code won't compile. OSX has a BSD userland but it is not really built on BSD. It does not have the same libraries installed by default or the same library linking system.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.