www/apache21 update?

Brandon Fosdick bfoz at bfoz.net
Sun Oct 30 20:14:51 PST 2005


Clement Laforet wrote:
>  I updated it few minutes ago.

When I compile mod_dav_userdir I get the folowing errors:

src/mod_dav_userdir.cc:86: error: expected primary-expression before '.' token
src/mod_dav_userdir.cc:87: error: expected primary-expression before '.' token
src/mod_dav_userdir.cc:88: error: expected primary-expression before '.' token
src/mod_dav_userdir.cc:89: error: expected primary-expression before '.' token

which refer to:

84: const command_rec dav_userdir_cmds[] = 
85: {
86: 	AP_INIT_TAKE1("DavUserDirHost", CAST_HANDLER(handle_config_host), NULL, RSRC_CONF, "the RDBMS host address"),
87: 	AP_INIT_TAKE1("DavUserDirHostUser", CAST_HANDLER(handle_config_host_user), NULL, RSRC_CONF, "the RDBMS user name"),
88: 	AP_INIT_TAKE1("DavUserDirHostPass", CAST_HANDLER(handle_config_host_pass), NULL, RSRC_CONF, "the RDBMS user password"),
89: 	AP_INIT_TAKE1("DavUserDirDbName", CAST_HANDLER(handle_config_db_name), NULL, RSRC_CONF, "the name of database to store user tables in"),
90: 	{NULL}
91: };


It appears that the problem lies in the definition of AP_INIT_TAKE1 in http_config.h. There are two different definitions selected by an #ifdef AP_HAVE_DESIGNATED_INITIALIZER, only one of them has any '.' characters. I don't see any way to change this at compile time, although I didn't look very hard. Did I miss something?


More information about the freebsd-apache mailing list