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

Can't download equisse on a mac #88

Closed
ghost opened this issue Nov 15, 2019 · 2 comments
Closed

Can't download equisse on a mac #88

ghost opened this issue Nov 15, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 15, 2019

I have tried downloading the package using
install.packages("esquisse")
and
remotes::install_github("dreamRs/esquisse")
and i am getting the following error:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/systemfonts/libs/systemfonts.so
Reason: image not found
Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘esquisse’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/esquisse’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/esquisse’
    Error: Failed to install 'esquisse' from GitHub:
    (converted from warning) installation of package ‘/var/folders/yz/lk2cq0ln7h3fn85jmq38v_sc0000gp/T//RtmpKTnj8f/file9a4c248159fe/esquisse_0.2.2.910.tar.gz’ had non-zero exit status
@AntoineSoetewey
Copy link

AntoineSoetewey commented Nov 27, 2019

If you install this : www.xquartz.org it should work. It worked for me at least.

@sebastiz
Copy link

I had this issue. It was a pain but basically you need to install some dependencies in order to allow esquiss to run on non windows environments. I did the following from the command line:

  1. libfontconfig1-dev needs to be installed with: sudo apt-get install libfontconfig1-dev
  2. Cairo needs to be installed with: sudo apt-get install libcairo2-dev a
  3. Also do sudo apt-get install libxt-dev

Then I installed esquisse via the RStudio package manager.

It would be great if esquisse could manage these dependencies as part of the package installation- Ill open this up as a separate issue

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