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 update util-linux to 2.40 on Ubuntu 16.04 #2945
Comments
You need to install the gettext (or gettext-devel) package. The script ./autogen.sh warns if you do not have gettext. You can also disable po/ stuff by |
Thanks for your reply, but I still have some questions. Install the package and execute the ./configure --disable-liblastlog2 && make command, or directly execute the ./configure --disable-liblastlog2 --disable-nls && make command, and the following error is reported. CC misc-utils/lsfd-lsfd-unkn.o |
It seems like you do not have /usr/include/linux/bpf.h (which is usually in the kernel-headers package). The ./configure should be more careful and test for the file. I'll fix it. |
Addresses: util-linux#2933 Addresses: util-linux#2945 Signed-off-by: Karel Zak <kzak@redhat.com>
I tried replacing the existing file configure.ac, but it didn't work. There are still some problems. Hope you can help me again. CC misc-utils/lsfd-lsfd-unkn.o |
Visit the github repository of util-linux to obtain the source code for upgrade,execute the "./configure --disable-liblastlog2 && make" command, and the following error is reported
make all-recursive
make[1]: Entering directory '/home/sinovision/util-linux-2.40'
Making all in po
make[2]: Entering directory '/home/sinovision/util-linux-2.40/po'
test ! -f ./util-linux.pot ||
test -z "ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo" || make ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo
make[3]: Entering directory '/home/sinovision/util-linux-2.40/po'
rm -f ca.gmo && : -c --statistics --verbose -o ca.gmo ca.po
mv: cannot stat 't-ca.gmo': No such file or directory
Makefile:662: recipe for target 'ca.gmo' failed
make[3]: *** [ca.gmo] Error 1
make[3]: Leaving directory '/home/sinovision/util-linux-2.40/po'
Makefile:699: recipe for target 'stamp-po' failed
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory '/home/sinovision/util-linux-2.40/po'
Makefile:16921: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sinovision/util-linux-2.40'
Makefile:7280: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: