Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-08-2012
Registered User
 
Join Date: Feb 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
[Solved] Installing nfftpy

Hi,
I'm trying to install nfftpy, a c subroutine library that deals with fourrier transforms, but cant seem to get it working.
My system info is,

Linux David 3.3.7-1.fc16.i686 #1 SMP Tue May 22 14:14:30 UTC 2012 i686 i686 i386 GNU/Linux


Following the instuctions that came with the library,
1) Untar the sources in [home directory]/[your nfft3-install directory] by
tar xfvz nfft3.1.1.tar.gz

2) Run the configuration script and specify the destination for the library
./configure --prefix=[home directory]/[your nfft3 directory]

3) Compile the library by
make

4) Install the library in [home directory]/[your nfft3 directory] by
make install

it fails at step 4 and gives the error below, I have know idea what is wrong so any help is much appreciated.

[davcra@David nfft-3.1.3]$ sudo make install
[sudo] password for davcra:
Making install in 3rdparty
make[1]: Entering directory `/home/davcra/nfft-3.1.3/3rdparty'
Making install in cstripack
make[2]: Entering directory `/home/davcra/nfft-3.1.3/3rdparty/cstripack'
make[3]: Entering directory `/home/davcra/nfft-3.1.3/3rdparty/cstripack'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/davcra/nfft-3.1.3/3rdparty/cstripack'
make[2]: Leaving directory `/home/davcra/nfft-3.1.3/3rdparty/cstripack'
Making install in .
make[2]: Entering directory `/home/davcra/nfft-3.1.3/3rdparty'
make[3]: Entering directory `/home/davcra/nfft-3.1.3/3rdparty'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/davcra/nfft-3.1.3/3rdparty'
make[2]: Leaving directory `/home/davcra/nfft-3.1.3/3rdparty'
make[1]: Leaving directory `/home/davcra/nfft-3.1.3/3rdparty'
Making install in include
make[1]: Entering directory `/home/davcra/nfft-3.1.3/include'
make[2]: Entering directory `/home/davcra/nfft-3.1.3/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/home/davcra/nfft-3.1.3/include" || /bin/mkdir -p "/home/davcra/nfft-3.1.3/include"
/usr/bin/install -c -m 644 'nfft3.h' '/home/davcra/nfft-3.1.3/include/nfft3.h'
/usr/bin/install: `nfft3.h' and `/home/davcra/nfft-3.1.3/include/nfft3.h' are the same file
/usr/bin/install -c -m 644 'nfft3util.h' '/home/davcra/nfft-3.1.3/include/nfft3util.h'
/usr/bin/install: `nfft3util.h' and `/home/davcra/nfft-3.1.3/include/nfft3util.h' are the same file
/usr/bin/install -c -m 644 'nfft3conf.h' '/home/davcra/nfft-3.1.3/include/nfft3conf.h'
/usr/bin/install: `nfft3conf.h' and `/home/davcra/nfft-3.1.3/include/nfft3conf.h' are the same file
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/home/davcra/nfft-3.1.3/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/davcra/nfft-3.1.3/include'
make: *** [install-recursive] Error 1
Sponsored Links
    #2  
Old 06-08-2012
hergp's Avatar
hergp hergp is offline Forum Advisor  
Problem Eliminator
 
Join Date: Jan 2010
Location: Vienna, Austria
Posts: 621
Thanks: 10
Thanked 124 Times in 115 Posts
In ./configure --prefix=... you should define the directory where you want the library to be installed to, not the directory where you are compiling it.
Sponsored Links
    #3  
Old 06-08-2012
Registered User
 
Join Date: Feb 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
thanks, that worked
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[Solved] Installing Multiple Perl Modules at Once metallica1973 UNIX for Dummies Questions & Answers 0 01-17-2012 05:00 PM
Solved: AWK SED HELP viveksr Shell Programming and Scripting 0 01-25-2011 01:50 PM
[solved] merging two files and writing to another file- solved mlpathir Shell Programming and Scripting 1 10-07-2010 06:41 PM
Re Installing windows XP after installing KUBUNTU sarbjit Ubuntu 3 06-05-2009 07:17 AM
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 04:28 PM



All times are GMT -4. The time now is 12:48 AM.