[Snort-users] At configure: No such file or directory

H D Moore hdm at ...1714...
Sat May 12 20:37:12 EDT 2001


Your kernel source isnt setup right.  You probably want to recompile your own 
kernel anyways, so grab the latest kernel tarball (2.2.19), maybe some 
security patches (www.openwall.com), untar into /usr/src, mv linux to 
linux-2.2.19, symlink 2.2.19 to linux, cd linux, make mrproper, make 
menuconfig, make deps, make bzImage, make modules, make modules_install, cp 
arch/i386/boot/bzImage /boot/2219, edit lilo.conf, run lilo,  and reboot.

Or, you can just reinstall the linux includes RPM from Red Hat, but thats the 
wimpy way to do it ;)

-HD

On Saturday 12 May 2001 07:10 pm, John Sage wrote:
> I'm having a surprising amount of trouble getting past ./configure
>
>  From configure.log:
>
> In file included from /usr/include/bits/posix1_lim.h:126,
>                   from /usr/include/limits.h:30,
>                   from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/l
> imits.h:117,
>                   from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/s
> yslimits.h:7,
>                   from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/l
> imits.h:11,
>                   from /usr/include/sys/param.h:23,
>                   from configure:1367:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
> In file included from configure:1367:
> /usr/include/sys/param.h:24: linux/limits.h: No such file or directory
> /usr/include/sys/param.h:25: linux/param.h: No such file or directory
> configure: failed program was:
> #line 1365 "configure"
> #include "confdefs.h"
> #include <sys/types.h>
> #include <sys/param.h>
>
> And this sort of problem continues for other files, but it's the same
> issue..
>
> Specs:
>
> snort-1.7
>
> Linux -- 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586 unknown
>
> Basically a box-stock (at least in terms of directory structure..) RHL
> 6.2 install
>
> There *are* an assortment of "limits.h" and the other missing files
> (errno.h socket.h param.h sigcontext.h ioctls.h) here and there, but
> none of them are where configure seems to expect them to be, which is to
> find them under linux/ or under asm/
>
> Any ideas?
>
> What am I missing?
>
> - John
>
> --
> John Sage
> FinchHaven, Vashon Island, WA, USA
> http://www.finchhaven.com/
> mailto:jsage at ...2022...
> And remember: it's spelled l-i-n-u-x, but it's pronounced "Linux"
>
>
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> http://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users




More information about the Snort-users mailing list