This is SIP 4.8.2 for Python 2.6.2 on linux2. The SIP code generator will be installed in /usr/bin. The SIP module will be installed in /usr/lib/python2.6/dist-packages. The SIP header file will be installed in /usr/include/python2.6. The default directory to install .sip files in is /usr/share/sip. The platform/compiler configuration is linux-g++. Creating sipconfig.py... Creating top level Makefile... Creating sip code generator Makefile... Creating sip module Makefile...然後就是make , make install.. 發生error,,,, 所以用 aptitude install 現成的 :p 但是這個版本不夠build PyQt 4.5 ,需要 SIP 4.8.2 以上版本。
2009年8月30日 星期日
安裝 SIP 4.8.2
python configure.py 的output:
2009年8月17日 星期一
Virtualbox 3.0 USB in Debian Lenny
Virtualbox 3.0 (none open-source version) 支援 usb 裝置。
但是裝完後,要設定好 host linux 的 usb 使用權限,Virtualbox 才能正常的 access usb。
但是usb 的權限好像在很多地方設。
最後 follow 下面的文章:
Debian Lenny, VirtualBox USB device
和
Virtualbox USB not working in Debian Lenny
做的事情大概有:
Edit the rules in file /etc/udev/rules.d/91-permissions.rules for Lenny. Change around line 37 to:
不要忘記這個 groupe 是原來不存在的,要新增。
還有修改 /etc/init.d/mountkernfs.sh (line 75),原來是:
* 不要忘記要把 要使用 virtualbox的 user 加到 usbusers groupe 中。
但是裝完後,要設定好 host linux 的 usb 使用權限,Virtualbox 才能正常的 access usb。
但是usb 的權限好像在很多地方設。
最後 follow 下面的文章:
Debian Lenny, VirtualBox USB device
和
Virtualbox USB not working in Debian Lenny
做的事情大概有:
Edit the rules in file /etc/udev/rules.d/91-permissions.rules for Lenny. Change around line 37 to:
# usbfs-like devices
SUBSYSTEM=="usb_device", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usbusers", MODE="0664
重點設定 groupe,並且設定 mode。不要忘記這個 groupe 是原來不存在的,要新增。
還有修改 /etc/init.d/mountkernfs.sh (line 75),原來是:
domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid一樣,加上groupeid 和 access mode:
domount usbfs usbdevfs /proc/bus/usb usbfs onodev,noexec,nosuid, devmode=0664,devgid=46其中 devgid=46的 46 是 usbusers 的 groupe id。
* 不要忘記要把 要使用 virtualbox的 user 加到 usbusers groupe 中。