Skip to content

Instantly share code, notes, and snippets.

@stravid
Created October 7, 2010 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stravid/615012 to your computer and use it in GitHub Desktop.
Save stravid/615012 to your computer and use it in GitHub Desktop.
Add a /etc/yum.repos.d/CentOS-Testing.repo file providing the followings:
# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*
yum install httpd.i386 httpd-devel.i386 libxml2-devel.i386 libxslt-devel.i386\
openssl-devel.i386 pcre-devel.i386 bzip2-devel.i386 curl-devel.i386\
libjpeg-devel.i386 libpng-devel.i386 freetype-devel.i386 gmp-devel.i386\
libc-client-devel.i386 libmcrypt-devel.i386 mysql-devel.i386 unixODBC-devel.i386\
postgresql-devel.i386 sqlite-devel.i386 aspell-devel.i386 net-snmp-devel.i386 ncurses-devel.i386
./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pspell --with-libexpat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --disable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-wddx --without-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-shmop --enable-calendar --with-mime-magic=/usr/share/file/magic.mime --with-sqlite --with-libxml-dir=/usr --enable-xml --enable-force-cgi-redirect --enable-mbstring=shared --enable-mbregex --with-gd=shared --with-ldap --with-png --with-expat-dir=/usr --with-pcre-regex=/usr --enable-track-vars --enable-trans-sid --enable-yp --enable-memory-limit --enable-dbx --enable-dio --with-system-tzdata --with-mysql --with-mysqli --with-mcrypt --without-odbc --without-bz2 --enable-dom --disable-dba --without-unixODBC --enable-pdo --enable-xmlreader --enable-xmlwriter --disable-cgi --with-apxs2=/usr/sbin/apxs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment