You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brian Mearns <me...@bmearns.net> on 2008/09/22 20:10:22 UTC

[users@httpd] Re: exports.c: duplicate sections RESOLVED (sort of)

I resolved the issue by simply removing all traces of my old apr and
apr-util, and just using the packaged versions. So help is no longer
needed, but for those having the same issue, I can't offer any additional
assistance.

-Brian

> Follow up: I found the problem, but still don't know how to fix it:
> `apu-1-config --includedir` lists /usr/local//include/apr-1 as the include
> dir, which the configure script is using. So my question is how to change
> this?
>
> Thanks,
> -Brian
>
>
> I'm getting the familiar "redefinition of ‘ap_hack_apr_version’" and
> several hundred similar errors rooted in exports.c. Neither the path I'm
> building from, nor the path I'm installing to have any links in them, but
> I've found that exports.c contains duplicate sections that define all
> these different const void pointers: one section prefixed with a comment
> saying "/usr/local//include/apr-1/apr_xml.h", and the other duplicate
> section has a comment saying "/usr/local/include/apr-1/apr_xml.h" (notice
> the extra back-slash in the first one). So I'm assuming that the awk
> script that generates this file for some reason has this path in there
> twice, but once with the extra slash. But I'm not familiar with awk yet:
> can anyone tell me where these extra sections are coming from, and how I
> can stop them?
>
> Thanks so much.
> -Brian
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org