Good idea, I think

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Peter Ruskin
Gesendet: Sonntag, 8. April 2001 17:36
An: [EMAIL PROTECTED]
Betreff: [Cooker] Suggestion for initscripts


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
--
              ----------------------------------------------------
                 Linux Mandrake release 7.2 (Odyssey) for i586
                                    KDE 2.1
              Linux 2.2.17-27mdkWin4Lin, Uptime 0 hours 59 minutes
              ----------------------------------------------------



Reply via email to