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

Why Nauty sources are required to use external Nauty? #10

Closed
yurivict opened this issue Aug 23, 2021 · 5 comments
Closed

Why Nauty sources are required to use external Nauty? #10

yurivict opened this issue Aug 23, 2021 · 5 comments

Comments

@yurivict
Copy link

Are Nauty headers+library not sufficient?

@benlorenz
Copy link
Member

They should be sufficient, I will have a look if we can adjust this.
This option was probably not considered when the configuration scripts were written because nauty itself does not provide any installation targets in the makefile.

@yurivict
Copy link
Author

[...] nauty itself does not provide any installation targets in the makefile.

This is true, but ports often install such projects. At least the FreeBSD port and Arch ports do that,

@benlorenz
Copy link
Member

Please try this patch: https://polymake.org/downloads/libnauty.patch
This allows passing --with-nauty=/some/prefix to configure and adds some autodetection for system-wide nauty installations. The output should look somewhat like this:

bundled extension nauty ... ok (version 26041 @ system)

If the autodetection fails (and no --with-nauty=PATH is given) it will fall back to the bundled version and show (source: bundled).
Please post the contents of build/bundled.log if there are any unexpected errors.

PS: I hope that all those nauty-installation layouts do not differ too much, i.e. I am assuming that the headers live in a /some/path/include/nauty/ directory.

@yurivict
Copy link
Author

@benlorenz The patch works, thank you.

@benlorenz
Copy link
Member

Thanks for testing, we will include this in the next polymake release.

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