Integrate libexplain to provide better error explanations #335

Closed
opened 2026-01-29 16:41:20 +00:00 by claunia · 2 comments
Owner

Originally created by @cfsmp3 on GitHub (Oct 9, 2017).

http://libexplain.sourceforge.net/

is a library that wraps a number of OS calls and on failure provide useful description of what went wrong. It seems like a good idea to integrate it, and not really a lot of work.

Originally created by @cfsmp3 on GitHub (Oct 9, 2017). http://libexplain.sourceforge.net/ is a library that wraps a number of OS calls and on failure provide useful description of what went wrong. It seems like a good idea to integrate it, and not really a lot of work.
claunia added the enhancement label 2026-01-29 16:41:21 +00:00
Author
Owner

@MatejMecka commented on GitHub (Dec 28, 2017):

Libexplain will only work on Linux and Mac sadly.

Sadly there also external dependencies that will need to be installed using a packet manager which I don't think the End user would want.

The external dependencies a user would need to install is: libcap

  • lsof -> tool that lists open files
  • GNU libtool -> GNU libtool is a generic library support scrip
  • bison -> Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser
  • GNU Groff -> typesetting system that reads plain text mixed with formatting commands and produces formatted output.
  • GCC -> Standard Compiler

Which would result in a 4 additional depedencies that will only work for Linux and Mac.

@MatejMecka commented on GitHub (Dec 28, 2017): Libexplain will only work on Linux and Mac sadly. Sadly there also external dependencies that will need to be installed using a packet manager which I don't think the End user would want. The external dependencies a user would need to install is: libcap * lsof -> tool that lists open files * GNU libtool -> GNU libtool is a generic library support scrip * bison -> Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser * GNU Groff -> typesetting system that reads plain text mixed with formatting commands and produces formatted output. * GCC -> Standard Compiler Which would result in a 4 additional depedencies that will only work for Linux and Mac.
Author
Owner

@cfsmp3 commented on GitHub (Dec 28, 2017):

Closing, definitely more work than anticipated. Not going to happen.

@cfsmp3 commented on GitHub (Dec 28, 2017): Closing, definitely more work than anticipated. Not going to happen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#335