dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-help] Compiling dazuko with kernel-hugemem


From: Dimitri Yioulos
Subject: Re: [Dazuko-help] Compiling dazuko with kernel-hugemem
Date: Mon, 15 Oct 2007 13:09:29 -0400
User-agent: KMail/1.9.3

See in-line comment:

On Monday 15 October 2007 12:53 pm, Dimitri Yioulos wrote:

> On Monday 15 October 2007 10:59 am, Hussam Al-Tayeb wrote:

> > On Mon, 2007-10-15 at 10:52 -0400, Dimitri Yioulos wrote:

> > > On Monday 15 October 2007 10:42 am, Hussam Al-Tayeb wrote:

> > > > On Mon, 2007-10-15 at 10:30 -0400, Dimitri Yioulos wrote:

> > > > > Hello all.

> > > > >

> > > > >

> > > > >

> > > > > This past weekend, I added memory to one of my CentOS 3 servers.

> > >

> > > In

> > >

> > > > > order for the memory to be used correctly, I had to install and

> > >

> > > use

> > >

> > > > > kernel-hugemem (2.4.21-52.ELhugemem). After an exhaustive search,

> > >

> > > I'm

> > >

> > > > > unable to come up with the development libraries for

> > >

> > > kernel-hugemem. So,

> > >

> > > > > when I try to compile dazuko, it fails with the following:

> > > > >

> > > > >

> > > > >

> > > > > address@hidden dazuko-2.3.4]# ./configure

> > > > >

> > > > > checking host system type... Linux

> > > > >

> > > > > checking for make utility... ok (make)

> > > > >

> > > > > checking for C compiler... ok (cc)

> > > > >

> > > > > kernel source in /lib/modules/2.4.21-52.ELhugemem/source... no

> > > > >

> > > > > kernel build source in /lib/modules/2.4.21-52.ELhugemem/build...

> > >

> > > no

> > >

> > > > > kernel build source in /usr/src/linux... no

> > > > >

> > > > > kernel source in /usr/src/linux... no

> > > > >

> > > > > error: no kernel source files found

> > > > >

> > > > >

> > > > >

> > > > > I use dazuko in conjunction with clamav's on-access scanning, so

> > > > >

> > > > > overcoming this stumbling block is very important. Any help would

> > >

> > > be

> > >

> > > > > greatly appreciated.

> > > > >

> > > > >

> > > > >

> > > > > Thanks.

> > > > >

> > > > >

> > > > >

> > > > > Dimitri

> > > >

> > > > try symlinking /lib/modules/2.4.21-52.ELhugemem/build tp the source

> > >

> > > code

> > >

> > > > of you installed kernel.

> > >

> > > Hussam,

> > >

> > > Thanks for the quick response! /lib/modules/2.4.21-52.ELhugemem/build

> > >

> > > symlinked to the source code of the installed kernel, as per the

> > > following:

> > >

> > > lrwxrwxrwx 1 root root 35 Oct 15 08:52 build

> > > -> ../../../usr/src/linux-2.4.21-52.EL

> > >

> > > Now what?

> > >

> > > Dimitri

> > >

> > >

> > > --

> > > This message has been scanned for viruses and

> > > dangerous content by MailScanner, and is

> > > believed to be clean.

> >

> > Now try running the configure script again.

>

> Firstly, thanks to Hussam and John for being there.

>

> Actually, this was kinda my bad.  I installed hugemem yesterday, but

> restarted my server this morning.  Both the kernel and hugemem versions

> were 2.4.21-52.EL.  

Er, make that 2.4.21-50.EL. More coffee, please.

> Then, I tried to recompile dazuko, with the results I

> mentioned above.  However, I notice via up2date that new kernel versions

> were available, so in installed those, including kernel-2.4.21-52.EL and

> kernel-hugemem-2.4.21-52.EL.  When I compared /lib/modules/2.4.21-50.EL and

> /lib/modules/2.4.21-52.EL, I noticed that a lot was missing from the

> former.  So, I compiled dazuko thusly:

>

> ./comfigure --kernelsrcdir=/usr/src/linux-2.4.21-52.EL && more

>

> and ... joy!  Of course, dazuko won't work until I reboot using 2.4.21-52,

> but that's certainly OK.  I have no idea what happened to the guts

> of /lib/modules/2.4.21-50.EL, cauing the dazuko compile to fail, but I'm

> good now (I think).

>

> Hope you all understood my explanation.

>

> Thanks again.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]