Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install tzdb #818

Open
NahuFigueroa97 opened this issue Feb 29, 2024 · 4 comments
Open

Failed to install tzdb #818

NahuFigueroa97 opened this issue Feb 29, 2024 · 4 comments

Comments

@NahuFigueroa97
Copy link

NahuFigueroa97 commented Feb 29, 2024

Hi Howard! I try install tzdb in my project using CPMAddPackage :

CPMAddPackage(
        NAME date
        # TODO: This is master, not a release.
        # Using specific commit hash from master to avoid STDOFF errors,
        # if a version (newer than 3.0.1) is released update this.
        GITHUB_REPOSITORY HowardHinnant/date
        GIT_TAG 22ceabf205d8d678710a43154da5a06b701c5830
        OPTIONS
          "AUTO_DOWNLOAD 1"
          "INSTALL /var/project/"
)

but I don't see the database being downloaded and decompressed in that path

@HowardHinnant
Copy link
Owner

Hi. Here are the installation instructions I recommend and support: https://howardhinnant.github.io/date/tz.html#Installation.

@NahuFigueroa97
Copy link
Author

NahuFigueroa97 commented Feb 29, 2024

Thanks for your answer! I have read the document but it does not fit what I need, that's why I looked for this approach, also try not to place the options in the CPM but when building the project: cmake -DAUTO_DOWNLOAD=1 -DINSTALL="/var/project" and I did not get the base downloaded in that directory either after compiling with make

@TheStormN
Copy link
Contributor

@NahuFigueroa97 I think your issue can be solved by my PR #813

@TheStormN
Copy link
Contributor

@NahuFigueroa97 The PR is merged. You should be good to go now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants