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 pkgconfig-depends for fuse dependency #1

Closed
wants to merge 1 commit into from

Conversation

rhendric
Copy link

@rhendric rhendric commented Nov 3, 2014

Fixes build failure on OS X; details in the commit comment.

I'm pretty new to Haskell so there's a decent chance I'm doing something dumb with this, but the Cabal docs say pkgconfig-depends is preferable so I ran with it.

I'm a little nervous about the impact of this on other platforms (Linux, FreeBSD, OS X with MacFUSE instead of OSXFUSE), since I haven't tested these. In theory, all of those should have their FUSE registered with pkg-config, so it should be fine... but testing this on another machine or two would probably be a good idea.

This fixes a compilation problem on OS X, since here at least the fuse
library is known as osxfuse instead of fuse. Should work reliably on
other platforms as well thanks to the cross-platform nature of
pkg-config.

Also remove fuse.h from global includes list; this was causing
compilation failure on OS X due to not having a FUSE_USE_VERSION defined
previously.
@m15k
Copy link
Collaborator

m15k commented Nov 7, 2014

First of all, Thank you very much. This is absolutely not dumb. However, since I took over this package and it does not and has not used pkgconfig this is a relatively major change. Something, if we decided to go this direction would need a significant version bump. Can we get a pull to make it work without pkgconfig

@m15k
Copy link
Collaborator

m15k commented Apr 7, 2015

I would hate to use pkgconfig now, since the package has been out for so long. If this is a need, we can explore adding pkgconfig as a minor update. I would prefer for the software to work without it, or for cabal to look for pkgconfig and then install the old way if pkgconfig is not available.

@m15k m15k closed this Apr 7, 2015
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