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

How to build on macOS arm64? #134

Open
krlmlr opened this issue May 21, 2023 · 1 comment
Open

How to build on macOS arm64? #134

krlmlr opened this issue May 21, 2023 · 1 comment

Comments

@krlmlr
Copy link
Member

krlmlr commented May 21, 2023

I had to add the following to ~/.R/Makevars to be able to build locally:

CPPFLAGS = -I/opt/homebrew/include
LDFLAGS = -L/opt/homebrew/lib

Is this expected? Would it work out of the box if I installed libpng elsewhere? Should the package perhaps get an anticonf file? Can we document this better?

@DavisVaughan
Copy link
Member

DavisVaughan commented Jul 26, 2023

I also have this issue. I think it also occurs when installing svglite, i.e. r-lib/svglite#169 (both need libpng)

Possibly the configure script used by systemfonts can be used here too
r-lib/svglite#169 (comment)

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