Forums » Appion and Leginon Web tools »
php mrc module on CENTOS release 5 (Final)
Added by Anonymous almost 17 years ago
From CENTOS repos, intall these RPMs
php-5.1.6-5.el5.x86_64.rpm php-common-5.1.6-5.el5.x86_64.rpm php-pdo-5.1.6-5.el5.x86_64.rpm php-cli-5.1.6-5.el5.x86_64.rpm php-mysql-5.1.6-5.el5.x86_64.rpm php-ldap-5.1.6-5.el5.x86_64.rpm php-gd-5.1.6-5.el5.x86_64.rpm php-devel-5.1.6-5.el5.x86_64.rpm
fftw and re2c are not part of CENTOS repos, you can download from:
rpm -Uvh re2c-0.13.1-1.el5.rf.x86_64.rpm rpm -Uvh fftw-2.1.5-4.el5.rf.x86_64.rpm rpm -Uvh fftw-devel-2.1.5-4.el5.rf.x86_64.rpm
cd /usr/include/php/ext/
Download php_mrc_src_xx.tgz from http://emg.nysbc.org/software/mrctools/
tar zxvf php_mrc_src_xx.tgz cd mrc/ phpize ./configure make make install cd modules/ ldd mrc.so libsrfftw.so.2 => /usr/lib64/libsrfftw.so.2 (0x00002aaaaacbc000) libsfftw.so.2 => /usr/lib64/libsfftw.so.2 (0x00002aaaaaeeb000) libc.so.6 => /lib64/libc.so.6 (0x00002aaaab134000) libm.so.6 => /lib64/libm.so.6 (0x00002aaaab483000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
create /etc/php.d/mrc.ini and add:
extension=mrc.so
test the 2 examples at:
http://emg.nysbc.org/software/mrctools/mrc_so.php