[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fwd: Build problems in Subversion (in Chinese)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 30 Jun 2011 04:34:10 +0300

Thanks, Jack. Our lists run in English, but in this case I see the
problem and I'm moving the conversation to dev@:

Jack Repenning wrote on Wed, Jun 29, 2011 at 17:49:21 -0700:
> I received this message for moderation to feedback_at_tigris.org. My reflex was to spam-bin it, but then I realized that was too hasty. Upon translating at Google, I find that it seems to be an ordinary question about building Subversion (but in Chinese).
>
> I apologize to the original author, and am forwarding this to what seems the most appropriate list.
>
> I don't know if this list ordinarily handles non-English traffic. If not, I apologize to the list.
>
> Begin forwarded message:
>
> > From: 余智勇 <yuzhiyong_at_foresee.com.cn>
> > Date: June 29, 2011 5:02:51 PM PDT
> > To: feedback_at_tigris.org
> > Subject: 请问这个错误怎么解决呢
> >
> >
> > #tar jxvf httpd-2.3.12-beta.tar.bz2
> > #cd httpd-2.3.12-beta
> > #make install
...
.....
> > #cd subversion-1.6.17
> > # ./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apr-httpd/ --enable-maintainer-mode \
> > --with-apr-util=/usr/local/apr-util-httpd/ --with-ssl --with-apxs=/usr/local/apache/bin/apxs \
> > --with-sqlite=/usr/local/sqlite/
> > #make
> >
> > subversion 编译后出现如下错误
> > subversion/mod_authz_svn/mod_authz_svn.c: In function ‘log_access_verdict’:
> > subversion/mod_authz_svn/mod_authz_svn.c:450: 警告:传递参数 5 (属于 ‘ap_log_rerror_’)时将指针赋给整数,未作类型转换
> > subversion/mod_authz_svn/mod_authz_svn.c:450: 警告:传递参数 6 (属于 ‘ap_log_rerror_’)时在不兼容的指针类型间转换

The problem is that the prototype of ap_log_rerror() in
httpd-2.3.12-beta,

[[[
AP_DECLARE(void) ap_log_rerror(const char *file, int line, int module_index,
                               int level, apr_status_t status,
                               const request_rec *r, const char *fmt, ...);
]]]

, has a `module_index' parameter that our code doesn't pass.

dev@: I suspect we need to patch mod_dav_svn to allow it to run with the
modified API.

OP: Thanks for the report. Until this is fixed I suggest you try
a non-beta release of httpd.
Received on 2011-06-30 03:34:52 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.