libyal / libewf

Libewf is a library to access the Expert Witness Compression Format (EWF)
GNU Lesser General Public License v3.0
265 stars 76 forks source link

./config shows NO fuse support #115

Closed siftuser closed 5 years ago

siftuser commented 5 years ago

osxfuse (3.8.2) is installed.

Installing libewf using 'setup.py'

but ./config continues to show

checking for fuse... no
checking fuse.h usability... no
checking fuse.h presence... no
checking for fuse.h... no
checking fuse.h usability... no
checking fuse.h presence... no
checking for fuse.h... no

Any help would be greatly appreciated! Thanks!

joachimmetz commented 5 years ago

is there still a "fuse compatibility" option in the osxfuse installation? You'll need to install that.

siftuser commented 5 years ago

Thanks for the clue ... I verified that the option for "MacFUSE compatibility layer" was enabled during installation. Restarted the system. but no change in ./configure output .. I am sure missing something. Thanks for advice :)

joachimmetz commented 5 years ago

Check config.log that should contain more detail if configure can find the fuse header files.

siftuser commented 5 years ago

Thanks @joachimmetz !

This is what I see in the config.log file .. any help ? Thanks much in advance!

Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'

Couldn't find fuse.pc on manual search ...

/usr/local/include/fuse/fuse_common.h:32:2: error: Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
 ^
/usr/local/include/fuse/fuse_common.h:271:8: error: On Darwin API version 25 or greater must be used
#            error On Darwin API version 25 or greater must be used
             ^
2 errors generated.
joachimmetz commented 5 years ago

fuse.pc is the pkg_config "package configuration", mainly used by Linux to my knowledge.

The other 2 issues the m4 script should detect (see below). Could you attach or mail the config.log so I can have a look.

#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!

https://github.com/libyal/libewf/blob/master/m4/libfuse.m4#L87

# error On Darwin API version 25 or greater must be used

https://github.com/libyal/libewf/blob/master/m4/libfuse.m4#L84

siftuser commented 5 years ago

@joachimmetz verified I have the same M4 script :) emailed you config.log file. Thank you :)

joachimmetz commented 5 years ago

So your config.log says:

Building:
   ...
   GUID/UUID support:                        native
   FUSE support:                             libosxfuse

So configure detects osxfuse support

joachimmetz commented 5 years ago

checking for fuse.h... no this is normal since the fuse header file of osxfuse is osxfuse/fuse.h not fuse.h. Closing issue working as intended.

joachimmetz commented 5 years ago

Also setup.py will only build the Python-bindings. See: https://github.com/libyal/libewf/wiki/Building#using-setuppy

If you want ewfmount use ./configure && make. See: https://github.com/libyal/libewf/wiki/Building

siftuser commented 5 years ago

Thanks you so much for your time & invaluable support @joachimmetz