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

use install-sh etc from GAP #946

Closed
wants to merge 1 commit into from

Conversation

dimpase
Copy link
Contributor

@dimpase dimpase commented Sep 10, 2023

To fix the problem mentioned in #937 (comment), which is present on other platforms, e.g. on Debian linux:

$ ./configure            
...
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

This works as follows:

  1. autogen.sh takes the parameter from AC_CONFIG_AUX_DIR and creates the corresnding directiry, named config/

  2. ./configure finds GAP location and populates config/ with links to the contents of GAP's cnf/ directory

Note that we set config/ to be ignored in .gitignore

This works as follows:

1) autogen.sh takes the parameter from AC_CONFIG_AUX_DIR
and creates the corresnding directiry, named config/

2) ./configure finds GAP location and populates config/ with links
to the contents of GAP's cnf/ directory

Note that we set config/ to be ignored in .gitignore
@dimpase
Copy link
Contributor Author

dimpase commented Sep 10, 2023

@fingolfin

@fingolfin
Copy link
Contributor

That won't work if GAP was installed using make install

@dimpase
Copy link
Contributor Author

dimpase commented Sep 10, 2023

Does GAP's make install install anything from cnf/ somewhere?

@fingolfin
Copy link
Contributor

No, and it shouldn't install things like config.guess, config.sub, install-sh (distro packagers would complain about it and discard those files anyway).

@dimpase
Copy link
Contributor Author

dimpase commented Sep 11, 2023

OK.

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

Successfully merging this pull request may close these issues.

2 participants