README: Note that libxml-dev and libpq-dev are needed for carton/cpanm build

This commit is contained in:
Daniel Friesel 2019-05-11 12:18:50 +02:00
parent f04d42fc94
commit 73547bce20

View file

@ -24,7 +24,10 @@ Dependencies
* UUID::Tiny * UUID::Tiny
* JSON * 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 carton install
@ -36,8 +39,8 @@ or
cpanm --installdeps . cpanm --installdeps .
``` ```
and then set `PERL5LIB` before executing any travelynx commands. You may and then set `PERL5LIB` before executing any travelynx commands or wrap them
also be able to use `carton exec` to do this for you, though this is untested. with `carton exec`, e.g. `carton exec hypnotoad index.pl`
Recommended Recommended
--- ---