这个问题确实困扰了我好久,pc上插着耳线,想要把机箱声音关掉,只开着耳机也不容易,每次都要开机后手动去设定。
摸索了一下午终于搞定了~
在/etc/profile中加入以下几行
1 2 3 |
if ! amixer -c0 sget "Master Mono" | grep -q off ; then amixer -c0 sset "Master Mono" toggle -q fi |
Beyond The Data
check the env configuration failed,
the fix is to install gcc-g++ package, but currently the dependency of F15 is not yet built-up,
I’m currently using gcc-4.6.0-7.fc15.i686
but it depends on gcc-4.6.0-6.fc15
… oh…
1 2 3 4 5 6 7 8 9 10 11 |
[suse@suse ~/Download/mednafen]$./configure checking for gcc... gcc checking whether the C compiler works... yes ... ... checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/home/suse/Download/mednafen': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details |
I turned to Libreoffice for the yum issues on openoffice, install from official binary.
a small issue when startup application:
1 2 3 4 |
[suse@suse ~]$swriter /opt/libreoffice/program/../basis-link/ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libproxy.so.1) Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so |
thanks google, it should be a potential problem on the cxx lib version, the attached lib on Libreoffice is old,
FIX:
just replace(ln) to the os current lib.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
[suse@suse /opt/libreoffice/basis-link/ure-link/lib]$rpm -qf /usr/lib/libstdc++.so.6 libstdc++-4.6.0-7.fc15.i686 [suse@suse /opt/libreoffice/basis-link/ure-link/lib]$strings libstdc++.so.6.0527 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_FORCE_NEW [suse@suse /opt/libreoffice/basis-link/ure-link/lib]$strings libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_FORCE_NEW GLIBCXX_DEBUG_MESSAGE_LENGTH |
After new OS image refreshed, I decided to add on the office package, as chosen on F11 I picked up the OOo from its mainpage.
but after the installation I found the yum dependencies were destroyed. seems OOo already been obsoleted by Libreoffice. but dependency builds failed.
1 2 3 4 5 6 7 8 9 10 11 12 |
[suse@suse ~]$rpm -qa| grep openoffice openoffice.org3-dict-en-3.3.0-9567.i586 openoffice.org3-math-3.3.0-9567.i586 openoffice.org3-impress-3.3.0-9567.i586 openoffice.org3-base-3.3.0-9567.i586 openoffice.org3.3-freedesktop-menus-3.3-9556.noarch openoffice.org3-zh-CN-3.3.0-9567.i586 openoffice.org3-writer-3.3.0-9567.i586 openoffice.org-ure-1.7.0-9567.i586 openoffice.org3-draw-3.3.0-9567.i586 openoffice.org3-calc-3.3.0-9567.i586 openoffice.org3-3.3.0-9567.i586 |
failed when using yum update/other installations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
[root@suse ~]$LANG= [root@suse ~]$yum update Loaded plugins: langpacks, presto, refresh-packagekit Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package libreoffice-ure.i686 1:3.3.2.2-7.fc15 will be obsoleting --> Processing Dependency: jre >= 1.5.0 for package: 1:libreoffice-ure-3.3.2.2-7.fc15.i686 ---> Package openoffice.org-ure.i586 0:1.7.0-9567 will be obsoleted --> Processing Dependency: openoffice.org-ure for package: openoffice.org3-3.3.0-9567.i586 --> Processing Dependency: openoffice.org-ure for package: ooobasis3.3-core01-3.3.0-9567.i586 --> Processing Dependency: openoffice.org-ure for package: openoffice.org3-dict-en-3.3.0-9567.i586 --> Running transaction check ---> Package java-1.6.0-openjdk.i686 1:1.6.0.0-57.1.10.1.fc15 will be installed ---> Package openoffice.org-ure.i586 0:1.7.0-9567 will be obsoleted --> Processing Dependency: openoffice.org-ure for package: openoffice.org3-3.3.0-9567.i586 --> Processing Dependency: openoffice.org-ure for package: ooobasis3.3-core01-3.3.0-9567.i586 --> Processing Dependency: openoffice.org-ure for package: openoffice.org3-dict-en-3.3.0-9567.i586 --> Finished Dependency Resolution Error: Package: openoffice.org3-dict-en-3.3.0-9567.i586 (installed) Requires: openoffice.org-ure Removing: openoffice.org-ure-1.7.0-9567.i586 (installed) openoffice.org-ure = 1.7.0-9567 Obsoleted By: 1:libreoffice-ure-3.3.2.2-7.fc15.i686 (fedora) Not found Error: Package: ooobasis3.3-core01-3.3.0-9567.i586 (installed) Requires: openoffice.org-ure Removing: openoffice.org-ure-1.7.0-9567.i586 (installed) openoffice.org-ure = 1.7.0-9567 Obsoleted By: 1:libreoffice-ure-3.3.2.2-7.fc15.i686 (fedora) Not found Error: Package: openoffice.org3-3.3.0-9567.i586 (installed) Requires: openoffice.org-ure Removing: openoffice.org-ure-1.7.0-9567.i586 (installed) openoffice.org-ure = 1.7.0-9567 Obsoleted By: 1:libreoffice-ure-3.3.2.2-7.fc15.i686 (fedora) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest |
I was using the OOo at F11 environment and don’t wanna a change, it’s also why I still trying to fetch the OOo package.
My guessing it should not be a good idea to add dependency on libre/OOo office packages to replace each other. but seems no better choices.
Either I dont want to fetch Libre* packages from rpm source since it builds dependencies on its own JRE and some unneeded rpms…
W/R
an alternative workaround may be to pick up Libre* build from it’s officalsite to replace my current setups. will have a try.
finally decided to upgrade my host os to F15_XFCE.
fetch livecd and install as hardware img, all goes wel.
it’s very nice to see that firefox already upto 4.0.1 and kernel 2.6.38-27.
will upgrade kernel if necessary.