-
Notifications
You must be signed in to change notification settings - Fork 665
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
Timezone Database Not Found #641
Comments
Search for "raspberry pi tzdata" and look for things like: https://www.raspberrypi.org/forums/viewtopic.php?t=145194 If the binary tzdata files are successfully installed on your platform, it is likely that compiling this library with |
@HowardHinnant Thank you for the detailed information. I will revisit my implementation and let you know if I have any further pending questions. If I continue with the current_zone() route and have an implementation I will make that PR. Thanks again! |
So in the interest of time I decide for now to put it in our source directory. I have a lack of knowledge with Make. For ex /project/src/tzdata. Here is our makefile configuration. Note: The line where LDFLAGS we provided disabling auto download and attempted to redirect the folder.
|
You can eliminate the need for |
Thanks. So I downloaded the tzdata folder andI moved it from downloads into my project src. Then in makefile we set it as
|
Update. Nevermind forgot to prepend a |
I get the following error ""Timezone database not found at "/home/pi/Downloads/tzdata".
I am a bit curious as to how this operates. My software that uses Date runs on a system that does not have internet access. In the past we were able to use the date library without this timezone issue. Looking further into this it appears that upon compilation it would download an XML file to lookup timezones during runtime.
Couple questions:
The text was updated successfully, but these errors were encountered: