LinuxForum.Fans
Тема

Проблема с make.conf

Автор: tyrnov 51 сообщений 13735 просмотров
#93728

Спасибо HTaeD с package.use разобрался и сделал все. Но споткнулся с проблемой установки в мозиле Flash Player. В нете поискал нашел что в 64 битных ос с этим проблема у меня как раз amd64. Есть ли тут выход? И проблема с разрешением экрана ставит 800*600 и других нету выбора. Драйвер ставил на nvidia:

text
emerge nvidia
#93735

emerge www-plugins/adobe-flash
В файрфоксе и опере должен автоматом подцепляться, в чём-нить более экзотическом могут быть проблемы.
Дока по настройке карточек NVIDIA. или проблема серьёзней?

#93737

tyrnov, добавьте в /etc/make.conf строки

text

INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="nvidia"

Убедитесь, что в ядре включены следующие опции модулями (разумеется, смотрите на своё «железо» или покажите вывод команды lspci -k)

text

zegrep 'AGP|DRM' /proc/config.g
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_DRM is not set

Выполните

text

emerge -auDNv world

Приведите файл /etc/X11/xorg.conf примерно (у меня xorg-server-1.9) к такому виду:

Показать

###
Section "Extensions"
Option "Composite" "Disable"
EndSection

#
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions"
#
FontPath "/usr/share/fonts/liberation-fonts/"
# FontPath "/usr/share/fonts/ttf-bitstream-vera/"
# FontPath "/usr/share/fonts/urw-fonts/"
# FontPath "/usr/share/fonts/intlfonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/droid/"
FontPath "/usr/share/fonts/dejavu/"
# FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/misc/:unscaled"
# FontPath "/usr/share/fonts/100dpi/:unscaled"
# FontPath "/usr/share/fonts/75dpi/:unscaled"
# FontPath "/usr/share/fonts/default/ghostscript/"
# FontPath "/usr/share/fonts/Speedo/"
EndSection

Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "us,ru(winkeys)"
# Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:lwin_toggle,grp:switch,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection

Section "InputClass"
Identifier "mouse-all"
Driver "evdev"
MatchIsPointer "on"
EndSection

Section "InputClass"
Identifier "lirc-all"
Driver "evdev"
MatchProduct "cx88 IR (TeVii S460 DVB-S/S2)"
Option "Ignore" "on"
EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection

Section "ServerFlags"
Option "AllowEmptyInput" "True"
## Option "DPMS" "True" ####
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung"
ModelName "HD"
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "UseEDIDDpi" "FALSE"
BoardName "GeForce GT 220"
Option "NvAGP" "1"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
# Option "DynamicTwinView" "False"
# Option "FlatPanelProperties" "Scaling = Native"
EndSection
#93910
Fat-Zer написал:
emerge www-plugins/adobe-flash
В файрфоксе и опере должен автоматом подцепляться, в чём-нить более экзотическом могут быть проблемы.

Проблема вроде тока в 64 битных помню была эта проблема и на другом дистрибутиве Linux а в 32 да бес проблем все подцепилось

#93950

[console]
localhost ~ # emerge www-plugins/adobe-flash

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

ebuilds that could satisfy "www-plugins/adobe-flash" have been masked.

of the following masked packages is required to complete your request:- www-plugins/adobe-flash-10.2.161.23_pre20100927 (masked by: AdobeFlash-10.1 license(s), ~amd64 keyword)
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.

- www-plugins/adobe-flash-10.1.85.3 (masked by: AdobeFlash-10.1 license(s))
- www-plugins/adobe-flash-9.0.283.0 (masked by: AdobeFlash-9.0.31.0 license(s), ~amd64 keyword)
A copy of the 'AdobeFlash-9.0.31.0' license is located at '/usr/portage/licenses/AdobeFlash-9.0.31.0'.



For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

[/console]

Вот проблема с флешплеером
#93957
text

echo "www-plugins/adobe-flash ~amd64" >> /etc/portage/package.keywords
text

echo "www-plugins/adobe-flash AdobeFlash-10.1" >> /etc/portage/package.license

В порядке некоторого оффтопа:

tyrnov написал:

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Читайте то, что вам пишет система, она не зря это делает.
По сути: вам сообщают, что запрошенный вами пакет маскирован по лицензии и поддерживаемой архитектуре и, чтобы узнать, как его размаскировать, предлагается прочесть соответствующую страницу man либо ссылку в Gentoo Handbook.

