Nakiami / mellivora

Mellivora is a CTF engine written in PHP
GNU General Public License v3.0
440 stars 171 forks source link

Docker compose error #126

Closed carlosaguilarmelchor closed 4 years ago

carlosaguilarmelchor commented 4 years ago

Docker compose fails on building the mellivora image, the error being "configure: error: Package requirements (oniguruma) were not met:".

As noted in https://github.com/docker-library/php/issues/880 adding libonig-dev to apt install solves the issue (I did not removed mbstring as they say though).

noraj commented 4 years ago

The full error message is:

checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
ERROR: Service 'mellivora' failed to build: The command '/bin/sh -c docker-php-ext-install mbstring curl pdo pdo_mysql' returned a non-zero code: 1