Results 1 to 4 of 4

Thread: [build help] pre-build package-check says packages aren't installed, but they are.

  1. #1

    Default [build help] pre-build package-check says packages aren't installed, but they are.

    I'm trying to build some enso-os apps to use with opensuse's xfce. Their tutorials are written with respect to ubuntu/debian, so I am not surprised that the pre-build check informs me that it cannot find packages that are definitely installed, I am just not sure what to do about it.

    do I need to symbolically link something?
    or use a find command to edit some specific files to look for the package in the right place?
    Any guidance is appreciated.

    -Cyril

    https://github.com/nick92/Enso-OS/tr...sktop-settings

    Code:
    -- Checking for modules 'atk;cairo;gdk-3.0;gdk-pixbuf-2.0;gee-0.8;glib-2.0;gobject-2.0;gtk+-3.0;json-glib-1.0;libgnome-menu-3.0;libsoup-2.4;pango;pangocairo;x11;libxfce4panel-2.0;libxfconf-0;plank'
    --   No package 'libxfce4panel-2.0' found
    --   No package 'plank' found
    CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:452 (message):
      A required package was not found
    Call Stack (most recent call first):
      /usr/share/cmake/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
      CMakeLists.txt:60 (pkg_check_modules)
    Code:
    human@linux-zabz:~/workshop/enso/desktop-settings> zypper if plank libxfce4panel-2*
    Loading repository data...
    Reading installed packages...
    
    
    Information for package plank:
    ------------------------------
    Repository     : Pantheon                    
    Name           : plank                       
    Version        : 0.11.4-28.16                
    Arch           : x86_64                      
    Vendor         : obs://build.opensuse.org/X11
    Installed Size : 273.8 KiB                   
    Installed      : Yes                         
    Status         : up-to-date                  
    Source package : plank-0.11.4-28.16.src      
    Summary        : Trivial dock                
    Description    :                             
        Plank is a trivial dock.
    
        It is a library which can be extended to create other
        dock programs with more advanced features.
    
    
    Information for package libxfce4panel-2_0-4:
    --------------------------------------------
    Repository     : Main Repository (OSS)     
    Name           : libxfce4panel-2_0-4       
    Version        : 4.12.2-4.4                
    Arch           : x86_64                    
    Vendor         : openSUSE                  
    Installed Size : 113.2 KiB                 
    Installed      : Yes (automatically)       
    Status         : up-to-date                
    Source package : xfce4-panel-4.12.2-4.4.src
    Summary        : Xfce Panel Shared Library 
    Description    :                           
        This package contains GTK 3 variant of the xfce4-panel shared library.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,942
    Blog Entries
    2

    Default Re: [build help] pre-build package-check says packages aren't installed, but they are.

    First posts for building apps are usually posted to the Development forums, if they're not OBS or Studio questions, are usually posted to the Programming/Scripting forum

    https://forums.opensuse.org/forumdis...ming-Scripting

    Regarding your current issue,
    Yes, it looks like the pre-check is checking for package names and not actual files... and package names without versions.
    I'd guess that if the pre-check will allow you to proceed anyway without the pre-check succeeding, you can do so.

    Then, you'd actually find out whether the build succeeds or fails.
    Typically there is no risk to this, if the build fails, then you'll never arrive at actually creating a final result, so you can literally attempt to build and fail over and over again, each time iteratively telling you what is failing step by step.
    If you run into actual build failures because of a "file not found" or similar, then you can address however you see fit... perhaps creating a symlink.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

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

    Default Re: [build help] pre-build package-check says packages aren't installed, but they are.

    Hi
    With cmake files it should be looking for the development files/headers, suggest you install the respective development packages.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: [build help] pre-build package-check says packages aren't installed, but they are.

    Quote Originally Posted by tsu2 View Post
    First posts for building apps are usually posted to the Development forums, if they're not OBS or Studio questions, are usually posted to the Programming/Scripting forum

    https://forums.opensuse.org/forumdisplay.php/678-Programming-Scripting
    [ ... ]
    Quote Originally Posted by malcolmlewis View Post
    Hi
    With cmake files it should be looking for the development files/headers, suggest you install the respective development packages.
    I did see the development forums, and ruled them out because they seemed super obs/studio related, but I will keep the linked Programming-Scripting area in mind for future use.

    Development files. That should have dawned on me.

    Thank you both!

    -Cyril

Posting Permissions

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