On Sunday 08 April 2001 17:51, Chmouel Boudjnah wrote:
> 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
>
> :-( ).
Thanks chmou, QT needs limits.h and error.h - I've forgotten what kde was
looking for, maybe something to do with detecting QT_VERSION >= 222?
--
----------------------------------------------------
Linux Mandrake release 7.2 (Odyssey) for i586
KDE 2.1
Linux 2.2.17-27mdkWin4Lin, Uptime 3 hours 32 minutes
----------------------------------------------------