You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/05/20 19:12:39 UTC
[jira] [Comment Edited] (TS-2794) Build failure related to header
requirements of atscppapi
[ https://issues.apache.org/jira/browse/TS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003647#comment-14003647 ]
Leif Hedstrom edited comment on TS-2794 at 5/20/14 5:12 PM:
------------------------------------------------------------
Yeah, we should clearly not install the auto generated files. The real issue is this
{code}
lib/atscppapi/src/include/atscppapi/shared_ptr.h:#include "ink_autoconf.h"
{code}
We clearly should not do that ;).
was (Author: zwoop):
Yeah, we should clearly not install the auto generated files.
> Build failure related to header requirements of atscppapi
> ---------------------------------------------------------
>
> Key: TS-2794
> URL: https://issues.apache.org/jira/browse/TS-2794
> Project: Traffic Server
> Issue Type: Bug
> Components: CPP API
> Reporter: Ryo Okubo
> Assignee: Brian Geffon
> Fix For: 5.0.0
>
>
> When I built my plugin outside of trafficserver source tree, I found build failure related to header requirements of atscppapi as below logs.
> {noformat}
> # I set /usr/local/trafficserver/ as prefix.
> In file included from /usr/local/trafficserver/include/atscppapi/Transaction.h:30:
> /usr/local/trafficserver/include/atscppapi/shared_ptr.h:28:10: fatal error: 'ink_autoconf.h' file not found
> #include "ink_autoconf.h"
> ^
> 1 error generated.
> {noformat}
> The shared_ptr.h requires a variable defined on ink_autoconf.h but it doesn't exist in destination directory. so I've already posted Pull-Request on GitHub to fix it. please review, and show me better solution if you have.
> https://github.com/apache/trafficserver/pull/80
--
This message was sent by Atlassian JIRA
(v6.2#6252)