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

Problem installing on Mac #1

Open
kiendang opened this issue Feb 4, 2015 · 1 comment
Open

Problem installing on Mac #1

kiendang opened this issue Feb 4, 2015 · 1 comment

Comments

@kiendang
Copy link

kiendang commented Feb 4, 2015

Hi, I cannot install Rword2vec on my Macbook Air. This is the error I get:

devtools::install_github("9diov/Rword2vec")
Downloading github repo 9diov/Rword2vec@master
Installing word2vec
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/g0/qqvp2trs5tz34r_5z3tlbdnr0000gn/T/RtmpCx3AXb/devtools238568c8854/9diov-Rword2vec-21e7e1d'  \
  --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests 

* installing *source* package ‘word2vec’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include    -fPIC  -Wall -mtune=core2 -g -O2  -c word2vec.c -o word2vec.o
word2vec.c:25:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^
1 error generated.
make: *** [word2vec.o] Error 1
ERROR: compilation failed for package ‘word2vec’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/word2vec’
Error: Command failed (1)

This might be helpful

version
               _                           
platform       x86_64-apple-darwin13.4.0   
arch           x86_64                      
os             darwin13.4.0                
system         x86_64, darwin13.4.0        
status                                     
major          3                           
minor          1.2                         
year           2014                        
month          10                          
day            31                          
svn rev        66913                       
language       R                           
version.string R version 3.1.2 (2014-10-31)
nickname       Pumpkin Helmet

Really appreciate if you could look into this. Thanks a lot!

@9diov
Copy link
Owner

9diov commented Feb 5, 2015

Thanks for reporting. I will try to reproduce the issue on Mac and see what I can do.

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

2 participants