Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

make install prefix=blah installs an incorrect Make.common #27

Open
roystgnr opened this Issue · 6 comments

3 participants

@roystgnr
Owner

It looks like, because Make.common.in gets turned into Make.common at configure time, we can't currently configure with one prefix (or accidentally leave it defaulting to /usr/local) and install to another prefix and expect the result to be usable by applications that import our Make.common. I'm not sure how we'd fix this.

@benkirk
Owner

Oh wow, I didn't realize that was possible.

The fix may be to use a post-install hook to fix Make.common - I'll think about that...

@roystgnr
Owner
@pbauman
Collaborator
@benkirk
Owner

I have addressed this with 8057190

make install prefix=/other/path
make installcheck prefix=/other/path

works just fine - the more pathological case of

make install prefix=/other/path exec_prefix=/yet/another/path 

might take some more doing...

@friedmud friedmud referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@benkirk
Owner

This works and has been added to my buildbot regimen.

@benkirk benkirk closed this
@benkirk
Owner

Looks like the new netcdf broke this - I'll figure it out...

@benkirk benkirk reopened this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.