Personal tools
You are here: Home documentation developer Gentoo
Views

How to build pd-extended on gentoo. 10/04/06.

  1. Change to your $PARENT directory... I suggest /usr/src

    cd /usr/src

    1. Get the CVS checkout script

    wget http://pure-data.cvs.sourceforge.net/pure-data/scripts/checkout-developer-layout.sh?rev=HEAD
    chmod +x checkout-developer-layout.sh

    2. Emerge dependancies of pd and plugins. This is by no means a complete list but it should help you get through most compile problems.

    speex oggvorbis theora libmpeg3 gsl imagemagick tiff jpeg quicktime ffmpeg ftgl freetype2 tcl tk alsa jack glut mesa ...

    3. edit /usr/src/pure-data/scripts/generate-pd-settings-files.sh and pay attention to 2 lines.

    GNULINUX_FONTPATH="/usr/share/fonts/TTF /usr/share/fonts/truetype /usr/share/fonts/yourfavoriteTTFfont"
    ROOT_DIR="/usr/src/pure-data/packages"

    4. edit /usr/src/pure-data/Gem/src/Pixes/filmMPEG3.h and change the include from

    libmpeg3.h
    to
    libmpeg3/libmpeg3.h

    5. apply patches

    cd /usr/src/pure-data/packages
    make patch_pd

    6. Build pd (if it fails, pay attention, you are probably missing a library)

    cd /usr/src/pure-data/packages/linux_make
    make install

    7. Make a tarball of the package

    cd /usr/src/pure-data/packages/linux_make
    make tarbz2
    This creates a file in /usr/src/pure-data/packages/linux_make/build
    i.e.: Pd-0.39.2-extended-test5-linux-i686.tar.bz2

    8. Install the package to your system

    cd /usr/src/pure-data/packages/linux_make/build
    tar jxvfpl ./Pd-0.39.2-extended-test5-linux-i686.tar.bz2
    cd ./Pd-0.39.2-extended-test5-linux-i686
    make install
    The package will install to /usr/local

    9. Create your .pdsettings file. It must be in the home directory of the user running pd. I run it as root. :)

    cd /usr/src/pure-data/scripts
    ./generate-pd-settings-files.sh
    cp /usr/src/packages/linux_make/.pdsettings ~/

    10. Make the changes permanent. Run the beast.

    ldconfig -v
    pd

    That's it. It was fun. Thanks for reading.



Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser