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

Fatal error: 'sys/_pthread/_pthread_condattr_t.h' #4679

Open
datasci-iopsy opened this issue Aug 18, 2020 · 1 comment
Open

Fatal error: 'sys/_pthread/_pthread_condattr_t.h' #4679

datasci-iopsy opened this issue Aug 18, 2020 · 1 comment

Comments

@datasci-iopsy
Copy link

I'm currently attempting to update data.table and I see that the binary version available (1.12.8) but the source version is later (1.13). I've tried to use the instructions via the Wiki but to no avail. I continue to get the following errors:

In file included from fwrite.c:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/zlib.h:34:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/zconf.h:431:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/types.h:217:10: fatal error: 'sys/_pthread/_pthread_condattr_t.h' file not found
#include <sys/_pthread/_pthread_condattr_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [fwrite.o] Error 1
ERROR: compilation failed for package ‘data.table’

I've installed using homebrew and even navigated the ASCII files in an attempt to include the missing file but nothing seems to work. Should I just wait for CRAN to catch up or is this a fixable issue?

Thanks in advance!

platform       x86_64-apple-darwin15.6.0   
arch           x86_64                      
os             darwin15.6.0                
system         x86_64, darwin15.6.0        
status                                     
major          3                           
minor          6.3                         
year           2020                        
month          02                          
day            29                          
svn rev        77875                       
language       R                           
version.string R version 3.6.3 (2020-02-29)
nickname       Holding the Windsock

Session Info

R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3    yaml_2.2.1   

# Output of sessionInfo()

@jangorecki
Copy link
Member

jangorecki commented Nov 23, 2020

@dkgreen24 could you try installing 1.13.2? Also you may find comments in this issue useful #4348

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

No branches or pull requests

2 participants