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
Docker and devcontainer build option #1050
Comments
You seem to have snipped the import parts of the build error |
I'm not sure I understood your answer cd pgbouncer/
alex@alex-GS43VR-7RE:~/Documents/github/pgbouncer$ ls
AUTHORS config.mak.in COPYRIGHT doc include Makefile pyproject.toml requirements.txt test uthash
autogen.sh configure.ac dev_requirements.txt etc lib NEWS.md README.md src uncrustify.cfg win32
alex@alex-GS43VR-7RE:~/Documents/github/pgbouncer$ git submodule init
Submodule 'lib' (https://github.com/libusual/libusual.git) registered for path 'lib'
Submodule 'uthash' (https://github.com/troydhanson/uthash.git) registered for path 'uthash'
alex@alex-GS43VR-7RE:~/Documents/github/pgbouncer$ git submodule update
Cloning into '/home/alex/Documents/github/pgbouncer/lib'...
Cloning into '/home/alex/Documents/github/pgbouncer/uthash'...
Submodule path 'lib': checked out '46a78d2616ba2e8b5855a3914d5e9375935cf61b'
Submodule path 'uthash': checked out 'eeba1961f203869116a865e57c968e9c86e1b8c4'
alex@alex-GS43VR-7RE:~/Documents/github/pgbouncer$ ./autogen.sh
Using aclocal: 1.16
configure.ac:15: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:15: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
lib/m4/usual.m4:69: AC_USUAL_PROGRAM_CHECK is expanded from...
configure.ac:15: the top level
alex@alex-GS43VR-7RE:~/Documents/github/pgbouncer$ ./configure ...
configure: WARNING: you should use --build, --host, --target
checking build system type... Invalid configuration `...': machine `...-unknown' not recognized
configure: error: /bin/bash ./config.sub ... failed |
I mean you put all these |
The |
I totally agree, if we have dockerfile, we should execute only one command, and all configuration features will be under the hood and will be work the same in all os and machines |
The README uses ... in the configure command line to indicate that options can be informed. However, it can confuse people (like in the referred issue pgbouncer#1050). Removes the 3 dots and explains that configure options can be informed. Since I'm at it, informs that uthash submodule is also fetched if you are following the Git instructions. Fixes pgbouncer#1050
The README uses ... in the configure command line to indicate that options can be informed. However, it can confuse people (like in the referred issue #1050). Removes the 3 dots and explains that configure options can be informed. Since I'm at it, informs that uthash submodule is also fetched if you are following the Git instructions. Fixes #1050
Re-opening this as I do think a Dockerfile in the repo would be nice. Especially if this includes a devcontainer: https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers |
Previous discussion about Docker: #324 |
Now there are instructions for building via installing libraries and via git. I tried both on mac m1 and ubuntu x86 and both crashed. It would be cool if there was a build option in Docker (via docker build ) this would increase the number of people who can fix something and contribute to it
My logs for ubuntu
The text was updated successfully, but these errors were encountered: