[Snort-users] At configure: No such file or directory
jsage at ...2022...
Sat May 12 21:27:44 EDT 2001
Actually, I was kinda in the process of putting 2.4.x on, but that got
put off a bit until I finish building another user space box, and have
nothing but firewall stuff on my firewall box, which is where I was
trying to install Snort.
H D Moore wrote:
> 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 ;)
Yeah, that's what I kind of surprised about: it seems surprising that stuff
isn't where it's supposed to be, except that Red Hat's famous for that...
Wait! I'd renamed linux linux_old to keep the 2.2.14 kernel when I thought
I was gonna be putting on the 2.4.x kernel right away -- about four weeks ago
-- and had forgotten about it completely!
Thanks for responding and helping me think through the kernel compile process and
making me remember what I'd done!
mv linux_old linux fixed everything!
Once again, There's Always An Answer(tm) ;-)
FinchHaven, Vashon Island, WA, USA
mailto:jsage at ...2022...
And remember: it's spelled l-i-n-u-x, but it's pronounced "Linux"
> 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/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
>> 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
More information about the Snort-users