Здравствуйте! Скачал PowerTop с офф сайта, скомпилировал, установил, лицезрею отсутствие читаемого текста((
причем файл русификации я нашел вообще на git(
что мне сделать чтобы вы могли помочь?
при этом если я выполняю до запуска export LANG=en_US, программа запускается с удобоваримым видом
вот полный цикл компиляции
roman@roman-N550JV:~/Загрузки/powertop-2.6.1$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for inline... inline
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for fdatasync... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for realpath... yes
checking for regcomp... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... yes
checking for strtoull... yes
checking for library containing delwin... -lncurses
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCIUTILS... yes
checking for LIBNL... yes
checking for library containing pthread_create... -lpthread
checking for library containing inet_aton... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating traceevent/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
roman@roman-N550JV:~/Загрузки/powertop-2.6.1$ sudo make
make all-recursive
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1'
Making all in traceevent
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/traceevent'
CC event-parse.lo
CC parse-filter.lo
CC parse-utils.lo
CC trace-seq.lo
CCLD libtraceevnet.la
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/traceevent'
Making all in src
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/src'
make all-am
make[3]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/src'
CXX parameters/powertop-persistent.o
CXX parameters/powertop-learn.o
CXX parameters/powertop-parameters.o
CXX powertop-display.o
CXX cpu/powertop-cpu_core.o
CXX cpu/powertop-cpudevice.o
CXX cpu/powertop-cpu.o
cpu/cpu.cpp: In function ‘void report_display_cpu_cstates()’:
cpu/cpu.cpp:616:28: warning: ‘_core’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!_core->can_collapse()){
^
cpu/cpu.cpp: In function ‘void report_display_cpu_pstates()’:
cpu/cpu.cpp:797:27: warning: ‘_core’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(!_core->can_collapse()){
^
CXX cpu/powertop-cpu_linux.o
CXX cpu/powertop-abstract_cpu.o
CXX cpu/powertop-cpu_package.o
CXX cpu/powertop-intel_cpus.o
CXX powertop-devlist.o
CXX powertop-lib.o
CXX report/powertop-report.o
CXX process/powertop-process.o
CXX process/powertop-processdevice.o
CXX process/powertop-powerconsumer.o
CXX process/powertop-timer.o
CXX process/powertop-work.o
CXX process/powertop-do_process.o
CXX process/powertop-interrupt.o
CXX perf/powertop-perf.o
CXX perf/powertop-perf_bundle.o
CXX devices/powertop-i915-gpu.o
CXX devices/powertop-device.o
CXX devices/powertop-alsa.o
CXX devices/powertop-runtime_pm.o
CXX devices/powertop-thinkpad-fan.o
CXX devices/powertop-usb.o
CXX devices/powertop-ahci.o
CXX devices/powertop-thinkpad-light.o
CXX devices/powertop-rfkill.o
CXX devices/powertop-backlight.o
CXX devices/powertop-network.o
CXX tuning/powertop-bluetooth.o
tuning/bluetooth.cpp: In member function ‘virtual void bt_tunable::toggle()’:
tuning/bluetooth.cpp:179:55: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("/usr/sbin/hciconfig hci0 up &> /dev/null &");
^
tuning/bluetooth.cpp:182:54: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("/usr/sbin/hciconfig hci0 down &> /dev/null");
^
CXX tuning/powertop-tuning.o
CXX tuning/powertop-tuningusb.o
CXX tuning/powertop-ethernet.o
CXX tuning/powertop-tunable.o
CC tuning/powertop-iw.o
CXX tuning/powertop-wifi.o
CXX tuning/powertop-tuningsysfs.o
CXX tuning/powertop-runtime.o
CXX calibrate/powertop-calibrate.o
calibrate/calibrate.cpp: In function ‘void idle_calibration()’:
calibrate/calibrate.cpp:361:51: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("DISPLAY=:0 /usr/bin/xset dpms force off");
^
calibrate/calibrate.cpp:363:50: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("DISPLAY=:0 /usr/bin/xset dpms force on");
^
calibrate/calibrate.cpp: In function ‘void* burn_disk(void*)’:
calibrate/calibrate.cpp:242:29: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, buffer, 64*1024);
^
calibrate/calibrate.cpp: In function ‘void backlight_calibration()’:
calibrate/calibrate.cpp:353:51: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("DISPLAY=:0 /usr/bin/xset dpms force off");
^
calibrate/calibrate.cpp:355:50: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("DISPLAY=:0 /usr/bin/xset dpms force on");
^
CXX measurement/powertop-measurement.o
CXX measurement/powertop-acpi.o
CXX measurement/powertop-sysfs.o
CXX measurement/powertop-extech.o
measurement/extech.cpp: In member function ‘void extech_power_meter::measure()’:
measurement/extech.cpp:290:19: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, " ", 1);
^
CXX report/powertop-report-maker.o
CXX report/powertop-report-formatter-base.o
CXX report/powertop-report-formatter-csv.o
CXX report/powertop-report-formatter-html.o
CXX report/powertop-report-data-html.o
CXX powertop-main.o
CXX cpu/powertop-intel_gpu.o
CXX cpu/rapl/powertop-rapl_interface.o
CXX cpu/powertop-cpu_rapl_device.o
CXX cpu/powertop-dram_rapl_device.o
CXX devices/powertop-gpu_rapl_device.o
CXXLD powertop
make[3]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/src'
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/src'
Making all in po
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/po'
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/po'
Making all in doc
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/doc'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/doc'
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1'
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1'
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1'
roman@roman-N550JV:~/Загрузки/powertop-2.6.1$ sudo make install
Making install in traceevent
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/traceevent'
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/traceevent'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/traceevent'
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/traceevent'
Making install in src
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/src'
make install-am
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/src'
make[3]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/src'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
/bin/bash ../libtool --mode=install /usr/bin/install -c powertop '/usr/local/sbin'
libtool: install: /usr/bin/install -c powertop /usr/local/sbin/powertop
make[3]: Цель `install-data-am' не требует выполнения команд.
make[3]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/src'
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/src'
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/src'
Making install in po
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/po'
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/powertop.mo
installing cs_CZ.gmo as /usr/local/share/locale/cs_CZ/LC_MESSAGES/powertop.mo
installing de_DE.gmo as /usr/local/share/locale/de_DE/LC_MESSAGES/powertop.mo
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/powertop.mo
installing en_US.gmo as /usr/local/share/locale/en_US/LC_MESSAGES/powertop.mo
installing es_ES.gmo as /usr/local/share/locale/es_ES/LC_MESSAGES/powertop.mo
installing hu_HU.gmo as /usr/local/share/locale/hu_HU/LC_MESSAGES/powertop.mo
installing id_ID.gmo as /usr/local/share/locale/id_ID/LC_MESSAGES/powertop.mo
installing nl_NL.gmo as /usr/local/share/locale/nl_NL/LC_MESSAGES/powertop.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/powertop.mo
/usr/bin/install: не удалось выполнить stat для «./ru_RU.gmo»: Нет такого файла или каталога
installing ./ru_RU.gmo as /usr/local/share/locale/ru_RU/LC_MESSAGES/powertop.mo
if test "powertop" = "gettext-tools"; then \
/bin/mkdir -p /usr/local/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /usr/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/po'
Making install in doc
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/doc'
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1/doc'
make[2]: Цель `install-exec-am' не требует выполнения команд.
test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8"
/usr/bin/install -c -m 644 powertop.8 '/usr/local/share/man/man8'
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/doc'
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1/doc'
make[1]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1'
make[2]: Вход в каталог `/home/roman/Загрузки/powertop-2.6.1'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1'
make[1]: Выход из каталога `/home/roman/Загрузки/powertop-2.6.1'