No rule to make target `/usr/lib64/libfftw3f.so', needed by `bin/libPyCA.so'. Stop.

Issue #76 new
Tashrif Billah created an issue

Hi all,

I used sudo yum install fftw-devel and then followed your instruction to install Pyca.

My configuration looks like this, I don't know if PyCA_LIB has to be found out beforehand.

CMAKE_BUILD_TYPE                 Release                                                           
 CMAKE_INSTALL_PREFIX             /usr/local                                                        
 CUDA_BUILD_CUBIN                 OFF                                                               
 CUDA_BUILD_EMULATION             OFF                                                               
 CUDA_HOST_COMPILER               /opt/rh/devtoolset-3/root/usr/bin/cc                              
 CUDA_SEPARABLE_COMPILATION   OFF                                                               
 CUDA_TOOLKIT_ROOT_DIR            /usr/local/cuda                                                   
 CUDA_VERBOSE_BUILD               OFF                                                               
 FFTWD_THREADS_LIB                /usr/lib64/libfftw3_threads.so                                    
 FFTWF_THREADS_LIB                /usr/lib64/libfftw3f_threads.so                                   
 FFTW_INCLUDE_PATH                /usr/include                                                      
 ITK_DIR                          /rfanfs/pnl-zorro/software/pnlutil/install-software/BRAINSTools-bu
 LIBRARY_INSTALL_DIR              lib                                                               
 PYTHON_INSTALL_DIR               /home/tb571/miniconda2/lib/python2.7/site-packages                
 PyCA_LIB                         PyCA_LIB-NOTFOUND                                                 
 SWIG_DIR                         /usr/share/swig/2.0.10                                            
 SWIG_EXECUTABLE                  /usr/bin/swig                                                     
 SWIG_VERSION                     2.0.10                                                            
 USE_CUDA                         OFF                                                               
 USE_ITK                          ON                                                                
 WRAP_PYTHON                      ON                                                                

After running make, the following error shows up!

[ 81%] Building CXX object Cxx/src/CMakeFiles/PyCA.dir/io/ITKFileIO.cxx.o
make[2]: *** No rule to make target `/usr/lib64/libfftw3f.so', needed by `bin/libPyCA.so'.  Stop.
make[1]: *** [Cxx/src/CMakeFiles/PyCA.dir/all] Error 2
make: *** [all] Error 2

Any suggestion how to fix it please? Thanks!

Comments (2)

  1. Tashrif Billah reporter

    Okay, so instead of using sudo yum install fftw-devel

    I downloaded the fftw-devel-3.3.3-8.el7.i686.rpm file and used

    sudo yum install ~/Downloads/fftw-devel-3.3.3-8.el7.i686.rpm
    sudo make
    

    While the building is complete, I can't tell if it is the manual download or the sudo command that fixed the issue so far.

  2. Log in to comment