#93959
tyrnov написал:
... споткнулся с проблемой установки в мозиле Flash Player. В нете поискал нашел что в 64 битных ос с этим проблема у меня как раз amd64. Есть ли тут выход?

Периодически с флэшплеером на 64битной системе проблемы возникают. Новая 32битная версия под Linux обычно выходит раньше, чем 64битная. На данный момент все нормально. Смотри чтобы были включены флаги "32bit 64bit". Если нет 64bit, тогда возможно есть флаг "nspluginwrapper".
А вообще перед установкой полезно сначала посмотреть, что ставишь и с какими флагами. Используя только emerge это делается так:


emerge -pv nvidia-drivers

В качестве ликбеза:

tyrnov написал:

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
text

eselect news list
eselect news read 1

Только ничего полезного там обычно не пишут wink

#93964
mycetophylax написал:
Только ничего полезного там обычно не пишут 

Не согласен, за последние пару дней уже раз пять отправлял читать новость об обновлении Perl.

Показать

eselect news read 6
2010-10-22-perl-5.12-upgrade-procedure
Title Perl 5.12 upgrade procedure
Author perl-team <perl@gentoo.org>
Author Torsten Veller <tove@gentoo.org>
Posted 2010-10-22
Revision 1

==> Run `perl-cleaner --all` after upgrading to a new Perl version! <==

"Perl 5.12 is not binary compatible with prior releases of Perl. If
you have built extensions (i.e. modules that include C code) using an
earlier version of Perl, you will need to rebuild and reinstall those
extensions." [1]

In fact, in Gentoo you currently have to rebuild all Perl modules and
all binaries linking libperl to get into a consistent state again.

perl-cleaner generates a list of broken packages and passes it to your
package manager to reinstall them. After reinstalling the packages,
perl-cleaner outputs a list of files the script could not deal with
(like modules installed not via the package manager).

See `man perl-cleaner` for its options.

[1] http://search.cpan.org/dist/perl-5.12.2/INSTALL#Changes_and_Incompatibilities
#94036
tyrnov написал:
Драйвер ставил на nvidia: emerge nvidia

После установки драйвера, его ещё надо выбрать:

text

eselect opengl list
eselect opengl set nvidia
#94937

[quote=tyrnov][console]
localhost ~ # emerge www-plugins/adobe-flash

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

ebuilds that could satisfy "www-plugins/adobe-flash" have been masked.

of the following masked packages is required to complete your request:- www-plugins/adobe-flash-10.2.161.23_pre20100927 (masked by: AdobeFlash-10.1 license(s), ~amd64 keyword)
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.

- www-plugins/adobe-flash-10.1.85.3 (masked by: AdobeFlash-10.1 license(s))
- www-plugins/adobe-flash-9.0.283.0 (masked by: AdobeFlash-9.0.31.0 license(s), ~amd64 keyword)
A copy of the 'AdobeFlash-9.0.31.0' license is located at '/usr/portage/licenses/AdobeFlash-9.0.31.0'.



For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

[/console]

Вот проблема с флешплеером[/quote]

Приветствую!
Имел аналогичную проблему с флешплеером.
Во-первых, большое спасибо за тему, многое узнал помимо чтения хендбука )) (например eix)
Сам только познаю азы генту )
Как уже было написано по команде eix ты узнаешь какие версии флешплеера тебе доступны. По твоей команде выше обрати внимание, что из этих версий не ругается на архитектуру amd64 только adobe-flash-10.1.85.3 (а ругается он только на лицензию). Значит его родимого мы и поставим. Лицензию мы ему разрешим командой echo www-plugins/adobe-flash AdobeFlash-10.1 >> /etc/portage/package.license
Мозиллу я установил LINGUAS="ru" emerge www-client/firefox-3.6.9
Ну и флешплеер установил командой USE="32bit 64bit nspluginwrapper" emerge adobe-flash
После этого у меня флешплеер в мозилле заработал. А в хроме нет, хотя с него все и началось, легче и быстрее он чем мозилла. Ну да ладно.
Вобщем как то так, если что забыл, исправлюсь.
#96061

