jmcg@Laptorix ~/tmp/httpd-2.2.9 % ./configure --prefix=${_prefix} \ \ --localstatedir=${_localstate}/apache \ --datadir=${_data}/apache \ --libexecdir=${_libexec}/apache \ --sysconfdir=${_sysconf}/apache \ --with-ldap \ --with-pcre=/usr \ --with-program-name=httpd-worker --with-mpm=worker \ --with-included-apr \ --enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache" | ack -i warning configure: WARNING: Unrecognized options: --with-ldap configure: WARNING: Unrecognized options: --with-ldap, --with-pcre, --with-program-name, --with-mpm, --with-included-apr, --enable-mods-shared config.status: WARNING: 'apr-config.in' seems to ignore the --datarootdir setting configure: WARNING: Unrecognized options: --with-ldap, --with-pcre, --with-program-name, --with-mpm, --with-included-apr, --enable-mods-shared configure: WARNING: Unrecognized options: --with-pcre, --with-program-name, --with-mpm, --with-included-apr, --enable-mods-shared configure: WARNING: Unrecognized options: --with-pcre, --with-program-name, --with-mpm, --with-included-apr, --enable-mods-shared configure: WARNING: Unrecognized options: --with-ldap This seems to be a regression issue, as I cannot reproduce it with the 2.2.8 tar ball: jmcg@Laptorix ~/tmp/httpd-2.2.8 % ./configure --prefix=${_prefix} \ \ --localstatedir=${_localstate}/apache \ --datadir=${_data}/apache \ --libexecdir=${_libexec}/apache \ --sysconfdir=${_sysconf}/apache \ --with-ldap \ --with-pcre=/usr \ --with-program-name=httpd-worker --with-mpm=worker \ --with-included-apr \ --enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache" | ack -i warning config.status: WARNING: apr-config.in seems to ignore the --datarootdir setting
I'm getting a similar effect (for both, 2.2.9 and 2.2.8) by running ./buildconf prior to ./configure. You can find the output of ./buildconf itself here: http://nopaste.ch/en/db413dc3443222b.txt (Initially I planned opening up a separate bug for the ./buildconf issue, but they are probably very related) jmcg@Laptorix ~/tmp/httpd-2.2.9 % ./configure --prefix=${_prefix} \ as above | ack -i warning configure: WARNING: Unrecognized options: --with-ldap configure: WARNING: Unrecognized options: --with-ldap, --with-pcre, --with-program-name, --with-mpm, --with-included-apr, --enable-mods-shared /home/jmcg/tmp/httpd-2.2.9/srclib/apr/configure: line 9951: syntax error near unexpected token `lt_decl_varnames,' /home/jmcg/tmp/httpd-2.2.9/srclib/apr/configure: line 9951: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'
Sorry but I don't get your issue right now. Is it about the WARNINGs itself? These are harmless and can be ignored. If you are using an older version of autoconf and call buildconf before configure they go away. So this is an autoconf problem. Regarding the second issue I cannot reproduce it and I guess it is a broken tool chain on your local box.
I think something has changed in 2.2.9. It's been giving me a couple of spurious warnings, though nowhere near as much as reported here. But I'll have to double-check I'm not confusing it with a build from trunk or 2.2.x SVN. jMCg - bug me if I haven't followed up in a week or two.
(In reply to comment #3) > I think something has changed in 2.2.9. It's been giving me a couple of > spurious warnings, though nowhere near as much as reported here. But I'll have > to double-check I'm not confusing it with a build from trunk or 2.2.x SVN. > > jMCg - bug me if I haven't followed up in a week or two. > I'd like to know if the with-ldap option has been removed. I've been trying to compile apache 2.2.9 with --enable-authnz-ldap and it asks me to enable the --with-ldap option. But when I turn it on, I receive a message saying this option is not recognized.
(In reply to comment #4) > > I'd like to know if the with-ldap option has been removed. I've been trying to > compile apache 2.2.9 with --enable-authnz-ldap and it asks me to enable the > --with-ldap option. But when I turn it on, I receive a message saying this > option is not recognized. > Don't care about the warning. --with-ldap is still there and still needed in your case.
(In reply to comment #5) > (In reply to comment #4) > > > > > I'd like to know if the with-ldap option has been removed. I've been trying to > > compile apache 2.2.9 with --enable-authnz-ldap and it asks me to enable the > > --with-ldap option. But when I turn it on, I receive a message saying this > > option is not recognized. > > > > Don't care about the warning. --with-ldap is still there and still needed in > your case. > Yeah, and running ./buildconf removed the warnings. Thanks.
Very confusing. I propose to release 2.2.9-r2 or 2.2.10.
*** Bug 45211 has been marked as a duplicate of this bug. ***
*** Bug 45243 has been marked as a duplicate of this bug. ***
On some machines at our site, we even get: configure: WARNING: Unrecognized options: --enable-authn-alias, --enable-authnz-ldap, --enable-cache, --enable-charset-lite, --enable-dav-lock, --enable-disk-cache, --enable-file-cache, --enable-ldap, --enable-me m-cache, --enable-mods-shared, --enable-proxy, --enable-proxy-ajp, --enable-proxy-balancer, --enable-proxy-connect, --enable-proxy-ftp, --enable-proxy-http, --enable-ssl, --with-dbm, --with-gdbm, --with-ldap, --w ith-ldap-include, --with-ldap-lib, --with-mpm
I have downloaded 2.2.8 and 2.2.9 to the same machine, used the same configure line... worked for 2.2.8, config failed for 2.2.9. Here is my configure line: ./configure --prefix=/usr/local/apache --with-mpm=worker --enable-nonportable-atomics=yes --enable-cache --enable-disk-cache --enable-deflate --enable-proxy --enable-proxy-http --enable-proxy-balancer --enable-rewrite --enable-headers --enable-info --enable-ssl Like I said, this configured (and built fine) in 2.2.8, and the error message when this is configured on 2.2.9 is: ... config.status: creating build/rules.mk config.status: creating build/pkg/pkginfo config.status: creating build/config_vars.sh config.status: creating include/ap_config_auto.h config.status: include/ap_config_auto.h is unchanged config.status: executing default commands configure: WARNING: Unrecognized options: --enable-nonportable-atomics If you need me to attach the entire output of the configure script, let me know. My result exactly fits [Bug-45243] which was marked a duplicate of this bug, so I'm included this report here.
I get the following warning: WARNING: Unrecognized options: --enable-rewrite, --enable-ssl, --enable-dav, --enable-dav-fs, --enable-so, --enable-vhost-alias, --with-ssl, --with-included-apr My configure line (which worked fine for 2.2.8 and 2.2.7) is: ./configure --enable-rewrite --enable-ssl --enable-dav --enable-dav-fs --enable-so --enable-vhost-alias --with-ssl --with-included-apr Doesn't look like a very exciting configure command to me...
*** Bug 45505 has been marked as a duplicate of this bug. ***
I don't know if things are changed for the 2.2.10 release, but I don't get these strange errors anymore using the same configure line. I guess it's fixed :)
Thanks for reminder.
It is.