On 26 Mai, 03:07, Corsec <[EMAIL PROTECTED]> wrote:

> These are two different rlogs.
> The rlog in /usr/bin is rlog, print log messages and other information
> about RCS files
> You can grab it fromhttp://arg0.net/wiki/rlogand it configures,
> compiles and installs without any tweaks.

Thanks, that worked like a charm.

I've followed the instruction in the "Building EncFS on OS X" link:
http://tinyurl.com/37djox

- - - - - -

Step 3 is:

Mac OS X xattr functions {get, list, remove, set}xattr() all take
additional arguments as compared to encfs's calls to these functions.
You will need to fix the calls to these 4 functions in encfs/
encsfs.cpp. The changes are trivial:

- Find the call to ::getxattr() and add 2 trailing arguments of 0
each
- Find the call to ::listxattr() and add 1 trailing argument of 0
- Find the call to ::removexattr() and add 1 trailing argument of 0
- Find the call to ::setxattr() and add 1 trailing argument of 0

It should compile and link now.

- - - - - -

I think that there is a small mistake, since there is no file encfs/
encsfs.cpp but encfs/encfs.cpp
I've edited the file encfs/encfs.cpp and modified the lines as
described above:

  old: res = ::getxattr( cyName.c_str(), name, value, size );
  new:  res = ::getxattr( cyName.c_str(), name, value, size, 0, 0 );
  old:  res = ::listxattr( cyName.c_str(), list, size );
  new:  res = ::listxattr( cyName.c_str(), list, size, 0 );
  old:  res = ::removexattr( cyName.c_str(), name );
  new:  res = ::removexattr( cyName.c_str(), name, 0 );
  old:  res = ::setxattr( cyName.c_str(), name, value, size, flags );
  new:  res = ::setxattr( cyName.c_str(), name, value, size, flags,
0 );

I've already run ./configure as described in step 1, in the link
above:

CPPFLAGS="-DHAVE_SSL -D__FreeBSD__=10 -I/usr/local/include"
LDFLAGS="-lcrypto -L/usr/local/lib -lfuse" ./configure --prefix=/usr/
local

When I try to do use the make command, I failed with the following
error message:

[...] lot's of messages here [...]
g++ -DRLOG_COMPONENT=encfs -I/sw/include -W -Wall -Wshadow -Wpointer-
arith -Wwrite-strings -g -O2 -o .libs/encfsctl encfsctl.o -Wl,-
bind_at_load  -L/usr/local/lib ./.libs/libencfs.dylib /usr/local/lib/
librlog.dylib -L/sw/lib -lssl -lcrypto /usr/local/lib/libfuse.dylib
/usr/bin/ld: Undefined symbols:
_libintl_ngettext
collect2: ld returned 1 exit status
make[2]: *** [encfsctl] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any ideas what went wrong? :-o
Is there another way to compile encfs for macosx without the need to
modify the files (as described in step 3)?

regards

- Kurt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to