Results 1 to 3 of 3

Thread: Compiling Software - Open Build Service

  1. #1
    Join Date
    Jan 2013
    Location
    India
    Posts
    316

    Post Compiling Software - Open Build Service

    I've some questions regarding compiling software.
    1. Even if I follow the readme mentioned in the source code, some error has happened then how will I trouleshoot it. The terminal will show some rapidly changing strings of letters. For how much time will I have to wait to get the package compiled. How can I guess that given the package is of XX size then it would take y amount of time to compile.
    2. I thought if I'm compiling, why shouldn't I package a software on open build service and let others use the package. So I want absolute beginners guide for compiling / open Buid service.
    3. Is laptop hardware (Intel Core i5 3230m 2.6 GHz with turbo boost upto 3.2 GHz with 4 gb ram) sufficient for compiling.
    Acer V3-571G - openSUSE Leap 42.2; Windows 10 Pro

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,491
    Blog Entries
    15

    Default Re: Compiling Software - Open Build Service

    On Thu 05 Feb 2015 12:36:06 PM CST, vish 99 wrote:


    I've some questions regarding compiling software.
    1. Even if I follow the readme mentioned in the source code, some error
    has happened then how will I trouleshoot it. The terminal will show some
    rapidly changing strings of letters. For how much time will I have to
    wait to get the package compiled. How can I guess that given the package
    is of XX size then it would take y amount of time to compile.
    2. I thought if I'm compiling, why shouldn't I package a software on
    open build service and let others use the package. So I want absolute
    beginners guide for compiling / open Buid service.
    3. Is laptop hardware (Intel Core i5 3230m 2.6 GHz with turbo boost upto
    3.2 GHz with 4 gb ram) sufficient for compiling.


    Hi
    Like anything it's all a learning process...

    Errors can vary, maybe a missing header or devel package, changed
    location of the header (need to learn about patching). Compiler errors
    are probably the hardest, if you know about programming languages then
    it will help.

    Build locally using osc, time can vary from minutes to hours depending
    on the package and complexity, I had some that would take almost 10
    hours on a dual core machine....

    So suggest if you have an OBS account, then install osc and configure
    ~/.oscrc and find a small simple package or create some test bash
    script and package that up...

    https://en.opensuse.org/Portalackaging
    https://en.opensuse.org/openSUSESC

    Your system should be fine, although 8GB would be better if you perhaps
    decide on kvm builds. I just use a build-root. Note some packages can't
    run a parallel build (-jN_threads) so only speed would help here..

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,648

    Default Re: Compiling Software - Open Build Service

    For the most part the error messages are the clue to what went wrong. Generally missing development packages or libraries

Tags for this Thread

Posting Permissions

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