mirror of
https://github.com/derf/travelynx
synced 2024-12-03 09:49:09 +00:00
README: Note that libxml-dev and libpq-dev are needed for carton/cpanm build
This commit is contained in:
parent
f04d42fc94
commit
73547bce20
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue