Peter Ruskin <[EMAIL PROTECTED]> writes:
> For some time now 'linux' and 'asm' have been banished by Mandrake from
> /usr/include. However, if I want to build stuff from source, many apps
> expect them to be there, for example QT-2.3.0 and kde-2.1.1.
>
> I've included the following lines in /etc/rc.d/rc/local to get round this.
> I would like to see it incorporated in initscripts. I know I could
> probably have added extra switches to the ./configure command but these
> rather basic requirements were not documented.
>
> # Ensure linux and asm in /usr/include are from current kernel.
> rm -f /usr/include/asm /usr/include/linux
> ln -s /usr/src/linux-`uname -r`/include/asm /usr/include/asm
> ln -s /usr/src/linux-`uname -r`/include/linux /usr/include/linux
the programs who does that now need to search the include file in
/lib/modules/$(uname -r)/build, it will be like this for all distro
(and BTW: i don't see why QT or KDE need to include any kernel stuff
:-( ).
--
MandrakeSoft Inc http://www.chmouel.org
--Chmouel