Changes between Version 5 and Version 6 of Dependencies/ArchLinux

Show
Ignore:
Author:
galiyosha (IP: 92.52.19.199)
Timestamp:
12/01/08 15:19:00 (8 years ago)
Comment:

adapted to suite the style of the guide

Legend:

Unmodified
Added
Removed
Modified
  • Dependencies/ArchLinux

    v5 v6  
    11= Dependencies for !ArchLinux = 
    22 
    3 ''This page was contributed to the website docs by galiyosha on Sat, 10/04/2008 - 16:01. It has been moved over from the website unchanged. Please help fitting it into the existing [wiki:InstallingFfadoFromSource docs structure].'' 
     3''In case you're compiling FFADO for Arch Linux, I suggest you also take a look at the corresponding [http://ffado.org/?q=node/751 FFADO Manual page]. There you'll find PKGBUILDs for building Arch Linux packages both for libffado and for recent JACK version. That will hopefully save you some work and will be a cleaner way to install libffado on your system. That said, the rest of this guide is a great way to learn more about the whole process and help yourself if you encounter any issues.'' 
    44 
     5FFADO needs a few libraries along with D-Bus and PyQt for the mixer/controlling part. The required packages are `alsa-lib` (>= 1.0.0), `glibc`, `libxml++2` (>= 2.13.0), `libraw1394` (>= 1.3.0), `libiec61883` (>= 1.1.0), `dbus` (>= 1.0), `pyqt` and `dbus-python`. To install these, run 
     6{{{ 
     7sudo pacman -S alsa-lib glibc libxml++2 libraw1394 libiec61883 dbus pyqt dbus-python 
     8}}} 
    59 
    6 FFADO needs a few libraries along with D-Bus and !PyQt 3 for the mixer/controlling part. These are included in the PKGBUILD, so they should be installed automatically when running makepkg with the -s switch
     10JACK package from the extra repository is not compiled with FFADO support, so you'll have to recompile it as well
    711 
    8 JACK package from the extra repository is not compiled with FFADO support, so you'll have to recompile it as well. I wasn't able to get FFADO working with the lastest release, so you'll find a PKGBUILD for building JACK from SVN attached as well. 
    9  
    10 Obviously, you also need kernel drivers for your IEEE 1394 controller along with the raw1394 driver and the ALSA sequencer driver. These are compiled in stock kernels by default, but in case you're compiling your own, be sure to have these options set: 
     12As said later in this guide, obviously, you also need kernel drivers for your IEEE 1394 controller along with the raw1394 driver and the ALSA sequencer driver. These are compiled in stock kernels by default, but in case you're compiling your own, be sure to have these options set: 
    1113{{{ 
    1214CONFIG_IEEE1394=m 
    1820}}} 
    1921 
    20 Also, beware of conflicts between this "old" IEEE 1394 kernel stack (ieee1394, ohci1394, raw1394) and the "new" one (firewire_core, firewire_ohci). If you have both compiled, don't load them both at the same time. (Note: Although libraw1394 2.0.0 supports the new stack, I wasn't able to get libffado working with it -- libiec61883 was complaining about something.) 
    21  
    22 If you've never compiled a package in Arch Linux before, you might want to check out some info about the Arch Build System and the makepkg utility along with the corresponding man pages before carrying on. 
     22Also, beware of conflicts between this "old" IEEE 1394 kernel stack (`ieee1394`, `ohci1394`, `raw1394`) and the "new" one (`firewire_core`, `firewire_ohci`). If you have both compiled, don't load them both at the same time. I wasn't able to get libffado working with the new stack. To prevent it from loading, update the `MOD_BLACKLIST` in your `/etc/rc.conf`, for example like this: 
    2323{{{ 
    24    1. Build and install libffado: 
    25       mkdir -p /var/abs/local/libffado 
    26       cd /var/abs/local/libffado 
    27       wget -O PKGBUILD http://ffado.org/files/libffado.PKGBUILD.txt 
    28       makepkg -is 
    29    2. Remove your current installation of JACK: 
    30       sudo pacman -Rd jack-audio-connection-kit 
    31    3. Build and install JACK from SVN: 
    32       mkdir -p /var/abs/local/jack-audio-connection-kit-svn 
    33       cd /var/abs/local/jack-audio-connection-kit-svn 
    34       wget -O PKGBUILD http://ffado.org/files/jack-svn.PKGBUILD.txt 
    35       makepkg -is 
     24MOD_BLACKLIST=(firewire-ohci firewire-core) 
    3625}}} 
    37 If everything went fine, you should be able to run JACK with FFADO now: 
    38 jack -R -d firewire 
    39  
    40 If you're not and you have no idea what's wrong, have a look at the Reporting problems article and post the output on the ffado-users mailing list. 
    41  
    42 Please note, that the PKGBUILD for libffado enables compiler optimizations and disables building of a debug build. If you'd need any assistance from FFADO developers, build a non-optimized debug build of libffado first and tell makepkg to leave all the debug symbols in place. That means: 
    43  
    44     * edit the PKGBUILD for libffado and replace options=('!libtool' 'strip') with options=('!libtool' '!strip'), 
    45     * replace DEBUG=no ENABLE_OPTIMIZATIONS=yes with DEBUG=yes ENABLE_OPTIMIZATIONS=no, 
    46     * save and rebuild the package. 
    47  
     26That way, only the old IEEE 1394 kernel stack will ever be loaded.