Menu

#39 Can't compile owfs --enable-owfs. using last fuse3

v1.0_(example)
open
nobody
None
1
2017-06-07
2017-06-07
Anonymous
No

Hello,

Can't compile owfs --enable-owfs. What I do:

I download and compile fuse 3.0.2:
ls -al /usr/local/include/fuse3
-rw-r--r-- 1 root staff 2573 Jun 7 14:15 cuse_lowlevel.h
-rw-r--r-- 1 root staff 22352 Jun 7 14:15 fuse_common.h
-rw-r--r-- 1 root staff 38757 Jun 7 14:15 fuse.h
-rw-r--r-- 1 root staff 60225 Jun 7 14:15 fuse_lowlevel.h
-rw-r--r-- 1 root staff 7549 Jun 7 14:15 fuse_opt.h

ls -l /usr/local/lib
lrwxrwxrwx 1 root staff 17 Jun 7 14:15 libfuse3.so -> libfuse3.so.3.0.2
lrwxrwxrwx 1 root staff 17 Jun 7 14:15 libfuse3.so.3 -> libfuse3.so.3.0.2
-rwxr-xr-x 1 root staff 596504 Jun 7 14:15 libfuse3.so.3.0.2
drwxr-sr-x 2 root staff 4096 Jun 7 14:15 pkgconfig
drwxrwsr-x 4 root staff 4096 Apr 10 12:23 python2.7
drwxrwsr-x 3 root staff 4096 Jun 7 09:45 python3.4
drwxr-sr-x 3 root staff 4096 Jun 7 10:02 udev

./configure --enable-owfs --with-fuseinclude=/usr/local/include/fuse3/ --with-fuselib=/usr/local/lib/
.... skipped...
configure: WARNING: LD_EXTRALIBS= OSLIBS=
checking if owfs is enabled... yes
checking fuse.h usability... no
checking fuse.h presence... no
checking for fuse.h... no
configure: WARNING:
Cannot find fuse.h - Add the search path with --with-fuseinclude
configure: WARNING: Install FUSE-2.2 or later to enable owfs - download it from http://fuse.sourceforge.net/
configure: error: Configure without --enable-owfs to detect fuse automatically.

where is my error?

Discussion

  • Anonymous

    Anonymous - 2017-06-07

    compile error I see:
    ....fuse3/fuse_common.h:726:4 error: #error only API version 30 or greater
    is supported

     
    • Jan Kandziora

      Jan Kandziora - 2017-06-07

      Do you really want to use the fuse binding of owfs? It has race issues which can't be fixed. The straightforward way to use OWFS is to use the owserver tool instead of the owfs tool and access the owserver with the owread/owwrite/owdir tools. Or with one of the language bindings.

       
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.