[PATCH] Modify Install Instructions to inform user that libfontconfig1-dev is required.

7 views
Skip to first unread message

Eason Lu

unread,
Jun 11, 2024, 7:36:26 AM (8 days ago) Jun 11
to plan9port-dev
From: Eason Lu <ael...@gmail.com>

On Debian testing/sid when trying to run ./INSTALL it failed with:
```
x11.c:3:10: fatal error: fontconfig/fontconfig.h: No such file or directory
3 | #include <fontconfig/fontconfig.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
```

And by using Sudo apt install libfontconfig1-dev fix this issule.

Fixes #4
---
Dear Maintainers:
This is a email related to a PR submitted on github at https://github.com/9fans/9fans.github.io/pull/5
 plan9port/man/man1/install.1    | 2 +-
 plan9port/man/man1/install.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plan9port/man/man1/install.1 b/plan9port/man/man1/install.1
index 4b173d1..40bd018 100644
--- a/plan9port/man/man1/install.1
+++ b/plan9port/man/man1/install.1
@@ -101,7 +101,7 @@ with single quotes.
 .PP
 On most Linux systems, the X11 header packages need to be installed
 to build using X11.  On Debian. the required packages are
-libx11-dev, libxext-dev, and libxt-dev.
+libx11-dev, libxext-dev, libfontconfig1-dev, and libxt-dev.
 On Ubuntu, it suffices to install xorg-dev.
 .PP
 .I INSTALL
diff --git a/plan9port/man/man1/install.html b/plan9port/man/man1/install.html
index 49e272a..750b7a4 100644
--- a/plan9port/man/man1/install.html
+++ b/plan9port/man/man1/install.html
@@ -78,7 +78,7 @@

     On most Linux systems, the X11 header packages need to be installed
     to build using X11. On Debian. the required packages are libx11-dev,
-    libxext-dev, and libxt-dev. On Ubuntu, it suffices to install
+    libxext-dev, libfontconfig1-dev, and libxt-dev. On Ubuntu, it suffices to install
     xorg-dev.
     <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>

--
2.43.0
Reply all
Reply to author
Forward
0 new messages