Forums » Software Installation »
"fftw" fail in the displayment of mrc file
Added by Wei Ding over 11 years ago
Dear all,
I am intending to install webserver in my computer, but When I run "php -q ex2.php " in the test directory, an error happened:
"Segmentation fault (core dumped)"
But if I run "php -q ex1.php | display", everything is ok!
As we know,the different between ex1.php and ex2.php is ex1.php call "fftw" instead of "gd". So I believe there are something wrong in fftw.
3 fftw program can be found in my computer:
"
fftw-devel-3.2.1-3.1.el6.x86_64
fftw-3.2.1-3.1.el6.x86_64
fftw-static-3.2.1-3.1.el6.x86_64
"
And I compile the php_mrc-5.3 in directory "myami-17828/programs/php_mrc-5.3", no error reported.
Can everyone help me to solve this problem? And Dose anyone know how to check fftw?
Thank you for your time!
Wei
Replies (4)
RE: "fftw" fail in the displayment of mrc file - Added by Anchi Cheng over 11 years ago
Please specify the version you are trying to install and the OS.
fftw website describes tests it performs during and after installation.
However, your description of your setup such as el6 and the attempt to use php_mrc-5.3 indicates that you have php 5.3 on your system. php-mrc does not work with php 5.3 despite our attempt of php_mrc-5.3. We will remove that from our repository to avoid confusion.
If your system has php 5.3, you will need redux. Search this forum and wiki to find relevant information on that.
RE: "fftw" fail in the displayment of mrc file - Added by Wei Ding over 11 years ago
Dear all,
I uninstall php 5.3 and install a old version 5.2.3.But a new error occur. When I test gd in myami/programs/php_mrc folder
php -q ex1.php
An error outputted:
“php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mrc.so: undefined symbol: gdImageCreateTrueColor”
But I check the gd package by "rpm -aq | grep gd", a list gp.rpm can be found
gd-devel-2.0.35-11.el6.x86_64
gd-progs-2.0.35-11.el6.x86_64
gd-2.0.35-11.el6.x86_64
php-gd-5.3.3-23.el6_4.x86_64
My OS is Red Hat Enterprise Linux Server release 6.3
The version of myami is 2.2.0
Thank you for your time.
Wei
RE: "fftw" fail in the displayment of mrc file - Added by Anchi Cheng about 11 years ago
numextension is part of myami download. Please use svn check out to get the version you want, it makes updating bug fixes easier.
Download_Appion_Files
When you continue on that you will find system check for supporting packages and how to install the various subpackages myami included for Leginon/Appion.
The same wiki also states that php-mrc is for pre-php 5.3
By the way, just having rpm does not mean that it is installed. Your gd is probably not installed.
Did you check your php info?
Uninstall a default package and install an older version is not always error free. If you are not familiar enough with debugging dependency yourself, don't do it. We will not be able to help you in that. All our systems are running php 5.3 now.
By the way, could you tell us from which wiki page we have that prompted you to install the 2.2.0 release file? We need to correct that.
RE: "fftw" fail in the displayment of mrc file - Added by Wei Ding about 11 years ago
Thank you for your help, all of the problems have been solved.
The installed version is myami-2.2-redux.(link: http://emg.nysbc.org/projects/leginon/wiki/Where_to_register_and_download_Leginon)
Thank you for your time!
Wei