You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the prescribed compilation method in the 'INSTALL' file:-
aclocal
gettextize
autoheader
automake --foreign --copy --add-missing
autoconf
./configure
make
did not work on Ubuntu with Linux kernel v6.0.9 using 'automake 'and 'aclocal' v1.16.5!
The following errors were encountered:-
Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~)
Updating configure.ac (backup is in configure.ac~)
Adding an entry to ChangeLog (backup is in ChangeLog~)
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.9 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.
Press Return to acknowledge the previous two paragraphs.
configure.ac:466: error: po/Makefile.in' is already registered with AC_CONFIG_FILES. ./lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from... configure.ac:466: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 autoheader: error: '/usr/bin/autom4te' failed with exit status: 1 configure.ac:466: error: po/Makefile.in' is already registered with AC_CONFIG_FILES.
./lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from...
configure.ac:466: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
automake: error: autoconf failed with exit status: 1
configure.ac:466: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
./lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from...
configure.ac:466: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
****************************************** THE FIX ******************************************
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
configure.ac:22: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:26: warning: The macro `AC_ERROR' is obsolete.
configure.ac:223: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:313: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:397: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:466: warning: AC_OUTPUT should be used without arguments.
alsactl/Makefile.am:69: warning: '%'-style pattern rules are a GNU make extension
gettextize: *** po/Makefile.in.in exists: use option -f if you really want to delete it.
and ones regarding the .po files e.g.
fr.po:828: warning: internationalised messages should not contain the '\r' escape sequence
eu.po:849: warning: internationalised messages should not contain the '\r' escape sequence
etc...
The build and installation succeeded nevertheless.
One other issue was that 'alsamixer' refused to run unless a system link was created for 'libasound_module_ctl_pipewire.so' as follows:-
I found that the prescribed compilation method in the 'INSTALL' file:-
aclocal
gettextize
autoheader
automake --foreign --copy --add-missing
autoconf
./configure
make
did not work on Ubuntu with Linux kernel v6.0.9 using 'automake 'and 'aclocal' v1.16.5!
The following errors were encountered:-
Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~)
Updating configure.ac (backup is in configure.ac~)
Adding an entry to ChangeLog (backup is in ChangeLog~)
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.9 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.
Press Return to acknowledge the previous two paragraphs.
configure.ac:466: error:
po/Makefile.in' is already registered with AC_CONFIG_FILES. ./lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from... configure.ac:466: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 autoheader: error: '/usr/bin/autom4te' failed with exit status: 1 configure.ac:466: error:
po/Makefile.in' is already registered with AC_CONFIG_FILES../lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from...
configure.ac:466: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
automake: error: autoconf failed with exit status: 1
configure.ac:466: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
./lib/autoconf/status.m4:289: AC_CONFIG_FILES is expanded from...
configure.ac:466: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
****************************************** THE FIX ******************************************
git clone https://github.com/alsa-project/alsa-utils.git
cd alsa-utils
wget https://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
wget https://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
aclocal --force -I m4
autoreconf -fiv
gettextize
autoheader
automake --foreign --copy --add-missing
./configure --disable-alsatest --disable-alsaconf --disable-bat --disable-xmlto --with-curses=ncursesw
make
Despite lots of warnings as follows:-
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
configure.ac:22: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:26: warning: The macro `AC_ERROR' is obsolete.
configure.ac:223: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:313: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:397: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:466: warning: AC_OUTPUT should be used without arguments.
alsactl/Makefile.am:69: warning: '%'-style pattern rules are a GNU make extension
gettextize: *** po/Makefile.in.in exists: use option -f if you really want to delete it.
and ones regarding the .po files e.g.
fr.po:828: warning: internationalised messages should not contain the '\r' escape sequence
eu.po:849: warning: internationalised messages should not contain the '\r' escape sequence
etc...
The build and installation succeeded nevertheless.
One other issue was that 'alsamixer' refused to run unless a system link was created for 'libasound_module_ctl_pipewire.so' as follows:-
sudo ln -s /usr/local/lib/x86_64-linux-gnu/alsa-lib/libasound_module_ctl_pipewire.so /usr/local/lib/alsa-lib/libasound_module_ctl_pipewire.so
which is most likely an Ubuntu (Debian) specific problem.
The following toolchain was utilised:-
aclocal (GNU automake) 1.16.5
autoreconf (GNU Autoconf) 2.71
gettextize (GNU gettext-tools) 0.21
autoheader (GNU Autoconf) 2.71
automake (GNU automake) 1.16.5
gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)
You're welcome!!!
The text was updated successfully, but these errors were encountered: