Results 1 to 8 of 8

Thread: how to build compiled source into RPM - avoiding make instal

  1. #1
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default how to build compiled source into RPM - avoiding make instal

    Hello

    When I download source of some application and build it with my compile parameters, instead of "make install", I would like to build rpm and install it that way.

    I read that in this way, package manager will be aware of installed software, which is not in case of "make install".

    1. is there a point in doing this?
    2. is there easy way?

    Thanks.

  2. #2
    Join Date
    Jul 2008
    Location
    Manistique, MI
    Posts
    64

    Default Re: how to build compiled source into RPM - avoiding make in

    Good news everyone!</prof. Farnsworth>
    There is a simple way to do this. It's a program called CheckInstall. And it's even in the repo's!
    Obscurum per obscurius.
    -The obscure (explained) by the more obscure.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,110
    Blog Entries
    15

    Default Re: how to build compiled source into RPM - avoiding make instal

    Quote Originally Posted by beli0135
    Hello

    When I download source of some application and build it with my compile
    parameters, instead of "make install", I would like to build rpm and
    install it that way.

    I read that in this way, package manager will be aware of installed
    software, which is not in case of "make install".

    1. is there a point in doing this?
    2. is there easy way?

    Thanks.
    Hi
    You may wish to investigate the openSUSE Build service
    Welcome to the openSUSE Build
    Service


    If the source has a spec file you can build from that. You may also
    look at building from the src rpm if one is available, then you can use
    that as a basis for your build.

    It all depends on how much time you wish to spend :-)

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 1 day 9:34, 2 users, load average: 0.05, 0.03, 0.04
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  4. #4
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: how to build compiled source into RPM - avoiding make in

    Thank you all.
    No, I dont wish to waste time. I will try with checkinstall as suggested, if not, who cares.. make install just works anyways.

  5. #5

    Unhappy Re: how to build compiled source into RPM - avoiding make in

    Useless tool, it cannot even create simple kmobiletools
    after running checkinstall i have:
    Code:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "__init__.py", line 1364, in main
      File "__init__.py", line 1048, in unsermake_main
    OSError: [Errno 2] No such file or directory: '/usr/lib/python2.5/site-packages/unsermake'
    but unsermake is on my system in proper place...

  6. #6
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: how to build compiled source into RPM - avoiding make in

    I installed it but havent had a chance of using it.
    what I mostly need it for, as I found that source compiled with the right compilation flags runs much much faster. So, if there is some app that I really need speed, I like to compile it.
    So.. looking just for a way that it be included in main package database.
    I will see when I have a chance to use it.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,110
    Blog Entries
    15

    Default Re: how to build compiled source into RPM - avoiding make instal

    Quote Originally Posted by beli0135
    I installed it but havent had a chance of using it.
    what I mostly need it for, as I found that source compiled with the
    right compilation flags runs much much faster. So, if there is some app
    that I really need speed, I like to compile it.
    So.. looking just for a way that it be included in main package
    database.
    I will see when I have a chance to use it.
    Hi
    If there is a spec file you can build it as an rpm, with your flags.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 2 days 12:42, 1 user, load average: 0.00, 0.00, 0.02
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  8. #8
    Join Date
    Jun 2008
    Location
    Belgrade, Serbia
    Posts
    719

    Default Re: how to build compiled source into RPM - avoiding make in

    Usually is not

Posting Permissions

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