Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: problem with checkinstall

Hybrid View

  1. #1

    Default problem with checkinstall

    Hello.

    I have successfully compiled oxygen transparent theme for kde. But instead of running make install run checkinstall to create a rpm to install / uninstall easily the package but I get an error:

    Code:
    Creando la lista de archivos...OK
    /usr/sbin/checkinstall: línea 2306: [: RPM: se esperaba una expresión entera
    /usr/sbin/checkinstall: línea 2314: [: RPM: se esperaba una expresión entera
    /usr/sbin/checkinstall: línea 2334: [: RPM: se esperaba una expresión entera
    
    Creando paquete RPM... FAILED!
    
    *** La creación del paquete falló
    In the log is the following message:

    rpm: --buildroot: opción desconocida

    Thanks.

  2. #2

    Default Re: problem with checkinstall

    Quote Originally Posted by jony127 View Post
    Hello.

    I have successfully compiled oxygen transparent theme for kde. But instead of running make install run checkinstall to create a rpm to install / uninstall easily the package but I get an error:

    Code:
    Creando la lista de archivos...OK
    /usr/sbin/checkinstall: línea 2306: [: RPM: se esperaba una expresión entera
    /usr/sbin/checkinstall: línea 2314: [: RPM: se esperaba una expresión entera
    /usr/sbin/checkinstall: línea 2334: [: RPM: se esperaba una expresión entera
    
    Creando paquete RPM... FAILED!
    
    *** La creación del paquete falló
    In the log is the following message:

    rpm: --buildroot: opción desconocida

    Thanks.
    Which openSUSE version are you using?

    I don't understand your error messages. Maybe try to run it with prepending "LANG=C" to get english messages and post them?
    But your checkinstall seems to use rpm for building the RPM package.
    rpm cannot be used anymore for building rpms, you have to use rpmbuild nowadays.

    Where do you have checkinstall from?
    The RPM included in openSUSE 12.3 (and also in earlier versions) should work, at least it does (and did) for me...

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: problem with checkinstall

    On 07/22/2013 07:06 PM, jony127 wrote:
    > I have successfully compiled oxygen transparent theme for kde.


    isn't that theme already available in the openSUSE repos--do you just
    want practice doing more than simply installing with YaST?

    (if i don't understand--please excuse..)

    --
    dd
    http://tinyurl.com/DD-Caveat

  4. #4

    Default Re: problem with checkinstall

    Quote Originally Posted by DenverD View Post
    On 07/22/2013 07:06 PM, jony127 wrote:
    > I have successfully compiled oxygen transparent theme for kde.


    isn't that theme already available in the openSUSE repos--do you just
    want practice doing more than simply installing with YaST?

    (if i don't understand--please excuse..)
    I do not think that is available in the repos, I do not see. I want to create an rpm with the latest version.

    I think that is compiled into the build-service but not that version, so I wanted to compile it myself.

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: problem with checkinstall

    On 07/22/2013 08:16 PM, jony127 wrote:
    >
    > I do not think that is available in the repos, I do not see. I want to
    > create an rpm with the latest version.


    i see something here for 12.3
    http://software.opensuse.org/package/oxygen-transparent

    --
    dd
    http://tinyurl.com/DD-Caveat

  6. #6

    Default Re: problem with checkinstall

    Quote Originally Posted by jony127 View Post
    Hello.

    I have successfully compiled oxygen transparent theme for kde. But instead of running make install run checkinstall to create a rpm to install / uninstall easily the package but I get an error:

    Code:
    Creando la lista de archivos...OK
    /usr/sbin/checkinstall: línea 2306: [: RPM: Expected integer expression.
    /usr/sbin/checkinstall: línea 2314: [: RPM: Expected integer expression.
    /usr/sbin/checkinstall: línea 2334: [: RPM: Expected integer expression.
    
    creating package RPM... FAILED!
    
    *** The package creation failed
    In the log is the following message:

    rpm: --buildroot: unknown option

    Thanks.
    I put the message all translated. I have opensuse 12.3.

    So I can not use checktinstall? it asks me if I want to start a package for slackware, or an RPM or Debian package.

  7. #7

    Default Re: problem with checkinstall

    So I can not use checktinstall? it asks me if I want to start a package for slackware, or an RPM or Debian package.
    Well, as I said, checkinstall as included in openSUSE works fine for me.
    How exactly are you calling it? You did enter 'r' to create an rpm, did you?

    Please show the output of:
    Code:
    rpm -qi checkinstall
    Maybe you could point me to the source code you want to install, and I will create a package for you. (for openSUSE that is)

  8. #8

    Default Re: problem with checkinstall

    Code:
    /home/jonatan/compilar/oxygen-transparent/build # LANG=en_US.UTF-8 checkinstall
    
    checkinstall 1.6.2, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
               This software is released under the GNU GPL.
    
    
    The package documentation directory ./doc-pak does not exist. 
    Should I create a default set of package docs?  [y]: n
    
    Please choose the packaging method you want to use.
    Slackware [S], RPM [R] or Debian [D]? r
    
    
    Please write a description for the package.
    End your description with an empty line or EOF.
    >> Tema transparente para KDE 4.10
    >> 
    
    **************************************
    **** RPM package creation selected ***
    **************************************
    
    This package will be built according to these values: 
    
    1 -  Summary: [ Tema transparente para KDE 4.10 ]
    2 -  Name:    [ build ]
    3 -  Version: [ 20130722 ]
    4 -  Release: [ 1 ]
    5 -  License: [ GPL ]
    6 -  Group:   [ Applications/System ]                                                                                                                                                                      
    7 -  Architecture: [ x86_64 ]                                                                                                                                                                              
    8 -  Source location: [ build ]                                                                                                                                                                            
    9 -  Alternate source location: [  ]                                                                                                                                                                       
    10 - Requires: [  ]                                                                                                                                                                                        
    11 - Provides: [ build ]                                                                                                                                                                                   
                                                                                                                                                                                                               
    Enter a number to change any of them or press ENTER to continue: 2                                                                                                                                         
    Enter new name:                                                                                                                                                                                            
    >> oxygen-transparent                                                                                                                                                                                      
                                                                                                                                                                                                               
    This package will be built according to these values:                                                                                                                                                      
                                                                                                                                                                                                               
    1 -  Summary: [ Tema transparente para KDE 4.10 ]                                                                                                                                                          
    2 -  Name:    [ oxygen-transparent ]                                                                                                                                                                       
    3 -  Version: [ 20130722 ]                                                                                                                                                                                 
    4 -  Release: [ 1 ]                                                                                                                                                                                        
    5 -  License: [ GPL ]                                                                                                                                                                                      
    6 -  Group:   [ Applications/System ]                                                                                                                                                                      
    7 -  Architecture: [ x86_64 ]                                                                                                                                                                              
    8 -  Source location: [ build ]                                                                                                                                                                            
    9 -  Alternate source location: [  ]
    10 - Requires: [  ]
    11 - Provides: [ build ]
    
    Enter a number to change any of them or press ENTER to continue: 
    
    Installing with make...Installing with install...
    
    ========================= Installation results ===========================
    [  0%] Built target oxygentransparentstyle_automoc
    [  9%] Built target oxygentransparentstyle
    [  9%] Built target oxygentransparentstyleconfig_automoc
    [ 20%] Built target oxygentransparentstyleconfig
    [ 20%] Built target kwin3_oxygen_transparent_automoc
    [ 29%] Built target kwin3_oxygen_transparent
    [ 29%] Built target kwin_oxygen_transparent_config_automoc
    [ 41%] Built target kwin_oxygen_transparent_config
    [ 41%] Built target oxygen_transparent_automoc
    [ 88%] Built target oxygen_transparent
    [ 88%] Built target kstyle_oxygen_transparent_config_automoc
    [ 97%] Built target kstyle_oxygen_transparent_config
    [ 97%] Built target oxygen-transparent-settings_automoc
    [100%] Built target oxygen-transparent-settings
    Install the project...
    -- Install configuration: "release"
    -- Installing: /usr/lib64/liboxygentransparentstyle.so.4.10.5
    -- Installing: /usr/lib64/liboxygentransparentstyle.so.4
    -- Installing: /usr/lib64/liboxygentransparentstyle.so
    -- Installing: /usr/lib64/liboxygentransparentstyleconfig.so.4.10.5
    -- Installing: /usr/lib64/liboxygentransparentstyleconfig.so.4
    -- Installing: /usr/lib64/liboxygentransparentstyleconfig.so
    -- Installing: /usr/lib64/kde4/kwin3_oxygen_transparent.so
    -- Installing: /usr/share/kde4/apps/kwin/oxygentransparentclient.desktop
    -- Installing: /usr/lib64/kde4/kwin_oxygen_transparent_config.so
    -- Installing: /usr/lib64/kde4/plugins/styles/oxygen_transparent.so
    -- Installing: /usr/share/kde4/apps/kstyle/themes/oxygen_transparent.themerc
    -- Installing: /usr/lib64/kde4/kstyle_oxygen_transparent_config.so
    -- Installing: /usr/bin/oxygen-transparent-settings
    
    ======================== Installation successful ==========================
    
    Some of the files created by the installation are inside the home directory: /home
    
    You probably don't want them to be included in the package.
    Do you want me to list them?  [n]: 
    Should I exclude them from the package? (Saying yes is a good idea)  [n]: n
    
    Copying files to the temporary directory...OK
    
    Stripping ELF binaries and libraries...OK
    
    Compressing man pages...OK
    
    Building file list...OK
    
    *** The "rpmbuild" program is not in your PATH!
    
    *** RPM package creation aborted
    
    Erasing temporary files...OK
    
    Deleting doc-pak directory...OK
    
    Writing backup package...OK
    OK
    
    Deleting temp dir...OK
    and

    rpm -qi checkinstall
    Name : checkinstall
    Version : 1.6.2
    Release : 20.1.1
    Architecture: x86_64
    Install Date: mar 16 jul 2013 13:28:48 WEST
    Group : Development/Tools/Building
    Size : 229807
    License : GPL-2.0+
    Signature : RSA/SHA256, sáb 26 ene 2013 15:27:29 WET, Key ID b88b2fd43dbdc284
    Source RPM : checkinstall-1.6.2-20.1.1.src.rpm
    Build Date : sáb 26 ene 2013 15:27:18 WET
    Build Host : build27
    Relocations : (not relocatable)
    Packager : openSUSE:Submitting bug reports - openSUSE
    Vendor : openSUSE
    URL : CheckInstall Homepage
    Summary : "make install" Installation Tracker

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: problem with checkinstall

    On 2013-07-22 21:36, jony127 wrote:

    > *** The "rpmbuild" program is not in your PATH!


    That is your problem, install it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  10. #10

    Default Re: problem with checkinstall

    Quote Originally Posted by robin_listas View Post
    On 2013-07-22 21:36, jony127 wrote:

    > *** The "rpmbuild" program is not in your PATH!


    That is your problem, install it.
    The package is called "rpm-build".

Page 1 of 3 123 LastLast

Posting Permissions

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