From a0cf5c04955d0fb6844e0a7ecc1d073b115b7faa Mon Sep 17 00:00:00 2001 From: Rory Fewell Date: Sat, 12 Mar 2022 09:20:51 +0000 Subject: [PATCH] Cleaning: Fixes #117, Library README suggests that comgtk and exec can be built at the same time at first install --- packaging/deb/libs/README.MD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packaging/deb/libs/README.MD b/packaging/deb/libs/README.MD index 6a7241d..5523d0b 100644 --- a/packaging/deb/libs/README.MD +++ b/packaging/deb/libs/README.MD @@ -6,10 +6,10 @@ Simply run the script, and pass in the name of the library/libraries you would l For example: ```bash -./packlibs.sh comgtk exec +./packlibs.sh comgtk ``` -This will build and output packages for `libwintc-comgtk` and `libwintc-exec`. You can then install the package(s) with: +This will build and output package for `libwintc-comgtk`. You can then install the package with: ```bash sudo dpkg -i ``` @@ -17,4 +17,11 @@ sudo dpkg -i ## Any Problems? You may encounter issues if you have not already installed dependencies for the library/libraries you are building. A log file is generated as part of the script's build process, review it, and see if you are missing dependencies. +Also note that libraries in this directory may depend on each other - an example is `libwintc-exec` depends on `libwintc-comgtk`, so the latter must be packaged and installed first. If this problem is the cause of build errors, it should be obvious if the error points to an include of headers from one of the libraries present in here, such as this message: +``` +~/xfce-winxp-tc/shared/exec/src/exec.c:5:10: fatal error: wintc-comgtk.h: No such file or directory + 5 | #include + | ^~~~~~~~~~~~~~~~ +``` + If you have any other problems, feel free to [submit an issue](https://github.com/rozniak/xfce-winxp-tc/issues) and include the generated log file. 😁