Page 5 of 5 FirstFirst ... 345
Results 41 to 42 of 42

Thread: Arch Linux 2009.08 Benchmarks

  1. #41
    Join Date
    Sep 2006
    Location
    PL
    Posts
    910

    Default

    Quote Originally Posted by BlackStar View Post
    You'd use the Arch Build System to trivially modify build options. Of course, chances are someone has already created the build script you want.
    in case of complex packages (like mplayer) things are not so trivial.

    e.g. you want enable some new feature in mplayer, you have to

    1. add/change --enable- or --with- configure flag in the PKGBUILD.
    2. try building
    3. install missing dependencies, fix up the pkgbuild to include these dependencies
    4. try building again
    5. if there are missing dependencies, go back to 3, or fix the sources, in case of build error.
    6. in case you get stuck - wait for someone else who'll do it, or give it up.
    7. success

    in case of gentoo, you have to change one environment variable, and that's pretty much it. changing it alters dependencies, and the package manager takes care of it.

    most well-written ebuilds cover all possible build option combinations for their package. (mplayer ebuild probably covers 95% of configure combinations).

    also ebuilds can require their dependencies to be built with certain features enabled or disabled. e.g. amarok2 requires that mysql is built with "embedded" feature. you just cannot do that in archlinux.



    the problem with arch linux ABS is - PKGBUILDS are static scripts. sometimes changing them involves a lot of work. gentoo ebuilds are more flexible in this regard - you need to alter the USE variable to make them build software with different set of features.
    Last edited by yoshi314; 08-16-2009 at 04:33 PM.

  2. #42
    Join Date
    Mar 2009
    Location
    Hellas
    Posts
    1,068

    Default

    Quote Originally Posted by BlackStar View Post
    You'd use the Arch Build System to trivially modify build options. Of course, chances are someone has already created the build script you want.
    But now we enter again in the world of source where compilation takes place. So if you are gonna do this you understand why someone choosed gentoo which masters in things which have to do with compile and solve depedencies.
    Last edited by Apopas; 08-16-2009 at 06:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •