From 73547bce2011ef8d7b176e6083eda14a08acc657 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Sat, 11 May 2019 12:18:50 +0200
Subject: [PATCH] README: Note that libxml-dev and libpq-dev are needed for
 carton/cpanm build

---
 README.md | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 8a191d47..e267394d 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,10 @@ Dependencies
  * UUID::Tiny
  * JSON
 
-You can use carton or cpanminus to install dependencies locally. Run either
+If perl modules are not packaged for your distribution, you can use carton or
+cpanminus to install them locally. In this case, you need to have development
+headers for libxml and libpq (postgresql) on your system.  In the project root
+directory (where `cpanfile` resides), run either
 
 ```
 carton install
@@ -36,8 +39,8 @@ or
 cpanm --installdeps .
 ```
 
-and then set `PERL5LIB` before executing any travelynx commands. You may
-also be able to use `carton exec` to do this for you, though this is untested.
+and then set `PERL5LIB` before executing any travelynx commands or wrap them
+with `carton exec`, e.g. `carton exec hypnotoad index.pl`
 
 Recommended
 ---
-- 
GitLab