dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
432 stars 79 forks source link

Building fails with FUSE version above 2.9.0 #67

Closed tribals closed 11 years ago

tribals commented 11 years ago

Minimal version of FUSE is 2.9.0, but version checking is not performed.

If version of FUSE less than 2.9.0, build fails on src/kmscon_cdev.c because it uses "fuse_buf" struct on line 1214, but in this case (version of FUSE less than 2.9.0) there is no in fuse/fuse_common.h

dvdhrm commented 11 years ago

(FYI: I fixed the formatting in your comment as github doesn't like some special characters...)

Fixed in 016045791466281e57f332f3bd57d7dcd50f00b5. If there is any reason to add a fallback because some distros cannot ship fuse-2.9.0, please yell. Also note that the CDEV session will move out of kmscon soon so I recommend to use it only for testing purposes.

Thanks David

tribals commented 11 years ago

Well, yeah, for example Slackware 14.0 ships with FUSE 2.8.5, but new version can be easily builded from sources, and in this year we wait new release, therefore, fallback not needed, i think.

dvdhrm commented 11 years ago

FUSE is only used for VT emulation if you have no CONFIG_VT or if you want VTs on seats other than seat0. But this is still experimental and I am planning on moving it out to "uvtd".

Hence, if slackware still has no FUSE 2.9.0 when I release the first uvtd version, feel free to reopen this bug and I will try to provide a fallback.

Thanks for the report! David