Options to use with configure for FFTW [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
-1
down vote

favorite












I am using the ./configure command to install FFTW.



The ./configure --help gives a list of options. How do I decide what options to use after ./configure?



I know the explanation for each is given in ./configure --help but is there any easy explanation for all options and when to use them?







share|improve this question














closed as too broad by muru, Melebius, N0rbert, Eric Carvalho, user117103 May 21 at 16:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • @guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
    – Thomas Ward♦
    May 17 at 16:52















up vote
-1
down vote

favorite












I am using the ./configure command to install FFTW.



The ./configure --help gives a list of options. How do I decide what options to use after ./configure?



I know the explanation for each is given in ./configure --help but is there any easy explanation for all options and when to use them?







share|improve this question














closed as too broad by muru, Melebius, N0rbert, Eric Carvalho, user117103 May 21 at 16:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • @guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
    – Thomas Ward♦
    May 17 at 16:52













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I am using the ./configure command to install FFTW.



The ./configure --help gives a list of options. How do I decide what options to use after ./configure?



I know the explanation for each is given in ./configure --help but is there any easy explanation for all options and when to use them?







share|improve this question














I am using the ./configure command to install FFTW.



The ./configure --help gives a list of options. How do I decide what options to use after ./configure?



I know the explanation for each is given in ./configure --help but is there any easy explanation for all options and when to use them?









share|improve this question













share|improve this question




share|improve this question








edited May 19 at 21:27









Zanna

47.9k13117227




47.9k13117227










asked May 17 at 12:33









Kiran Jadhav

212




212




closed as too broad by muru, Melebius, N0rbert, Eric Carvalho, user117103 May 21 at 16:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as too broad by muru, Melebius, N0rbert, Eric Carvalho, user117103 May 21 at 16:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • @guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
    – Thomas Ward♦
    May 17 at 16:52

















  • @guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
    – Thomas Ward♦
    May 17 at 16:52
















@guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
– Thomas Ward♦
May 17 at 16:52





@guiverc They mean the ./configure file inside the tarball, which is a precursor step to running make and sudo checkinstall
– Thomas Ward♦
May 17 at 16:52











1 Answer
1






active

oldest

votes

















up vote
4
down vote













In the case of FFTW, the directory in the tar.gz file holds a file “INSTALL” which contains installation information, including options:




You can give `configure' initial values for configuration
parameters by setting variables in the command line or in the
environment. Here is an example:



 ./configure CC=c99 CFLAGS=-g LIBS=-lposix



The document goes on and on about options and environment variables relevant for the configure script. If you need it, read the whole thing and you’ll be in the know. Note that configure is not a command, but rather a script which prepares the compiling. Because of that, every package usually has its own configure script that comes with it. As the examples in the “INSTALL” file of this specific package show, this configure script can take e.g. gcc and g++ options. Read their help files to learn about them.



However, if you just want to install the package and don’t know of options like that, the easiest way to do that is (requiring auto-apt and checkinstall1):




  1. cd into the extracted directory named e.g. “fftw-3.3.7”


  2. Run the package’s configure script and automatically install missing dependencies:



    auto-apt run ./configure


    The script reads environment variables to learn about the system it’s started on and automatically configures the makefile accordingly, it’ll suit your system without you specifying any options.




  3. Run the make command to compile the source:



    make



  4. Run checkinstall with root permissions to install the package:



    sudo checkinstall


1: sudo apt install auto-apt checkinstall to install both of them. auto-apt takes care of missing dependencies the package’s configure script reports, checkinstall creates a .deb package and installs it via the package manager so that you can easily remove the package later.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    4
    down vote













    In the case of FFTW, the directory in the tar.gz file holds a file “INSTALL” which contains installation information, including options:




    You can give `configure' initial values for configuration
    parameters by setting variables in the command line or in the
    environment. Here is an example:



     ./configure CC=c99 CFLAGS=-g LIBS=-lposix



    The document goes on and on about options and environment variables relevant for the configure script. If you need it, read the whole thing and you’ll be in the know. Note that configure is not a command, but rather a script which prepares the compiling. Because of that, every package usually has its own configure script that comes with it. As the examples in the “INSTALL” file of this specific package show, this configure script can take e.g. gcc and g++ options. Read their help files to learn about them.



    However, if you just want to install the package and don’t know of options like that, the easiest way to do that is (requiring auto-apt and checkinstall1):




    1. cd into the extracted directory named e.g. “fftw-3.3.7”


    2. Run the package’s configure script and automatically install missing dependencies:



      auto-apt run ./configure


      The script reads environment variables to learn about the system it’s started on and automatically configures the makefile accordingly, it’ll suit your system without you specifying any options.




    3. Run the make command to compile the source:



      make



    4. Run checkinstall with root permissions to install the package:



      sudo checkinstall


    1: sudo apt install auto-apt checkinstall to install both of them. auto-apt takes care of missing dependencies the package’s configure script reports, checkinstall creates a .deb package and installs it via the package manager so that you can easily remove the package later.






    share|improve this answer


























      up vote
      4
      down vote













      In the case of FFTW, the directory in the tar.gz file holds a file “INSTALL” which contains installation information, including options:




      You can give `configure' initial values for configuration
      parameters by setting variables in the command line or in the
      environment. Here is an example:



       ./configure CC=c99 CFLAGS=-g LIBS=-lposix



      The document goes on and on about options and environment variables relevant for the configure script. If you need it, read the whole thing and you’ll be in the know. Note that configure is not a command, but rather a script which prepares the compiling. Because of that, every package usually has its own configure script that comes with it. As the examples in the “INSTALL” file of this specific package show, this configure script can take e.g. gcc and g++ options. Read their help files to learn about them.



      However, if you just want to install the package and don’t know of options like that, the easiest way to do that is (requiring auto-apt and checkinstall1):




      1. cd into the extracted directory named e.g. “fftw-3.3.7”


      2. Run the package’s configure script and automatically install missing dependencies:



        auto-apt run ./configure


        The script reads environment variables to learn about the system it’s started on and automatically configures the makefile accordingly, it’ll suit your system without you specifying any options.




      3. Run the make command to compile the source:



        make



      4. Run checkinstall with root permissions to install the package:



        sudo checkinstall


      1: sudo apt install auto-apt checkinstall to install both of them. auto-apt takes care of missing dependencies the package’s configure script reports, checkinstall creates a .deb package and installs it via the package manager so that you can easily remove the package later.






      share|improve this answer
























        up vote
        4
        down vote










        up vote
        4
        down vote









        In the case of FFTW, the directory in the tar.gz file holds a file “INSTALL” which contains installation information, including options:




        You can give `configure' initial values for configuration
        parameters by setting variables in the command line or in the
        environment. Here is an example:



         ./configure CC=c99 CFLAGS=-g LIBS=-lposix



        The document goes on and on about options and environment variables relevant for the configure script. If you need it, read the whole thing and you’ll be in the know. Note that configure is not a command, but rather a script which prepares the compiling. Because of that, every package usually has its own configure script that comes with it. As the examples in the “INSTALL” file of this specific package show, this configure script can take e.g. gcc and g++ options. Read their help files to learn about them.



        However, if you just want to install the package and don’t know of options like that, the easiest way to do that is (requiring auto-apt and checkinstall1):




        1. cd into the extracted directory named e.g. “fftw-3.3.7”


        2. Run the package’s configure script and automatically install missing dependencies:



          auto-apt run ./configure


          The script reads environment variables to learn about the system it’s started on and automatically configures the makefile accordingly, it’ll suit your system without you specifying any options.




        3. Run the make command to compile the source:



          make



        4. Run checkinstall with root permissions to install the package:



          sudo checkinstall


        1: sudo apt install auto-apt checkinstall to install both of them. auto-apt takes care of missing dependencies the package’s configure script reports, checkinstall creates a .deb package and installs it via the package manager so that you can easily remove the package later.






        share|improve this answer














        In the case of FFTW, the directory in the tar.gz file holds a file “INSTALL” which contains installation information, including options:




        You can give `configure' initial values for configuration
        parameters by setting variables in the command line or in the
        environment. Here is an example:



         ./configure CC=c99 CFLAGS=-g LIBS=-lposix



        The document goes on and on about options and environment variables relevant for the configure script. If you need it, read the whole thing and you’ll be in the know. Note that configure is not a command, but rather a script which prepares the compiling. Because of that, every package usually has its own configure script that comes with it. As the examples in the “INSTALL” file of this specific package show, this configure script can take e.g. gcc and g++ options. Read their help files to learn about them.



        However, if you just want to install the package and don’t know of options like that, the easiest way to do that is (requiring auto-apt and checkinstall1):




        1. cd into the extracted directory named e.g. “fftw-3.3.7”


        2. Run the package’s configure script and automatically install missing dependencies:



          auto-apt run ./configure


          The script reads environment variables to learn about the system it’s started on and automatically configures the makefile accordingly, it’ll suit your system without you specifying any options.




        3. Run the make command to compile the source:



          make



        4. Run checkinstall with root permissions to install the package:



          sudo checkinstall


        1: sudo apt install auto-apt checkinstall to install both of them. auto-apt takes care of missing dependencies the package’s configure script reports, checkinstall creates a .deb package and installs it via the package manager so that you can easily remove the package later.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 17 at 17:16

























        answered May 17 at 16:04









        dessert

        19.5k55594




        19.5k55594












            Popular posts from this blog

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error

            How do I move numbers in filenames, in a batch renaming operation?