note

[トップ][一覧][最近の更新]

しばらく放置していた為、色々と分からなくなっていたので、一旦仕切り直す事にした。



インストールメモ

zeromq-2.1.2

wget http://download.zeromq.org/zeromq-2.1.2.tar.gz
tar xvfz zeromq-2.1.2.tar.gz
cd zeromq-2.1.2
export CFLAGS="-O2 -DZMQ_FORCE_POLL" CXXFLAGS="-O2 -DZMQ_FORCE_POLL"
./configure
nice make all check
su
make install
ldconfig -v

よくわからないが、うちの環境ではepollがちゃんと動かないようなので、強制的にepollを無効にした。

gcc-4.5.2

wget http://ftp.gnu.org/gnu/gmp/gmp-5.0.1.tar.gz
tar xvfz gmp-5.0.1.tar.gz
cd gmp-5.0.1
./configure \
--prefix=/usr \
--with-gnu-ld \
--build=i686-uboaware-linux \
--host=i686-uboaware-linux
su
nice make all check install
wget http://ftp.gnu.org/gnu/mpfr/mpfr-3.0.0.tar.gz
tar xvfz mpfr-3.0.0.tar.gz
cd mpfr-3.0.0
./configure \
--prefix=/usr \
--build=i686-uboaware-linux
su
nice make all check install
wget http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz
tar xvfz mpc-0.9.tar.gz
cd mpc-0.9
./configure \
--build=i686-uboaware-linux
su
nice make all check install
ldconfig -v
wget http://ftp.gnu.org/gnu/autogen/5.11.8/autogen-5.11.8.tar.gz
tar xvfz autogen-5.11.8.tar.gz
cd autogen-5.11.8
./configure \
--prefix=/usr \
--with-gnu-ld \
--build=i686-uboaware-linux
nice make all check
su
make install
wget http://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2
tar xvfj gcc-4.5.2.tar.bz2
cd gcc-4.5.2
mkdir objdir
cd objdir
../configure \
--prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/man \
--infodir=/usr/info \
--enable-shared \
--enable-bootstrap \
--enable-threads=posix \
--enable-checking=release \
--enable-__cxa_atexit \
--enable-clocale=gnu \
--with-system-zlib \
--disable-libunwind-exceptions \
--enable-libssp \
--with-gnu-ld \
--verbose \
--disable-nls \
--enable-languages=c,c++ \
--build=i686-uboaware-linux
su
nice make bootstrap all check install
ldconfig -v

guile-2.0.0

wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz
tar xvfz libunistring-0.9.3.tar.gz
cd libunistring-0.9.3
./configure --enable-threads=posix 
nice make all check
su
make install
wget ftp://sourceware.org/pub/libffi/libffi-3.0.9.tar.gz
tar xvfz libffi-3.0.9.tar.gz
cd libffi-3.0.9
./configure  --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static \
--mandir=/usr/man \
--infodir=/usr/info \
--program-prefix= \
--program-suffix= \
--build=i686-uboaware-linux
nice make all check
su
make install
ldconfig -v
wget http://ftp.gnu.org/gnu/guile/guile-2.0.0.tar.gz
tar xvfz guile-2.0.0.tar.gz
cd guile-2.0.0
export BDW_GC_CFLAGS="-O2 -DUSE_PTHREAD_SPECIFIC" BDW_GC_LIBS="-lgc"
export CFLAGS="-O2 -DUSE_PTHREAD_SPECIFIC"
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--infodir=/usr/info \
--mandir=/usr/man \
--without-threads \
--build=i686-uboaware-linux
nice make all check
su
make install

gc6.8

wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz
tar xvfz gc-7.1.tar.gz
cd gc-7.1
export CFLAGS="-O2 -DUSE_PTHREAD_SPECIFIC"
./configure --enable-threads=pthreads
nice make all check
su
make install
ldconfig -v

binutils-2.21

wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.gz
tar xvfz binutils-2.21.tar.gz
cd binutils-2.21
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/man \
--infodir=/usr/info \
--with-docdir=/usr/doc/binutils-2.21 \
--disable-initfini-array \
--enable-shared \
--enable-multilib \
--enable-64-bit-bfd \
--enable-plugins \
--enable-threads \
--disable-nls \
--enable-targets=i686-uboaware-linux \
--build=i686-uboaware-linux
su
nice make all check install

coreutils-8.10

wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.10.tar.gz
tar xvfz coreutils-8.10.tar.gz
cd coreutils-8.10
./configure \
--prefix=/usr \
--bindir=/bin \
--mandir=/usr/man \
--infodir=/usr/info \
--sysconfdir=/etc \
--libdir=/usr/lib \
--without-gmp \
--enable-threads=posix \
--disable-nls \
--target=i686-uboaware-linux \
--host=i686-uboaware-linux
su
nice make all install

delegate9.9.7

wget 'ftp://anonymous@ftp.delegate.org/pub/DeleGate/delegate9.9.7.tar.gz'
tar xvfz delegate9.9.7.tar.gz
cd delegate9.9.7
make ADMIN="anonymous@localhost"
su
install -s src/delegated /usr/local/bin
src/delegated -Fesign -w /usr/local/bin/delegated
mkdir -p /var/lib/delegate

zeromq-2.0.10

wget http://download.zeromq.org/zeromq-2.0.10.tar.gz
tar xvfz zeromq-2.0.10.tar.gz
cd zeromq-2.0.10
./configure
nice make all check
su
make install
ldconfig -v

zsh-4.3.10

tar xvfj zsh-4.3.10.tar.bz2
cd zsh-4.3.10
./configure --disable-locale --enable-function-subdirs --enable-maildir-support --enable-multibyte
nice make all check
su
make install

make check 時に、以下のエラーが出た。

./C02cond.ztst: starting.
This test takes two seconds...
Test ./C02cond.ztst failed: bad status 1, expected 0 from:
  print -u $ZTST_fd 'This test takes two seconds...'
  sleep 2
  cat unmodified
  touch newnewnew
  if [[ $OSTYPE == "cygwin" ]]; then
    print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
    true
  elif [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]]; then
    print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)"
    true
  else
    [[ -N newnewnew && ! -N unmodified ]]
  fi
Was testing: -N cond
./C02cond.ztst: test failed.
The following may (or may not) help identifying the cause:
  This test can fail on NFS-mounted filesystems as the access and
  modification times are not updated separately.  The test will fail
  on HFS+ (Apple Mac OS X default) filesystems because access times
  are not recorded.  Also, Linux ext3 filesystems may be mounted
  with the noatime option which does not update access times.
  Failures in these cases do not indicate a problem in the shell.

Also, Linux ext3 filesystems may be mounted with the noatime option which does not update access times.

との事で、確かにnoatimeオプションでmountしているので、このエラーは気にしない事にした。

git-1.7.3.4

tar xvfj git-1.7.3.4.tar.bz2
cd git-1.7.3.4
./configure
nice make all test
su
make install
vim /etc/rc.d/rc.iptables
# ${IPT} -A outserv -o ${IF} -p tcp --dport 9418 -m state --state NEW -j ACCEPT # git
/etc/rc.d/rc.iptables

予定

最近の大きな変更


最終更新 : 2011/03/13 01:52:58 JST