tar.bz2 : bzip2 -dc filename | tar xvf -
tar.gz : tar zxvf foo.tar.gz
2011/05/06
2011/05/05
install on linux
0. chmod 775 configure
1. ./configure
create Makefile
2. make
if compile error is occured, I add environment param to configure.
3. make install
1. ./configure
create Makefile
2. make
if compile error is occured, I add environment param to configure.
3. make install
gcc / glibc
./glibc-2.12.2/configure --prefix=/usr/glibc
configure: error: gcc must provide the <cpuid.h> header
<cpuid.h> is only provided by gcc 4.3 or higher
http://gcc.gnu.org/install/configure.html
configure: error: gcc must provide the <cpuid.h> header
<cpuid.h> is only provided by gcc 4.3 or higher
http://gcc.gnu.org/install/configure.html
install git : linux(centOS)
I can't install "git" by using yum on CentOS.
Because the package "git" is not in yum "default" repository.
1. add 2 file
/etc/yum.repos.d/git.repo
-----
[git]
name=Base git repository
baseurl=http://www.kernel.org/pub/software/scm/git/RPMS/$basearch
enabled=1
gpgcheck=0
----
/etc/yum.repos.d/rpmforge.repo
----
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
enabled = 0
gpgcheck = 0
----
2. if checksum error is occurred,
#yum update
http://www.kernel.org/pub/software/scm/git/RPMS/i386/repodata/primary.xml.gz: [Errno -3] Error performing checksum
- download site
http://pkgs.org/centos-5-rhel-5/atrpms-bleeding-i386/python-hashlib-20081119-3.i386.rpm.html
2-1. wget http://dl.atrpms.net/el5-i386/atrpms/bleeding/python-hashlib-20081119-3.i386.rpm
2-2. rpm -ivh python-hashlib-20081119-3.i386.rpm
reference : http://d.hatena.ne.jp/miau/20100404/1270384404
3. yum install git
3-1. yum install git --enablerepo=rpmforge
3-2. git --version
centos sudo & visudo
We use CentOS in our company.
(BOO!)
** sudo
edit /etc/sudoers
username ALL=(ALL) ALL
** visudo
where is this command in CentOS ?
(BOO!)
** sudo
edit /etc/sudoers
username ALL=(ALL) ALL
** visudo
where is this command in CentOS ?
2011/04/09
startup : kinect hacks for windows
1. Download & Install 4 files.
1-1. OpenNI
- OpenNI Unstable Build for Windows 32bit v1.1.0.41 Development Edition
1-1. OpenNI
- OpenNI Unstable Build for Windows 32bit v1.1.0.41 Development Edition
http://www.openni.org/downloadfiles/opennimodules/ -> OpenNI Binaries ->
http://www.openni.org/downloadfiles/opennimodules/2-openni-binaries -> Latest Unstable ->
1-4. Microsoft SDK
3. Edit setting 1 file of OpenNI & 3 files of PrimeSense.
C:\Program Files\OpenNI\Data\SampleConfig.xml
OpenNI-Win32-1.1.0.41-Dev.msi
1-2. NITE
- PrimeSense NITE Unstable Build for Windows 32bit v1.3.1.5 Development Edition
http://www.openni.org/downloadfiles/opennimodules/ -> OpenNI Compliant Middleware Binaries
http://www.openni.org/downloadfiles/opennimodules/12-openni-compliant-middleware-binaries -> Latest Unstable
NITE-Win32-1.3.1.5-Dev.msi
1-3. Kinect Sensor Driver for Windows
- Download avin2/sensorKinect
- Download avin2/sensorKinect
https://github.com/avin2/SensorKinect
-- install Driver when the PC is connected with Kinect
./Platform/Win32/Driver
-- install Driver when the PC is connected with Kinect
./Platform/Win32/Driver
-- memo : follows is not NITE.
./Bin/SensorKinect-Win-OpenSource32-5.0.1.msi
1-4. Microsoft SDK
2. Reboot
3. Edit setting 1 file of OpenNI & 3 files of PrimeSense.
C:\Program Files\OpenNI\Data\SampleConfig.xml
登録:
投稿 (Atom)

