Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install? Error: No such container: postgres-db #1

Open
hakonhagland opened this issue Dec 26, 2020 · 2 comments
Open

How to install? Error: No such container: postgres-db #1

hakonhagland opened this issue Dec 26, 2020 · 2 comments

Comments

@hakonhagland
Copy link

I tried to install this with cpanm:

$ git clone  git@github.com:KES777/sdl.git
$ cd sdl
$ perl --version | head -2
This is perl 5, version 30, subversion 2 (v5.30.2) built for x86_64-linux-thread-multi
$ cpanm -v .
cpanm (App::cpanminus) 1.7044 on perl 5.030002 built for x86_64-linux-thread-multi
Work directory is /home/hakon/.cpanm/work/1608976361.1469636
You have make /bin/make
You have LWP 6.44
You have /bin/tar: tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /bin/unzip
--> Working on .
Entering /home/hakon/test/sdl
Configuring /home/hakon/test/sdl ... N/A
Finding PREREQ from Makefile ...
Building and testing . ... echo "create user game_n_cleaner                                        \
	with login createdb createrole noinherit password 'Zo4Tb7uuJUfJRNAZ'; \
	CREATE EXTENSION btree_gist;" |                                       \
	docker exec -i postgres-db psql postgres postgres
Error: No such container: postgres-db
make: *** [Makefile:53: docker-deploy] Error 1
FAIL
! Installing . failed. See /home/hakon/.cpanm/work/1608976361.1469636/build.log for details. Retry with --force to force install it.
@KES777
Copy link
Owner

KES777 commented Dec 26, 2020

You do not need to install it. Just clone then run carton

$ apt install libsdl2-dev
$ perlbrew install -v perl-5.30.1 -Dusethreads --as perl-5.30.1t
$ perlbrew use perl-5.30.1
$ perlbrew install-cpanm
$ cpanm Carton
$ git clone https://github.com/KES777/sdl
$ cd sdl
$ carton
$ perl ffi.pl

@hakonhagland
Copy link
Author

Oh, I see 😃 Anyway now carton fails. I added a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants