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.

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… :wink:

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/Portal:Packaging
https://en.opensuse.org/openSUSE:OSC

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!

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