Forum: Ruby-core [ruby-trunk - Bug #7819][Open] configure script doesn't recognize valid options

Posted by Telemachus Odysseos (telemachus)
on 2013-02-09 22:27
(Received via mailing list)
Issue #7819 has been reported by telemachus (Peter Aronoff).

----------------------------------------
Bug #7819: configure script doesn't recognize valid options
https://bugs.ruby-lang.org/issues/7819

Author: telemachus (Peter Aronoff)
Status: Open
Priority: Normal
Assignee:
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3p385 (2013-02-06 revision 39114) 
[x86_64-darwin12.2.0]


When configuring the latest version of Ruby, the configure script issues 
warnings about "unrecognized" but valid (?) build options.

To reproduce:

1. Untar the 1.9.3-p385.tar.gz
2. Give the following options to the configure script:

    ./configure --prefix=/usr/local/ruby-1.9.3-p385 \
            --with-openssl-dir=/usr/local \
            --with-readline-dir=/usr/local \
            --with-yaml-dir=/usr/local \
            --with-gdbm-dir=/usr/local \
            --with-libffi-dir=/usr/local

The result is this warning, both at the top and the bottom of the 
configuration output:

    configure: WARNING: unrecognized options: --with-openssl-dir, 
--with-readline-dir, --with-yaml-dir, --with-gdbm-dir, --with-libffi-dir

Based on discussion in irc and the results of the build, I think that 
the warnings are bogus. That is, those options are recognized and used 
in the build.
Posted by Nobuyoshi Nakada (nobu)
on 2013-02-10 13:18
(Received via mailing list)
Issue #7819 has been updated by nobu (Nobuyoshi Nakada).

Subject changed from configure script doesn't recognize valid options to 
configure script doesn't recognize valid options
Status changed from Open to Closed

You're right, it's just a warning.
Or, just use only --with-opt-dir=/usr/local instead.
----------------------------------------
Bug #7819: configure script doesn't recognize valid options
https://bugs.ruby-lang.org/issues/7819#change-36121

Author: telemachus (Peter Aronoff)
Status: Closed
Priority: Normal
Assignee:
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3p385 (2013-02-06 revision 39114) 
[x86_64-darwin12.2.0]


When configuring the latest version of Ruby, the configure script issues 
warnings about "unrecognized" but valid (?) build options.

To reproduce:

1. Untar the 1.9.3-p385.tar.gz
2. Give the following options to the configure script:

    ./configure --prefix=/usr/local/ruby-1.9.3-p385 \
            --with-openssl-dir=/usr/local \
            --with-readline-dir=/usr/local \
            --with-yaml-dir=/usr/local \
            --with-gdbm-dir=/usr/local \
            --with-libffi-dir=/usr/local

The result is this warning, both at the top and the bottom of the 
configuration output:

    configure: WARNING: unrecognized options: --with-openssl-dir, 
--with-readline-dir, --with-yaml-dir, --with-gdbm-dir, --with-libffi-dir

Based on discussion in irc and the results of the build, I think that 
the warnings are bogus. That is, those options are recognized and used 
in the build.
Posted by Wonbyte (Greg Sieranski) (Guest)
on 2013-02-27 11:00
(Received via mailing list)
Issue #7819 has been updated by Wonbyte (Greg Sieranski).


So the --with options are correct to use? Even with Ruby-2.0.0-p0?
----------------------------------------
Bug #7819: configure script doesn't recognize valid options
https://bugs.ruby-lang.org/issues/7819#change-37142

Author: telemachus (Peter Aronoff)
Status: Closed
Priority: Normal
Assignee:
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3p385 (2013-02-06 revision 39114) 
[x86_64-darwin12.2.0]


When configuring the latest version of Ruby, the configure script issues 
warnings about "unrecognized" but valid (?) build options.

To reproduce:

1. Untar the 1.9.3-p385.tar.gz
2. Give the following options to the configure script:

    ./configure --prefix=/usr/local/ruby-1.9.3-p385 \
            --with-openssl-dir=/usr/local \
            --with-readline-dir=/usr/local \
            --with-yaml-dir=/usr/local \
            --with-gdbm-dir=/usr/local \
            --with-libffi-dir=/usr/local

The result is this warning, both at the top and the bottom of the 
configuration output:

    configure: WARNING: unrecognized options: --with-openssl-dir, 
--with-readline-dir, --with-yaml-dir, --with-gdbm-dir, --with-libffi-dir

Based on discussion in irc and the results of the build, I think that 
the warnings are bogus. That is, those options are recognized and used 
in the build.
Posted by naruse (Yui NARUSE) (Guest)
on 2013-02-27 11:09
(Received via mailing list)
Issue #7819 has been updated by naruse (Yui NARUSE).


Wonbyte (Greg Sieranski) wrote:
> So the --with options are correct to use? Even with Ruby-2.0.0-p0?

Yes, it is correct.
Why it shows such warnings is configure itself actually ignores them, 
but later build process use them.
----------------------------------------
Bug #7819: configure script doesn't recognize valid options
https://bugs.ruby-lang.org/issues/7819#change-37144

Author: telemachus (Peter Aronoff)
Status: Closed
Priority: Normal
Assignee:
Category: build
Target version: 1.9.3
ruby -v: ruby 1.9.3p385 (2013-02-06 revision 39114) 
[x86_64-darwin12.2.0]


When configuring the latest version of Ruby, the configure script issues 
warnings about "unrecognized" but valid (?) build options.

To reproduce:

1. Untar the 1.9.3-p385.tar.gz
2. Give the following options to the configure script:

    ./configure --prefix=/usr/local/ruby-1.9.3-p385 \
            --with-openssl-dir=/usr/local \
            --with-readline-dir=/usr/local \
            --with-yaml-dir=/usr/local \
            --with-gdbm-dir=/usr/local \
            --with-libffi-dir=/usr/local

The result is this warning, both at the top and the bottom of the 
configuration output:

    configure: WARNING: unrecognized options: --with-openssl-dir, 
--with-readline-dir, --with-yaml-dir, --with-gdbm-dir, --with-libffi-dir

Based on discussion in irc and the results of the build, I think that 
the warnings are bogus. That is, those options are recognized and used 
in the build.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.