On 10/27/06, Marc Aushold <rettkliff2@yahoo.de> wrote:
> Thanks, Kenneth. I could have even hit on it on my own ;). So i did what you
> suggested, and I found the error message here:
>
> subversion\libsvn_subr\.svn\text-base\io.c (line 619)
>
> Its inside the small function svn_io_temp_dir:
>
> svn_error_t *
> svn_io_temp_dir(const char **dir,
> apr_pool_t *pool)
> {
> apr_status_t apr_err = apr_temp_dir_get(dir, pool);
>
> if (apr_err)
> return svn_error_wrap_apr(apr_err, _("Can't find a temporary
> directory"));
>
> *dir = svn_path_canonicalize(*dir, pool);
>
> return svn_path_cstring_to_utf8(dir, *dir, pool);
> }
>
> So the error appears at the call of apr_temp_dir_get what is a function of
> the apr. I already suspected APR as reason of the error, grrr.
>
> First question: Is SVN incorrectly configured to APR? I think 'make' should
> have failed, if that function ist unknown...
What makes you say it's unknown? If the function wasn't there then
you would get a linker error, not this kind of problem. What seems to
be happening is that APR is failing to find your temp directory.
Something within that function is causing it to return an error.
> The function code is below, second question is if there is a possibility to
> get the error message of the APR function - is it logged anywhere? I am a
> linux novice and have problems to see through the logging mechanisms... ;)
If you build Subversion with --enable-maintainer-mode it will include
more information in the error, including the underlying APR error
code, which might be helpful.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 27 15:55:40 2006