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

gmt5: Fix hdf5 library search path problem in building #585

Closed
wants to merge 1 commit into from

Conversation

kuni255
Copy link

@kuni255 kuni255 commented Jul 12, 2017

Indirect dependency library hdf5-18 is installed to
irregular location. Therefore, configuring of this ports fails.
This commit resolves this problem.

fix: https://trac.macports.org/ticket/54467#ticket

You don't face to this problem. If you had already installed hdf5.

Indirect dependency library hdf5-18 is installed to
irregular location. Therefore, configuring of this ports fails.
This commit resolves this problem.

fix: https://trac.macports.org/ticket/54467#ticket
@raimue
Copy link
Member

raimue commented Jul 18, 2017

I do not see the problem here. The dependency chain is gmt5 -> netcdf -> hdf5. If you do not have hdf5 installed, that would be a problem on your system.

@kuni255
Copy link
Author

kuni255 commented Jul 19, 2017

I faced to this phenomenon in revision 3f4ab80 as I wrote in trac issue https://trac.macports.org/ticket/54467#ticket .
In this revision, The dependency chain of gmt5 is gmt5 -> netcdf -> hdf5-18.

The actual cause of this phenomenon is that hdf5-18 is installed irregular location ${prefix}/lib/hdf5-18/lib. In configuring phase of gmt5, cmake check that hdf5 library is in ${prefix}/lib .

There is no problem. If you had already installed science:hdf5 directly before you install gmt5. Because hdf5 is installed to regular location ${prefix}/lib. Therefore, The error occurred in the configuring phase of gmt5. If you had not installed science:hdf5.

This problem was resolved in commit 6b3cb0c . Because the netcdf’s depending ports was changed hdf5-18 to hdf5.

@kuni255 kuni255 closed this Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants