Repository navigation
Conversation
- Use the directory the v0.5.0 tag archive actually extracts to (serpapi-cpp-0.5.0, not serpapi-0.5.0). - List libcurl and the build tools as prerequisites; meson.build requires libcurl alongside RapidJSON. Package names follow the install:linux and install:apple tasks in the Rakefile. - Rename the nested duplicate "Installation" heading. - Drop C++20 from the versions validated by CI, which builds C++17 only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TuohZaKbwR9n1wsfdZSYQ1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following the README's install steps on a clean machine doesn't work as written. This fixes the parts I could confirm from the repo itself. README only, no code changes.
Changes
cd serpapi-0.5.0→cd serpapi-cpp-0.5.0. Thev0.5.0tag archive that the README downloads extracts toserpapi-cpp-0.5.0/(checked withcurl -sL .../v0.5.0.tar.gz | tar tz | head -1).meson.buildalso requiresdependency('libcurl'). The install lines now include libcurl plus the build tools (Meson, Ninja, pkg-config, a compiler). Package names are taken from theinstall:linuxandinstall:appletasks in theRakefile, minus the test and lint tools.### Installationwas nested directly under## Installation; renamed the inner one to### Build and install.meson.buildsetscpp_std=c++17.Not included
The "Run with Docker" section runs
make install_linux reset all, but the repo has no Makefile (the build is driven by theRakefile). I left it alone because I couldn't test a replacement. Happy to remove it or rewrite it around the rake tasks in a follow-up, whichever you prefer.Testing
Docs-only change. I have not run a clean-room build with the new package lists; they mirror the Rakefile's install tasks, which CI already uses on Ubuntu.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TuohZaKbwR9n1wsfdZSYQ1