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

Ubuntu 22.04: can't install the built library, and autotools config uses obsolete macros #40

Open
cxw42 opened this issue Dec 22, 2022 · 0 comments

Comments

@cxw42
Copy link

cxw42 commented Dec 22, 2022

(Opening on behalf of a friend of mine)

Thanks for this project, which is very useful!

  • The generated Makefile doesn't seem to install the libs.
  • Running ./autogen.sh on an Ubuntu 22.04 (autoconf 2.71) produces a number of warnings

This seems to be similar to https://gitlab.com/openconnect/openconnect/-/issues/413.

I see from the 2.71 announcement that there are some compat breaks with 2.69 and older, and this package currently targets >=2.61. See also the autoconf changelog.

Install issues

$ sudo make -j install
Making install in src
make[1]: Entering directory '/home/user/src/libb2/src'
make[2]: Entering directory '/home/user/src/libb2/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /usr/bin/mkdir -p '/usr/local/include'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libb2.la '/usr/local/lib'
 /usr/bin/install -c -m 644 blake2.h '/usr/local/include'
libtool: install: /usr/bin/install -c .libs/libb2.so.1.0.4 /usr/local/lib/libb2.so.1.0.4
/usr/bin/install: cannot stat '.libs/libb2.so.1.0.4': No such file or directory
make[2]: *** [Makefile:883: install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/home/user/src/libb2/src'
make[1]: *** [Makefile:1484: install-am] Error 2
make[1]: Leaving directory '/home/user/src/libb2/src'
make: *** [Makefile:440: install-recursive] Error 1

autogen warnings

$ ./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
<snip>
autoreconf: running: /usr/bin/autoconf --force
configure.ac:11: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:11: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.ac:11: the top level
configure.ac:13: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:13: the top level
configure.ac:39: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:39: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:39: the top level
configure.ac:44: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:44: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:44: the top level
configure.ac:54: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:54: the top level
autoreconf: running: /usr/bin/autoheader --force
<snip>
autoreconf: Leaving directory '.'
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

1 participant