The archives for March, 2008


Mar 24

Dumb Airone

I have installed with succeeding the version beta of Ubuntu hardy Heron, but after to have installed driver ati the 8,03 my audio system has gone in tilt. In short it comes emitted the classic bip of login manager but then more the nothing. Mine laptop it is equipped with: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller.
The error is this:

And: alsa-util.c: Device Error opening PCM hw: 0: Device or occupied resource
And: module.c: Failed to load module “module-alsa-sink” (argument: “device_id=0 sink_name=alsa_output.pci_8086_24d5_sound_card_0_alsa_playback_0 ″): initialization failed.

It seems that fglrx it installs a module or a plugin that goes in conflict with alsa occupying the device or the resource hw: 0 (my audio card). The problem afflicts to me from some day, and, if someone of it has experience, and wants to put it on hand, is absolutely the welcome.

Mar 17

A GUI for ffmpeg

The conversion of rows video is an operation in which, sooner or later, all the fans of computer science attempt. To such purpose one of the certain advantages of the platform windows has been, from always, the possibility to use graphical interfaces preconstituted that they rendered intuitive the operations of conversion between the several formats. Task to es. to the Super program, real WinFF.
The installation on ubuntu is simplest, enough to make the download of the package deb and to install it with the manager. WinFF.png The program puts on hand of default various preset (says the word to it, “pre-set up models of conversion”; to. es. for ipod, or dvd, or psp), but the possibility is had however to create itself some of own.

P.S. In order to work it is necessary to install ffmpeg from the repo of Medibuntu, because that one distributed with ubuntu does not work (lacks some codec owners):

# Medibuntu
deb http://packages.medibuntu.org/ gutsy free non-free
deb-src http://packages.medibuntu.org/ gutsy free non-free

wget http://packages.medibuntu.org/medibuntu-key.gpg - Or | I sudo apt-key add -

I sudo apt-get update && I sudo apt-get install ffmpeg

Mar 15

To compile Kdenetwork

After amarok 2 the next step in the construction of mine kde 4,1 (nearly) super ones modernized to the last version of development available has been the compilation of kdenetwork (kopete, krdc, kpp, kget…). As usual, problems! Here the error:

conflicting return type specified for `virtual bool XMPP:: SimpleSASLContext:: waitForResultsReady (int) '

The solution is that to cancel libqca and libqca-dev and to install compiling them directly them from kdesupport.
(more…)

Mar 14

Amarok 2, the point.

Like already said in post the precedence, the task to compile amarok 2 with the script put on hand from kde (kdesvn-build extragear/multimedia/amarok)amarok2.pnghas been revealed more arduous of the previewed one, tant'è that I have decided to resort to the old systems. And, as usual, the old systems have revealed the best ones:

  • to modify the rows $HOME/.bashrc inserting these lines of code:
    export YACC='byacc - of
    export QTDIR=/path/to/qt-copy
    export KDEDIR=/path/to/kde4
    export KDEDIRS=$KDEDIR
    export DBUSDIR=/usr
    export PKG_CONFIG_PATH=$DBUSDIR/lib/pkgconfig: $PKG_CONFIG_PATH
    export PATH=$QTDIR/bin: $KDEDIR/bin: $PATH
    export LD_LIBRARY_PATH=$QTDIR/lib: $KDEDIR/lib: $LD_LIBRARY_PATH
    eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch - car-syntax `
  • to install dependencies, to thus unload and to compile amarok 2:
    1. I sudo apt-get install libtag1-dev ruby1.8-dev libxine-dev;
    2. svn Co svn: /anonsvn.kde.org/home/kde/trunk/extragear/multimedia/amarok;
    3. cd amarok;
    4. mkdir amarok-build;
    5. cd amarok-build;
    6. cmake - DCMAKE_INSTALL_PREFIX=$KDEDIR - DCMAKE_BUILD_TYPE=debugfull ../../amarok && make VERBOSE=1 && make install.

And here amarok2; amarok2a.png
(more…)

Mar 13

Solution to the error of the bookcase deviceman.cc

figotip.jpgAs the fans of the compilation at this point know all, during the execution of make, cmake or emulate, it is easy to imbattersi in the most varied problems: satisfied dependencies, modernized packages or lacking and who more of it do not have more put some. Ergo the compilation is an absolute activity thrilling, but risky for coronary, liver and bile. The last “bilious” attack of this morning has had to this error:
extragear/multimedia/kmid/libkmid/deviceman.cc: 61: 2: error: #error HAVE_ALSA_ASOUNDLIB_H or HAVE_SYS_ASOUNDLIB_H should be defined.
In short the bookcase deviceman.cc tries the header of alsa, but it does not find it. Control in usr/includes/alsa and finds the rows in issue calmly: asounddef.h, asoundlib.h… .
This the content of deviceman.cc that it interests to us:

56#ifdef HAVE_ALSA_ASOUNDLIB_H
57# it includes
58#elif defined (HAVE_SYS_ASOUNDLIB_H)
59# it includes
60#else
61#error HAVE_ALSA_ASOUNDLIB_H or HAVE_SYS_ASOUNDLIB_H
62#endif

Enough to eliminate the line completely line 61 and, to satisfied pact of having all the dependencies, the compilation go to good aim.
P.S I have had to compile Amarok2 to part, because kdesvn-build it did not succeed to us, but this will be object of the next one post.
I hope of being useful to someone, and at the same time I hope that you help to understand me because of this problem.
The union of the minds multiplies the acquaintance…