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

make configure.ac script #135

Open
ArtPoon opened this issue Feb 22, 2018 · 2 comments
Open

make configure.ac script #135

ArtPoon opened this issue Feb 22, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@ArtPoon
Copy link
Contributor

ArtPoon commented Feb 22, 2018

On master branch, when running R CMD INSTALL pkg I get the following error:

clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Kaphi.so blank.o dQAL-6.3.o kernel.o newick_lexer.o newick_parser.o tree.o treekernel.o treestats.o util.o -Ligraph/src/.libs -ligraph -L/usr/local/lib -lgsl -lJudy -lgmp -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: library not found for -lgmp

I've used MacPorts to install libgmp and modified LD_LIBRARY_PATH to include the path to this library, but haven't been able to fix this problem yet.

@ArtPoon ArtPoon added the bug label Feb 22, 2018
@ArtPoon
Copy link
Contributor Author

ArtPoon commented Feb 22, 2018

Needed to go into src/Makevars and change -L/usr/local/lib to -L/opt/local/lib.
We need to add a configure.ac script to generate platform-specific Makevars files.

@ArtPoon ArtPoon changed the title -lgmp compilation problem on macOS make configure.ac script Feb 26, 2018
@ArtPoon ArtPoon self-assigned this Feb 26, 2018
@ArtPoon ArtPoon added this to the version 0.3 milestone Mar 19, 2018
@ArtPoon
Copy link
Contributor Author

ArtPoon commented Feb 15, 2019

do we still need libgmp?

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

No branches or pull requests

1 participant