ffmpegfs icon indicating copy to clipboard operation
ffmpegfs copied to clipboard

unable to compile, ffmpegfshelp.h has empty data structure

Open ucJoyfullComp opened this issue 2 years ago • 2 comments

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.

ucJoyfullComp avatar May 06 '22 21:05 ucJoyfullComp

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 avatar May 07 '22 08:05 nschlia

Any update on that?

nschlia avatar Jul 19 '22 05:07 nschlia

No activity since may, closing this.

nschlia avatar Sep 27 '22 20:09 nschlia

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.

ToxicFrog avatar Jan 10 '24 01:01 ToxicFrog

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.

nschlia avatar Jan 10 '24 07:01 nschlia

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

ToxicFrog avatar Jan 12 '24 00:01 ToxicFrog

Removed CMake support.

nschlia avatar Jan 18 '24 06:01 nschlia