не компилится x11-misc/read-edid-1.4.1-r1[solved]

Хочу поставить lm_sensors

Цитата:
emerge -pv lm_sensors

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-fs/sysfsutils-2.1.0 771 kB
[ebuild N ] x11-misc/read-edid-1.4.1-r1 76 kB
[ebuild N ] sys-apps/lm_sensors-2.10.7 USE="-sensord" 913 kB

Total: 3 packages (3 new), Size of downloads: 1,758 kB

вылетает с ошибкой на устанавливаемой по зависимостям read-edid

Цитата:
emerge lm_sensors
----------------------------------
----------------------------------
>>> Emerging (2 of 3) x11-misc/read-edid-1.4.1-r1
* read-edid-1.4.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking read-edid-1.4.1.tar.gz to /var/tmp/portage/x11-misc/read-edid-1.4.1-r1/work
* Applying read-edid-arch.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/x11-misc/read-edid-1.4.1-r1/work/read-edid-1.4.1' ...
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running automake --add-missing --copy ... [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-misc/read-edid-1.4.1-r1/work
>>> Compiling source in /var/tmp/portage/x11-misc/read-edid-1.4.1-r1/work/read-edid-1.4.1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
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... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make -j2
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"read-edid\" -DVERSION=\"1.4.1\" -I. -O2 -march=athlon-xp -pipe -MT get-edid.o -MD -MP -MF .deps/get-edid.Tpo -c -o get-edid.o get-edid.c
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"read-edid\" -DVERSION=\"1.4.1\" -I. -O2 -march=athlon-xp -pipe -MT lrmi.o -MD -MP -MF .deps/lrmi.Tpo -c -o lrmi.o lrmi.c
lrmi.c: In function 'set_regs':
lrmi.c:305: error: 'IF_MASK' undeclared (first use in this function)
lrmi.c:305: error: (Each undeclared identifier is reported only once
lrmi.c:305: error: for each function it appears in.)
lrmi.c:305: error: 'IOPL_MASK' undeclared (first use in this function)
lrmi.c: In function 'run_vm86':
lrmi.c:784: error: 'VIF_MASK' undeclared (first use in this function)
lrmi.c:784: error: 'TF_MASK' undeclared (first use in this function)
lrmi.c: In function 'LRMI_int':
lrmi.c:873: error: 'IF_MASK' undeclared (first use in this function)
lrmi.c:873: error: 'IOPL_MASK' undeclared (first use in this function)
make: *** [lrmi.o] Error 1
make: *** Waiting for unfinished jobs....
mv -f .deps/get-edid.Tpo .deps/get-edid.Po
*
* ERROR: x11-misc/read-edid-1.4.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2572: Called _eapi0_src_compile
* ebuild.sh, line 609: Called _eapi2_src_compile
* ebuild.sh, line 643: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-misc/read-edid-1.4.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-misc/read-edid-1.4.1-r1/temp/environment'.
*

>>> Failed to emerge x11-misc/read-edid-1.4.1-r1, Log file:

>>> '/var/tmp/portage/x11-misc/read-edid-1.4.1-r1/temp/build.log'

Подскажите плз что нужно делать?

http://tinyurl.com/cv8dus В

http://tinyurl.com/cv8dus

В частности, там советуют сделать echo "x11-misc/read-edid" >> /etc/portage/package.keywords и попробовать снова.

Спасибо сделел так: echo

Спасибо сделел так:
echo "=x11-misc/read-edid-1.4.2 ~x86" >> /etc/portage/package.keywords
read-edid поставился
Правдо дальше больше ((

Цитата:
>>> Emerging (2 of 2) sys-apps/lm_sensors-2.10.7
* lm_sensors-2.10.7.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.27-gentoo-r7/build
* Found sources for kernel version:
* 2.6.27-gentoo-r7
*
* lm_sensors-2.10.7 requires CONFIG_HWMON to be enabled for 2.6.14+ kernels.
*
*
* ERROR: sys-apps/lm_sensors-2.10.7 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* lm_sensors-2.10.7.ebuild, line 57: Called die
* The specific snippet of code:
* die "CONFIG_HWMON not detected"
* The die message:
* CONFIG_HWMON not detected
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/lm_sensors-2.10.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/lm_sensors-2.10.7/temp/die.env'.
*

>>> Failed to emerge sys-apps/lm_sensors-2.10.7, Log file:

Что за CONFIG_HWMON

Идём в make menuconfig,

Идём в make menuconfig, нажимаем /, вводим CONFIG_HWMON, включаем, ну а дальше - как обычно.

Прошу прощения, я всёравно не

Прошу прощения, я всёравно не понял(( Как это make menuconfig в ядре чтоли?
# cd /usr/portage/sys-apps/lm_sensors/
# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.

Ну а где ты его ещё видел?

Ну а где ты его ещё видел? :-)

Symbol: HWMON [=n]

Спасиб пересобрал ядро все получилось

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".