Finally made it installed by installing build-essential and linux-headers-`uname -r` first.
thanks everyone. 2009/6/16 Umarzuki Mochlis <[email protected]> > > > 2009/6/16 Maciek Kaliszewski <[email protected]> > >> Umarzuki Mochlis wrote: >> >>> I'm using debian lenny amd64 and vbox 2.2.4 r47978 >>> >>> what i did: >>> i clicked on install guest additon on guest window >>> cd to /media/cdrom0 >>> Ran as root >>> # ./VboxLinuxAdditions-x86.run >>> *the guest is debian sid i386) >>> >>> and i got this message >>> ./VboxLinuxAdditions-x86.run: /bin/sh: bad interpreter: permission denied >>> >>> What should i do? Did i missed anything? >>> >>> What does show: >> >> $ ls -la /bin/sh > > lrwxrwxrwx 1 root root 4 2009-06-15 14:51 /bin/sh -> bash > >> >> >> $ ldd /bin/sh >> > linux-gate.so.1 => (0xb7f99000) > libncurses.so.5 => /lib/libncurses.so.5 (0xb7f5b000) > libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7f57000) > libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7df8000) > /lib/ld-linux.so.2 (0xb7f9a000) > > > >> >> $ mount |grep cdrom0 >> > /dev/hdc on /media/cdrom0 type iso9660 > (ro,noexec,nosuid,nodev,user=umarzuki) > >> >> May be /media/cdrom0 is mounted with noexec then as root try >> >> # mount /media/cdrom0 -o remount,exec >> > this works but then > > Please install the build and header files for your current Linux kernel. > The current kernel version is 2.6.29-2-686 > Please install the GNU compiler. > This system does not seem to have support for OpenGL direct rendering. > VirtualBox requires Linux 2.6.27 or later for this. Please see the log > file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you > still see this message. > Problems were found which would prevent the Guest Additions from > installing. > Please correct these problems and try again. > > /var/log/vboxadd-install.log > > Installing VirtualBox 2.2.4 Guest Additions, built Fri May 29 19:13:34 CEST > 2009 > > Testing the setup of the guest system > > Could not find the Linux kernel header files - the directories > /lib/modules/2.6.29-2-686/build/include and /usr/src/linux/include > do not exist. > Please install the GNU compiler. > Giving up due to the problems mentioned above. > > guess i need to install gcc > >> >> >> Regards >> Maciek Kaliszewski >> >> >> > > > -- > Regards, > > Umarzuki Mochlis > http://gameornot.net > -- Regards, Umarzuki Mochlis http://gameornot.net
_______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
