Hi JP,

I took a closer look and found the "bug" causing your problem. The swconfigure 
target of the macfuse_buildtool.sh configures external software like sshfs to 
include PPC code. If linked against a libfuse, that does not contain PPC code, 
as in your case, you get an error. 

To fix this, please download MacFUSE 2.1.11 from my repository 
https://github.com/bfleischer/macfuse/tree/macfuse-2.1 again and redo step 3 
(Install sshfs) of the HOWTO http://code.google.com/p/macfuse/wiki/HOWTO. You 
don't need to recompile MacFUSE for this to work.


Just to give a complete answer, here is what I was writing about in my previous 
mail. If you followed the steps described above you should be fine and don't 
need to edit the Makefile!

> I must have made a significant mistake; I'm not using a Power PC at all, I 
> have a brand new Intel Macbook Pro. 

You didn't make a mistake!  It doesn't think you are compiling on a PPC Mac.  
The macfuse_buildtool.sh configures sshfs for a universal build. The resulting 
binary will contain code for Intel and PPC architecture. Of cause, if run on 
your Mac there is no need for the PPC part, but if you planed to redistribute 
the sshfs binary, including PPC code makes perfectly sense.

> Moreover, I could not find a single instance of '-arch ppc' in the make file.

The Makefile is created during the "swconfigure" step 
(/path/to/macfuse/source/core/macfuse_buildtool.sh -t swconfigure). In the file 
"Makefile" in your sshfs source directory will most certainly be a line like 
this. 

CFLAGS = -O0 -g -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.6.sdk 
-I/usr/local/include  -D__FreeBSD__=10 -DDARWIN_SEMAPHORE_COMPAT 
-DSSH_NODELAY_WORKAROUND -Wall -W

Regards,
Benjamin

-- 
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