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

Cannot build on Debian 12 #691

Open
Zsar opened this issue Jan 10, 2025 · 3 comments
Open

Cannot build on Debian 12 #691

Zsar opened this issue Jan 10, 2025 · 3 comments

Comments

@Zsar
Copy link

Zsar commented Jan 10, 2025

Steps to reproduce:

  1. Installed dependencies listed here.
  2. called ./configure as instructed here.

Errors, config.h not emitted:

./configure: line 4974: AC_HEADER_MAJOR_FIXED: command not found
./configure: line 9030: TYPE_SOCKLEN_T: command not found
./configure: line 9538: syntax error near unexpected token `struct'
./configure: line 9538: `AC_HAVE_TYPE(struct addrinfo, #include <netdb.h>)'
  1. Next step fails predictably:
$ make
make: *** No targets specified and no makefile found.  Stop.

Using autoconf/stable,stable,now 2.71-3 all on Debian 12.8.

Full log attached.

@Zsar
Copy link
Author

Zsar commented Jan 10, 2025

FWIW: ./configure succeeds using

  • autoconf/oldoldstable,oldoldstable,now 2.69-11 all on Debian 10.13
  • autoconf/oldstable,oldstable,now 2.69-14 all on Debian 11.9

Installing autoconf2.69/stable,stable,now 2.69-3.1 all in addition to the base package on Debian 12 apparently makes it work there.

@Zsar
Copy link
Author

Zsar commented Jan 10, 2025

<rant>In my experience "if a project uses autoconf, building from source is broken" has been a 100% experience for me over the last ~five years on a wide variety of Linux environments, covering different versions of Debian, Ubuntu, MSYS2, Arch.

Invariably some AC_<something> error is involved and invariably it seems that trying some other minor version of autoconf is the - or at least the biggest part of the - solution. That program just seems to be the embodiment of brittleness. </rant>

@charmitro
Copy link
Contributor

Can't read the logs atm, but give sudo apt build-dep rsync a try and retry building. Maybe you'll get everything you want from there.

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