Installation Document

13 views
Skip to first unread message

IVO I WELCH

unread,
Oct 18, 2019, 5:10:47 PM10/18/19
to Mojolicious


L&G:  I want to install my sylspace app from scratch onto a brand new ubuntu 19.10 (perl 5.28.1).  It's good that I have lousy memory, so I can do it with a fresh eye.  (Then I want to move it behind an nginx rev-proxy.)  I will notice outdated or old aspects as I go.

The first one is right at the Mojolicious installation, as described in `https://github.com/mojolicious/mojo/wiki/Installation`:

```
$ sudo cpan Mojolicious
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 18 Oct 2019 20:29:02 GMT
Running install for module 'Mojolicious'
Checksum for /root/.cpan/sources/authors/id/S/SR/SRI/Mojolicious-8.25.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring S/SR/SRI/Mojolicious-8.25.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Mojolicious
Writing MYMETA.yml and MYMETA.json
SRI/Mojolicious-8.25.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for S/SR/SRI/Mojolicious-8.25.tar.gz
SRI/Mojolicious-8.25.tar.gz
make -- NOT OK
No such file or directory
```

This is because ubuntu does not install `gcc` and `make` by default.

I would suggest adding `apt install gcc make` upfront.


Reply all
Reply to author
Forward
0 new messages