From 73547bce2011ef8d7b176e6083eda14a08acc657 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 11 May 2019 12:18:50 +0200 Subject: README: Note that libxml-dev and libpq-dev are needed for carton/cpanm build --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8a191d4..e267394 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 --- -- cgit v1.2.3