Ubuntu 20.04.3 server can Apache be made to render md documents like on GitHub?
Bo Berglund
bo.berglund at gmail.com
Wed Jan 12 18:48:38 UTC 2022
On Wed, 12 Jan 2022 16:35:14 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>Right now I have followed the apt install part of the github readme, so Apache
>is up and running but I don't know (yet) how to proceed.
Apt install:
sudo apt install build-essential libtool automake autoconf
sudo apt install libmarkdown2-dev apache2 apache2-dev
After this Apache is working, there is now a default webpage on this system
which was not there previously.
I checked out trunk from the GitHub repository into
$HOME/projects/apache-mod-markdown
Next:
>From the INSTALL file:
"Briefly, the shell command `./configure && make && make install'
should configure, build, and install this package."
In actual fact there is no file named configure in the checkout and such does
not exist on the system either. This is what I get:
$ ./configure && make && make install
-bash: ./configure: No such file or directory
$ which configure
$ (empty line)
So there is a needed program/script named "configure" which is assumed by the
author to exist even though it does not after running the apt intall commands
above from the Readme.md file.
In the checked out directory there is a configure.ac text file but to run it as
s script it lacks the normal shebang stating which shell to use and it is not
executable either.
This is what was checked out:
$ ll
-rw-r--r-- 1 pi pi 32 2021-11-15 12:29 AUTHORS
-rw-r--r-- 1 pi pi 0 2021-11-15 12:29 ChangeLog
-rw-r--r-- 1 pi pi 1134 2021-11-15 12:29 configure.ac
-rw-r--r-- 1 pi pi 11358 2021-11-15 12:29 COPYING
-rw-r--r-- 1 pi pi 34 2021-11-15 12:29 .gitignore
-rw-r--r-- 1 pi pi 15752 2021-11-15 12:29 INSTALL
drwxr-xr-x 2 pi pi 4096 2022-01-12 18:38 m4
-rw-r--r-- 1 pi pi 311 2021-11-15 12:29 Makefile.am
-rw-r--r-- 1 pi pi 28173 2021-11-15 12:29 mod_markdown.c
-rw-r--r-- 1 pi pi 1053 2021-11-15 12:29 mod_markdown.h
-rw-r--r-- 1 pi pi 22 2021-11-15 12:29 NEWS
-rw-r--r-- 1 pi pi 4480 2021-11-15 12:29 README.md
drwxr-xr-x 4 pi pi 4096 2022-01-12 18:38 .svn
-rw-r--r-- 1 pi pi 340 2021-11-15 12:29 .travis.yml
How is this supposed to be done????
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list