You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/01/14 07:36:17 UTC

[GitHub] [trafficserver] michelamarie opened a new issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

michelamarie opened a new issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605


   Hello!
   
   I am trying to build Traffic Server 9.1.1 on Oracle Linux 8, using the [official documentation for CentOS](https://cwiki.apache.org/confluence/display/TS/CentOS), and I have run into a number of issues.
   
   It appears that I have got the software to build correctly, but I see an error when I run 'make install':
   `src/node_data.cpp:16:20: error: no declaration matches ‘const string& YAML::detail::node_data::empty_scalar()’
    const std::string& node_data::empty_scalar() {`
   
   Might anyone here know what other dependencies should be installed to properly build and install ATS 9.1.1 on EL 8? I am happy to contribute to the documentation myself, however I can, once I have a complete list of the requirements and steps.
   
   So far, _I believe_ I have found the following differences between what is in the latest version of the documentation for building ATS 9.1 on EL 8, and what is required to do so:
   * It is no longer necessary to install and enable devtoolset.
   * Additional packages required: make, yaml-cpp-static.
   
   I know this is not a support forum, though I believe the issue is relevant because it is related to some potentially missing or outdated items in the documentation. Please excuse me if this is not the right place to post this report and these questions.
   
   I may be wrong about the above elements of the documentation, as I have not successfully installed ATS yet. I am happy to update this ticket _(or to post elsewhere)_ with my findings once I get everything worked out in the build and installation procedure.   :)
   
   
   Thank you!!
   Michela
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] SolidWallOfCode commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1020704771


   I've built on CentOS 8 (I don't have EL 8) and didn't see this issue. You should not need any "yamlcpp" package as that is contained inside the ATS codebase. I thin Randall is likely correct that one being present might be confusing ATS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] michelamarie commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
michelamarie commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1013522694


   Hi, @randall. Well, I did try building ATS without the `yaml-cpp-static` package installed. I now see that there is a parameter in the configure script, '`--with-yaml-cpp=DIR     use a specific yaml-cpp library`', though I am not sure what I would set that parameter to.
   
   I executed configure with no parameters, as specified in the documentation _(it says to simply run `./configure && make`)_. Are there parameters that you recommend I use? I'm happy to try those.   :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] randall commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
randall commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1013444507


   @michelamarie Just curious, did you try building without `yaml-cpp-static` (and picking up the version of yaml-cpp included in the source distribution) ?
   
   Also, can you share your `configure` command line?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] SolidWallOfCode commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1020704771


   I've built on CentOS 8 (I don't have EL 8) and didn't see this issue. You should not need any "yamlcpp" package as that is contained inside the ATS codebase. I thin Randall is likely correct that one being present might be confusing ATS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] michelamarie commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
michelamarie commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1032027269


   Hi, @SolidWallOfCode. Thank you for replying! I am quite sure I tried building ATS without that yamlcpp package at first, and the build failed. If I remember correctly, I only added that package after the first build failed with a message about yamlcpp.
   
   I have been too busy to break away and try again, but I will hopefully be able to do that this week and report my findings here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] randall commented on issue #8605: Likely Documentation Issue: Trouble building ATS on EL 8

Posted by GitBox <gi...@apache.org>.
randall commented on issue #8605:
URL: https://github.com/apache/trafficserver/issues/8605#issuecomment-1013760700


   Do you have the `yaml-cpp-devel` package installed (or equivalent named)? If so, can you remove it for the configure/compile? I think it's a bug in how we detect/setup yaml-cpp includes. I'll try to get a OEL8 environment to verify things locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org