[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.



-- 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)
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.

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


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.


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!