При установке horg-x11 по emerge hal xorg-x11 выдает:
[console]
[blocks B ] <sys-apps/shadow-4.1.4.2-r6 ("<sys-apps/shadow-4.1.4.2-r6" is blocking sys-auth/consolekit-0.4.2-r4)
[blocks B ] <sys-auth/pambase-20101024 ("<sys-auth/pambase-20101024" is blocking sys-auth/consolekit-0.4.2-r4)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

('installed', '/', 'sys-auth/pambase-20100310', 'nomerge') pulled in by
>=sys-auth/pambase-20081028 required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
sys-auth/pambase required by ('installed', '/', 'sys-libs/pam-1.1.2', 'nomerge')
>=sys-auth/pambase-20080219.1 required by ('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge')

('ebuild', '/', 'sys-auth/consolekit-0.4.2-r4', 'merge') pulled in by
>=sys-auth/consolekit-0.4[policykit] required by ('ebuild', '/', 'sys-auth/polkit-0.96-r1', 'merge')
sys-auth/consolekit[policykit] required by ('ebuild', '/', 'sys-apps/hal-0.5.14-r2', 'merge')
>=sys-auth/consolekit-0.4 required by ('ebuild', '/', 'sys-apps/hal-0.5.14-r2', 'merge')

('installed', '/', 'sys-apps/shadow-4.1.4.2-r5', 'nomerge') pulled in by
sys-apps/shadow required by ('installed', '/', 'net-misc/openssh-5.5_p1-r2', 'nomerge')
sys-apps/shadow required by world


[/console]

#96067

Покажите полный вывод после команды

text

emerge hal xorg-x11

Вы используете полностью стабильную систему или производили какие-либо размаскировки?

#96077
Lupo Alberto написал:
Покажите полный вывод после команды
text

emerge hal xorg-x11

Вы используете полностью стабильную систему или производили какие-либо размаскировки?

Тогда подскажите как лучше все скопировать хотябы в файл из консоли. Ставил с нуля систему дошел до иксов и выдало такое

#96082
tyrnov написал:
Тогда подскажите как лучше все скопировать хотябы в файл из консоли.
text
emerge -av wgetpaste
text
wgetpaste -c 'emerge -pv hal xorg-x11'
#96085

http://paste.pocoo.org/show/286389/ это вывод emerge -pv hal xorg-x11

make.conf:

text

CFLAGS="-O1   -march=native -pipe"
CXXFLAGS="-O1 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"
USE="mmx sse sse2 sse3 3dnow -arts -ipv6 aac acpi alsa applet archive automount bash-completion beagle bluetooth cairo cdda consolekit cups dbus djvu dirac dri dri2 dvd encode epiphany eselect fam ffmpeg flac freetype fuse galago gedit  gphoto2 gpm ghostscript gtk gnome gnome-keyring gstreamer hal jpeg -joystick -qt3support -qt3 -qt4 -kde -ldap lm_sensors mpeg mp3 matroska mono multilib multiuser nautilus  ncurses nptl opengl ogg pch samba -sqlite tiff theora unicode udev usb v4l v4l2 vorbis win32codecs x264 xcomposite xv xvid xulrunner X"
LINGUAS="ru en"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage"
ALSA_CARDS="snd_hda_intel"
VIDEO_CARDS="nvidia"

package.use:

text

media-video/vlc qt4
#96089

Для некоторой перестраховки делаете

text

quickpkg --include-config=y sys-apps/shadow
quickpkg --include-config=y sys-auth/pambase

Затем

text

emerge -C sys-apps/shadow
emerge -C sys-auth/pambase

И опять пробуете

text

emerge -av hal xorg-x11
emerge -auDNv world
#96164

tyrnov, почему вы не добавили в make.conf строку ACCEPT_KEYWORDS="amd64" ?

#96169

HTaeD, а зачем? Для стабильной версии это подразумевается и устанавливается в профиле.

#96187

Никогда не сидел на стабильной ветке, поэтому думал что прописывать нужно в любом случае. Да и в хендбуке было, когда я ставил.

#96201
Lupo Alberto написал:
Для некоторой перестраховки делаете
text

quickpkg --include-config=y sys-apps/shadow
quickpkg --include-config=y sys-auth/pambase

Затем

text

emerge -C sys-apps/shadow
emerge -C sys-auth/pambase

И опять пробуете

text

emerge -av hal xorg-x11
emerge -auDNv world

Можно прокомментировать что происходит при этом а то все вышло поставил но осталось недопонимание что же я сделал.

Войдите или зарегистрируйтесь, чтобы ответить.