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 install not working properly #1072

Closed
biddisco opened this Issue Mar 5, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@biddisco
Contributor

biddisco commented Mar 5, 2014

One source of problems recently is that when you make install for project hpx,
Symlinks for libs are created in /install/path/hpx/lib/hpx, but most of the libs are not actually copied.

This means when you change some cmake settings and reinstall, the libs are not overwritten and you need to manually
cp /build/hpx/lib/hpx/lib* /install/path/hpx/lib/hpx

The first time you build against hpx you get link errors - realise the problem and fix it by hand, but subsequent builds leave the libs alone and your projects carry on linking against the old libs (assuming you’re not using HPX_NO_INSTALL)

I keep getting caught out by this - and only today, building cleanly on the laptop got errors and remembered the bug.
(This is also why things started working for me yesterday when I wiped everything and recompiled from scratch)

@hkaiser hkaiser added this to the 0.9.8 milestone Mar 7, 2014

@hkaiser hkaiser closed this Mar 25, 2014

@hkaiser hkaiser reopened this Mar 25, 2014

@hkaiser hkaiser modified the milestones: 0.9.9, 0.9.8 Mar 25, 2014

@sithhell sithhell self-assigned this Jul 11, 2014

@sithhell

This comment has been minimized.

Show comment
Hide comment
@sithhell

sithhell Sep 3, 2014

Member

This should be fixed by ecdb034. Please reopen if the problem still persists.
HPX_NO_INSTALL is no longer needed.

Member

sithhell commented Sep 3, 2014

This should be fixed by ecdb034. Please reopen if the problem still persists.
HPX_NO_INSTALL is no longer needed.

@sithhell sithhell closed this Sep 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment