[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-audit
Subject:    Re: Linux audit for Debian
From:       "Mauricio Lin" <mauriciolin () gmail ! com>
Date:       2006-02-22 16:41:42
Message-ID: 3f250c710602220841j492e85cepff097c19c8b45306 () mail ! gmail ! com
[Download RAW message or body]

Hi all,

I managed to build the syscall auditing tool on my Debian system.

Basically I downloded the glibc-kernheaders-3.0-5.2.i386.rpm from
ftp://rpmfind.net/linux/fedora/core/development/i386/Fedora/RPMS/glibc-kern=
headers-3.0-5.2.i386.rpmand
I converted it to tgz format as:

# alien -t glibc-kernheaders-3.0-5.2.i386.rpm

Afterwards the glibc-kernheaders-3.0.tgz is generated in your current
directory.

You can extract it in your current directory as:

# tar xzvf glibc-kernheaders-3.0.tgz

the extracted files are located in ./usr/include/ (under you current
directory).  There are 3 directories under ./usr/include, so copy them
manually to /usr/local/include/ (system directory).

Assuming you are under the directory you extracted the tgz file, do
something like:

cp -r usr/include/* /usr/local/include (Do not confuse with your system
/usr/include)

Now the 'make' can be done normally.

BR,

Mauricio Lin.

On 2/21/06, Steve Grubb <sgrubb@redhat.com> wrote:
>
> On Tuesday 21 February 2006 17:19, Mauricio Lin wrote:
> > BTW, Is there any restriction about the version of kernel headers?
>
> Usually the kernel headers that user space uses are "sanitized" kernel
> headers
> and not the kernel's copy. For us, they are in the glibc-kernheaders
> package.
> I do not know how Debian does it...maybe someone else can help you.
>
> -Steve
>

[Attachment #3 (text/html)]

Hi all,<br>
<br>
I managed to build the syscall auditing tool on my Debian system.<br>
<br>
Basically I downloded the glibc-kernheaders-3.0-5.2.i386.rpm from
<a href="ftp://rpmfind.net/linux/fedora/core/development/i386/Fedora/RPMS/glibc-kernhe \
aders-3.0-5.2.i386.rpm">ftp://rpmfind.net/linux/fedora/core/development/i386/Fedora/RPMS/glibc-kernheaders-3.0-5.2.i386.rpm</a>
 and I converted it to tgz format as:<br>
<br>
# alien -t glibc-kernheaders-3.0-5.2.i386.rpm<br><br>
Afterwards the glibc-kernheaders-3.0.tgz is generated in your current directory.<br>
<br>
You can extract it in your current directory as:<br>
<br>
# tar xzvf glibc-kernheaders-3.0.tgz<br>
<br>
the extracted files are located in ./usr/include/ (under you current
directory).&nbsp; There are 3 directories under ./usr/include, so copy
them manually to /usr/local/include/ (system directory).<br>
<br>
Assuming you are under the directory you extracted the tgz file, do something \
like:<br> <br>
cp -r usr/include/* /usr/local/include (Do not confuse with your system \
/usr/include)<br> <br>
Now the 'make' can be done normally.<br>
<br>
BR,<br>
<br>
Mauricio Lin.<br>
<br><div><span class="gmail_quote">On 2/21/06, <b class="gmail_sendername">Steve \
Grubb</b> &lt;<a href="mailto:sgrubb@redhat.com">sgrubb@redhat.com</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Tuesday 21 February \
2006 17:19, Mauricio Lin wrote:<br>&gt; BTW, Is there any restriction about the \
version of kernel headers?<br><br>Usually the kernel headers that user space uses are \
&quot;sanitized&quot; kernel headers <br>and not the kernel's copy. For us, they are \
in the glibc-kernheaders package.<br>I do not know how Debian does it...maybe someone \
else can help you.<br><br>-Steve<br></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic