Welcome to the Linux Foundation Forum!

Is there a command to show the configure options?

Hi,

Is there a cmd to display the configure options when installing this software?

I saw it before, but can't remember it now, anyone knows ?

Thanks in advance

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 647
    robbin wrote:
    Hi,

    Is there a cmd to display the configure options when installing this software?

    I saw it before, but can't remember it now, anyone knows ?

    Thanks in advance

    Which software? linux?

    If that is it:
    1. make menuconfig
    or
    1. make xconfigmenu
    (that last one if I recall correctly....)

    Regards
  • Posts: 3
    I mean all of applications, impossible?
    such as apache, mysql

    I installed them via apt-get, but I want to check the configure options, e.g. --prefix, is there a way?

    Thanks
  • Posts: 1,114
    Either in a terminal, or in a google search field type "man <appname>"
    Example "man mysql"

    Some apps don't have a man page but many do.
  • Posts: 2,177
    robbin wrote:
    Hi,

    Is there a cmd to display the configure options when installing this software?

    I saw it before, but can't remember it now, anyone knows ?

    Thanks in advance

    When you you compiling the new software you can issue the command "./configure --help" to review all of the options.

    If you are wanting to view the configure flags for pre-compiled packages it will be more difficult because not all applications use autotools and because each distro using a different method to build their packages. If you are looking for the flags on pre-build packages then we will need to know which distro you are using so we can refer you to a site or file to locate that information.
  • Posts: 3
    Thank you marc.

    how about debian and CentOS, in the most cases, i used these both.
  • Posts: 647
    robbin wrote:
    Thank you marc.

    how about debian and CentOS, in the most cases, i used these both.

    You can always have a look at the source packages (src-deb and srpm). In srpm there'll be a whatever.spec file where the build process is described.

    Here is an extract of a spec file for a perl module I made:
    1. %build
    2. %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
    3. %{__make} %{?_smp_mflags}
    4.  
    5. %install
    6. %{__rm} -rf %{buildroot}
    7. %{__make} pure_install

    Regards

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training