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

Disable maintainer mode when compiling healpix_cxx #156

Merged
merged 1 commit into from Jan 27, 2014

Conversation

lpsinger
Copy link
Member

pip does not preserve file modification times when unpacking tarballs.
This causes make to think that it needs to rerun automake when
building healpix_cxx. Since only developers generally have automake,
this causes the installation to fail.

This patch works around the deficiency in pip by adding
--disable-maintainer-mode to the flags passed to configure. As a
result, make will not attempt to re-run automake.

Note that we need to add

AM_MAINTAINER_MODE([enable])

to healpix_cxx's configure.ac file in order to make configure
recognize this option.

Fixes #155.

`pip` does not preserve file modification times when unpacking tarballs.
This causes `make` to think that it needs to rerun `automake` when
building `healpix_cxx`. Since only developers generally have `automake`,
this causes the installation to fail.

This patch works around the deficiency in `pip` by adding
`--disable-maintainer-mode` to the flags passed to `configure`. As a
result, `make` will not attempt to re-run `automake`.

Note that we need to add

    AM_MAINTAINER_MODE([enable])

to `healpix_cxx`'s `configure.ac` file in order to make `configure`
recognize this option.

Fixes healpy#155.
@lpsinger
Copy link
Member Author

@zonca, @mreineck, please see also https://gist.github.com/lpsinger/8590966, a patch that would have to be applied to healpix.

zonca added a commit that referenced this pull request Jan 27, 2014
Disable maintainer mode when compiling healpix_cxx
@zonca zonca merged commit 34d7933 into healpy:master Jan 27, 2014
@lpsinger lpsinger deleted the disable-maintainer-mode branch January 27, 2014 21:04
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.

healpy 1.7.1 build error on Ubuntu 12.04
2 participants