Updating this thread... I've figured out where the pkg-config file is.
Now the build works when I do this:

    $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

Great, that problem is solved (well, worked-around).

However, now my program dies with these mysterious errors:

    the MacFUSE file system is not available
(-1)
    the MacFUSE file system is not available
(1)

The same code runs fine on Linux.

I did notice this oddity: the kernel extension seems to be missing.
"pkgutil --files com.google.macfuse.core" lists the directory

    /Library/Filesystems/fusefs.fs/Support/fusefs.kext

but this directory does not exist.

Unfortunately, I'm not a Mac expert. Thanks for any guidance on how to
get MacFUSE to work....

Thanks,
-Archie

On Oct 19, 1:14 pm, Archie Cobbs <[email protected]> wrote:
> Hi,
>
> I'm the author of a FUSE based filesystem (s3backer) that runs on both
> Linux and Mac OS X.
>
> I'm trying to update the code to support Snow Leopard. Previously, I
> was requiring users to use MacPorts for pkg-config and MacFUSE, which
> worked fine.
>
> Now I guess I'm supposed to tell them to install MacFUSE using
> the .dmg file instead of MacPorts. OK, that sounds entirely
> reasonable, so the world can have One True Install of MacFUSE. And in
> any case, MacPorts does not have a 2.x version of MacFUSE in it.
>
> Here is where it gets fuzzy though. It seems like the new MacFUSE
> install doesn't install pkg-config .pc files -- or at least not where
> a pkg-config installed via MacPorts can find them:
>
>     ...
>     checking for pkg-config... /opt/local/bin/pkg-config
>     checking pkg-config is at least version 0.19... yes
>     checking for FUSE... no
>     configure: error: "fuse" not found in pkg-config
>
> I'm not sure if this is a pkg-config install problem, a MacFUSE
> install problem, or is something missing from my configure.ac file, or
> what.
>
> I realized there is stuff on the HOWTO wiki page relating to this. But
> am I really expected to ask my users to checkout MacFUSE from
> Subversion and run shell scripts? Which don't work by the way:
>
>     $ svn cohttp://macfuse.googlecode.com/svn/trunk/core
>     ...
>     $ ./core/macfuse_buildtool.sh -t swconfigure
>     ...
>     checking for gcc...
> gcc
>     checking for C compiler default output file
> name...
>     configure: error: in `/Users/archie/
> s3backer-1.3.1':
>     configure: error: C compiler cannot create
> executables
>     See `config.log' for more
> details.
>
> Summary: it would be really nice if there were a developer-targeted
> "best practices" document for how to configure autoconf in 3rd party
> filesystems that want to build on both Linux and OS X. I'm sure I'm
> not the only developer with questions about how to properly do this.
>
> Thanks,
> -Archie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to