nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
196 stars 14 forks source link

unable to compile, ffmpegfshelp.h has empty data structure #136

Closed ucJoyfullComp closed 5 months ago

ucJoyfullComp commented 2 years ago

Problem with compilation, generation of ffmpegfshelp.h file creates empty data structure, leading to failure to compile. Solved by replacing line 47, 48 in file src/Makefile.am with: $(AM_V_GEN)sudo a2x -a revnumber="$(VERSION)" \ -a revdate="$(shell date +'%B %Y')" -D ".." -f text --verbose $<

This is a cludge, but it works for me, it would be nice if a solution not using sudo could be found.

nschlia commented 2 years ago

I don't see why there*s a "sudo" required for you, could you please post a bit more? Especially the output of make. Did you do a fresh clone and try again? Seems like a rights problem to me.

nschlia commented 1 year ago

Any update on that?

nschlia commented 1 year ago

No activity since may, closing this.

ToxicFrog commented 5 months ago

For anyone else encountering this: this seems to be an issue with the cmake build; it tries to build ffmpegfshelp.h twice (I think once as part of building ffmpegfs itself and once as part of building the man pages) and the second time around something goes wrong. However, using the autotools build documented in INSTALL works fine.

nschlia commented 5 months ago

For anyone else encountering this: this seems to be an issue with the cmake build; it tries to build ffmpegfshelp.h twice (I think once as part of building ffmpegfs itself and once as part of building the man pages) and the second time around something goes wrong. However, using the autotools build documented in INSTALL works fine.

The cmake build was just a try, but cmake actually is useless (no proper uninstall, the cmake guys seem to think if something was installed on a system it should remain there forever).

But it worked once, I'll check it.

ToxicFrog commented 5 months ago

If the cmake build is experimental, not working reliably, and not really used, why not just remove it? Less code to maintain.

nschlia commented 5 months ago

Removed CMake support.