Re: [How to compile encfs with MacFuse]

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On May 30, 2021, at 01:06, Uwe Brauer <[email protected]> wrote:
> 
> 
>> <snip>
> 
> 
>> If you followed Hanspeter’s instructions, you should be able just to use “fink install encfs”
> 
> 
> Not completely, I run into a difficulty 
> 
>> Thanks very much for this detailed answer. I had just time now to look
>> into it
>> this is what I obtain
>> after the modification of the encfs.info file
>> 
>> 
>> sudo fink dumpinfo -finfofile encfs
>> 
>> Scanning package description files..........
>> Information about 11111 packages read in 4 seconds.
>> 
>> So it seems that fink is not using *my* info file
>> 
>> infofile: /opt/sw/fink/dists/stable/main/finkinfo/crypto/encfs.info
> 
> 
> So it was Scott Hannahs's advice that helped me namely 
> 
> 
> 
> 
>> copy the file to "/opt/sw/fink/dists/local/main/finkinfo/crypto/encfs.info”
>> Basically the same location in the directory structure except substituting “local” for “stable"
>> 
>> Try bumping the “Revision” field by one and then run “fink index”
> 
> 
> That messages you can find in a slightly different thread.
> 
> I also rose the question, in another message, how to proceed, since for
> =>10.15 encfs will not work anymore since the osxfuse version used for
> its compilation does not allow modules to be inserted in the kernel.
> 
> You need the MacFuse binaries to do that.
> 
> Regards
> 
> Uwe Brauer 

Sorry for not following multiple different threads.  Your last message mentioned both MacFuse and osxfuse, and at this point it’s been really hard for me to tell anything about where you are in the process.

I’d say that what you really want in encfs.info <http://encfs.info/> is:

	-DFUSE_INCLUDE_DIR=/usr/local/include/fuse \
	-DFUSE_LIBRARIES:FILEPATH=/usr/local/lib/libfuse.dylib

Beyond the change to $FINK_CMAKE_ARGS, take out osxfuse-dev and osxfuse-shlibs from the dependency list, and you should be able to try the build via “fink index ; fink build encfs”.  

Additional Notes:

%p is the base location of the Fink tree (/opt/sw nowadays).
%d is the temporary install directory which is copied into a .deb file eventually.  

Having one or more dylibs from a package as a link is pretty typical.  Build systems tend to utilize unversioned library names (like -lfuse which refers to libfuse.dylib), and the unversioned files often point in turn back to versioned files.

—akh

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.