Xfce Forum

Sub domains
 

You are not logged in.

#1 2026-02-16 01:18:12

maduncle49
Member
Registered: 2025-02-02
Posts: 7
LinuxFirefox 147.0

Xfce4-panel version 4.21.1 failed to build due to missing header file.

Hello, I'm trying to build 4.21.1 version (I downloaded the source here). I'm getting error about strange missing header.

[83/205] Merging translations for plugins/pager/pager.desktop
[84/205] Merging translations for plugins/launcher/launcher.desktop
[85/205] Merging translations for plugins/directorymenu/directorymenu.desktop
ninja: job failed: cc -Iwrapper/wrapper-2.0.p -Iwrapper -I../xfce4-panel-4.21.1/wrapper -I. -I../xfce4-panel-4.21.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-
2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/libdrm -I/usr/include/fribidi -I/usr/include/pixman-1
 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I
/usr/include/xfce4/libxfce4windowing-0 -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-layer-shell -fdiagnostics-color=always -D_FIL
E_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -Wmissing-declarations -Wmissing-noreturn -Wold-style-definition -Wredundant-decls -Wpointer-arith -Wcast-a
lign -Winit-self -Wshadow -Wmissing-include-dirs -Wundef -Wformat -Wformat-security -Wformat-y2k -Wnested-externs -Wno-unused-parameter -Wno-declaration-after-statement -
Wno-missing-field-initializers -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74 -DGLIB_VERSION_MAX_A
LLOWED=GLIB_VERSION_2_74 -DG_LOG_USE_STRUCTURED=1 '-DPACKAGE="xfce4-panel"' '-DPACKAGE_NAME="xfce4-panel"' '-DPACKAGE_VERSION="4.21.1"' '-DVERSION="4.21.1"' '-DVERSION_SH
ORT="4.21"' '-DPACKAGE_STRING="xfce4-panel 4.21.1"' '-DPACKAGE_DATADIR="/usr/share/xfce4-panel"' '-DCOPYRIGHT_YEAR="2025"' '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DP
ACKAGE_BUGREPORT="https://gitlab.xfce.org/xfce/xfce4-panel/-/issues"' '-DGETTEXT_PACKAGE="xfce4-panel"' '-DPREFIX="/usr"' '-DBINDIR="/usr/bin"' '-DDATADIR="/usr/share"' '
-DINCLUDEDIR="/usr/include"' '-DLIBDIR="/usr/lib"' '-DLIBEXECDIR="/usr/libexec"' '-DLOCALEDIR="/usr/share/locale"' '-DLOCALSTATEDIR="/var"' '-DSBINDIR="/usr/sbin"' '-DSYS
CONFDIR="/etc"' -DHAVE_XFCE_REVISION_H=1 '-DLIBXFCE4PANEL_VERSION_API="2.0"' -DXFCE4_PANEL_CONFIG_VERSION=2 -DENABLE_X11=1 -DENABLE_WAYLAND=1 -DHAVE_GTK_LAYER_SHELL=1 -DH
AVE_DBUSMENU=1 -DENABLE_SYMBOL_VISIBILITY=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_SYS_PRCTL_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_MATH_H=1 -pthread '-DG_LOG_DOMAIN="xfce4-pane
l-wrapper"' -MD -MQ wrapper/wrapper-2.0.p/wrapper-plug-wayland.c.o -MF wrapper/wrapper-2.0.p/wrapper-plug-wayland.c.o.d -o wrapper/wrapper-2.0.p/wrapper-plug-wayland.c.o 
-c ../xfce4-panel-4.21.1/wrapper/wrapper-plug-wayland.c
In file included from ../xfce4-panel-4.21.1/libxfce4panel/xfce-panel-plugin-provider.h:23,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug.h:22,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug-wayland.c:21:
../xfce4-panel-4.21.1/libxfce4panel/libxfce4panel.h:27:10: fatal error: libxfce4panel/libxfce4panel-enum-types.h: No such file or directory
   27 | #include <libxfce4panel/libxfce4panel-enum-types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: cc -Iwrapper/wrapper-2.0.p -Iwrapper -I../xfce4-panel-4.21.1/wrapper -I. -I../xfce4-panel-4.21.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-
2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/libdrm -I/usr/include/fribidi -I/usr/include/pixman-1
 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I
/usr/include/xfce4/libxfce4windowing-0 -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-layer-shell -fdiagnostics-color=always -D_FIL
E_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -Wmissing-declarations -Wmissing-noreturn -Wold-style-definition -Wredundant-decls -Wpointer-arith -Wcast-a
lign -Winit-self -Wshadow -Wmissing-include-dirs -Wundef -Wformat -Wformat-security -Wformat-y2k -Wnested-externs -Wno-unused-parameter -Wno-declaration-after-statement -
Wno-missing-field-initializers -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74 -DGLIB_VERSION_MAX_A
LLOWED=GLIB_VERSION_2_74 -DG_LOG_USE_STRUCTURED=1 '-DPACKAGE="xfce4-panel"' '-DPACKAGE_NAME="xfce4-panel"' '-DPACKAGE_VERSION="4.21.1"' '-DVERSION="4.21.1"' '-DVERSION_SH
ORT="4.21"' '-DPACKAGE_STRING="xfce4-panel 4.21.1"' '-DPACKAGE_DATADIR="/usr/share/xfce4-panel"' '-DCOPYRIGHT_YEAR="2025"' '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DP
ACKAGE_BUGREPORT="https://gitlab.xfce.org/xfce/xfce4-panel/-/issues"' '-DGETTEXT_PACKAGE="xfce4-panel"' '-DPREFIX="/usr"' '-DBINDIR="/usr/bin"' '-DDATADIR="/usr/share"' '
-DINCLUDEDIR="/usr/include"' '-DLIBDIR="/usr/lib"' '-DLIBEXECDIR="/usr/libexec"' '-DLOCALEDIR="/usr/share/locale"' '-DLOCALSTATEDIR="/var"' '-DSBINDIR="/usr/sbin"' '-DSYS
CONFDIR="/etc"' -DHAVE_XFCE_REVISION_H=1 '-DLIBXFCE4PANEL_VERSION_API="2.0"' -DXFCE4_PANEL_CONFIG_VERSION=2 -DENABLE_X11=1 -DENABLE_WAYLAND=1 -DHAVE_GTK_LAYER_SHELL=1 -DH
AVE_DBUSMENU=1 -DENABLE_SYMBOL_VISIBILITY=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_SYS_PRCTL_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_MATH_H=1 -pthread '-DG_LOG_DOMAIN="xfce4-pane
l-wrapper"' -MD -MQ wrapper/wrapper-2.0.p/wrapper-plug.c.o -MF wrapper/wrapper-2.0.p/wrapper-plug.c.o.d -o wrapper/wrapper-2.0.p/wrapper-plug.c.o -c ../xfce4-panel-4.21.1
/wrapper/wrapper-plug.c
In file included from ../xfce4-panel-4.21.1/libxfce4panel/xfce-panel-plugin-provider.h:23,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug.h:22,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug.c:19:
../xfce4-panel-4.21.1/libxfce4panel/libxfce4panel.h:27:10: fatal error: libxfce4panel/libxfce4panel-enum-types.h: No such file or directory
   27 | #include <libxfce4panel/libxfce4panel-enum-types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: cc -Iwrapper/wrapper-2.0.p -Iwrapper -I../xfce4-panel-4.21.1/wrapper -I. -I../xfce4-panel-4.21.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-
2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/libdrm -I/usr/include/fribidi -I/usr/include/pixman-1
 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I
/usr/include/xfce4/libxfce4windowing-0 -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-layer-shell -fdiagnostics-color=always -D_FIL
E_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -Wmissing-declarations -Wmissing-noreturn -Wold-style-definition -Wredundant-decls -Wpointer-arith -Wcast-a
lign -Winit-self -Wshadow -Wmissing-include-dirs -Wundef -Wformat -Wformat-security -Wformat-y2k -Wnested-externs -Wno-unused-parameter -Wno-declaration-after-statement -
Wno-missing-field-initializers -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74 -DGLIB_VERSION_MAX_A
LLOWED=GLIB_VERSION_2_74 -DG_LOG_USE_STRUCTURED=1 '-DPACKAGE="xfce4-panel"' '-DPACKAGE_NAME="xfce4-panel"' '-DPACKAGE_VERSION="4.21.1"' '-DVERSION="4.21.1"' '-DVERSION_SH
ORT="4.21"' '-DPACKAGE_STRING="xfce4-panel 4.21.1"' '-DPACKAGE_DATADIR="/usr/share/xfce4-panel"' '-DCOPYRIGHT_YEAR="2025"' '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DP
ACKAGE_BUGREPORT="https://gitlab.xfce.org/xfce/xfce4-panel/-/issues"' '-DGETTEXT_PACKAGE="xfce4-panel"' '-DPREFIX="/usr"' '-DBINDIR="/usr/bin"' '-DDATADIR="/usr/share"' '
-DINCLUDEDIR="/usr/include"' '-DLIBDIR="/usr/lib"' '-DLIBEXECDIR="/usr/libexec"' '-DLOCALEDIR="/usr/share/locale"' '-DLOCALSTATEDIR="/var"' '-DSBINDIR="/usr/sbin"' '-DSYS
CONFDIR="/etc"' -DHAVE_XFCE_REVISION_H=1 '-DLIBXFCE4PANEL_VERSION_API="2.0"' -DXFCE4_PANEL_CONFIG_VERSION=2 -DENABLE_X11=1 -DENABLE_WAYLAND=1 -DHAVE_GTK_LAYER_SHELL=1 -DH
AVE_DBUSMENU=1 -DENABLE_SYMBOL_VISIBILITY=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_SYS_PRCTL_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_MATH_H=1 -pthread '-DG_LOG_DOMAIN="xfce4-pane
l-wrapper"' -MD -MQ wrapper/wrapper-2.0.p/wrapper-module.c.o -MF wrapper/wrapper-2.0.p/wrapper-module.c.o.d -o wrapper/wrapper-2.0.p/wrapper-module.c.o -c ../xfce4-panel-
4.21.1/wrapper/wrapper-module.c
In file included from ../xfce4-panel-4.21.1/libxfce4panel/xfce-panel-plugin-provider.h:23,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-module.h:22,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-module.c:19:
../xfce4-panel-4.21.1/libxfce4panel/libxfce4panel.h:27:10: fatal error: libxfce4panel/libxfce4panel-enum-types.h: No such file or directory
   27 | #include <libxfce4panel/libxfce4panel-enum-types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: cc -Iwrapper/wrapper-2.0.p -Iwrapper -I../xfce4-panel-4.21.1/wrapper -I. -I../xfce4-panel-4.21.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-
2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/libdrm -I/usr/include/fribidi -I/usr/include/pixman-1
 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I
/usr/include/xfce4/libxfce4windowing-0 -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-layer-shell -fdiagnostics-color=always -D_FIL
E_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -Wmissing-declarations -Wmissing-noreturn -Wold-style-definition -Wredundant-decls -Wpointer-arith -Wcast-a
lign -Winit-self -Wshadow -Wmissing-include-dirs -Wundef -Wformat -Wformat-security -Wformat-y2k -Wnested-externs -Wno-unused-parameter -Wno-declaration-after-statement -
Wno-missing-field-initializers -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74 -DGLIB_VERSION_MAX_A
LLOWED=GLIB_VERSION_2_74 -DG_LOG_USE_STRUCTURED=1 '-DPACKAGE="xfce4-panel"' '-DPACKAGE_NAME="xfce4-panel"' '-DPACKAGE_VERSION="4.21.1"' '-DVERSION="4.21.1"' '-DVERSION_SH
ORT="4.21"' '-DPACKAGE_STRING="xfce4-panel 4.21.1"' '-DPACKAGE_DATADIR="/usr/share/xfce4-panel"' '-DCOPYRIGHT_YEAR="2025"' '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DP
ACKAGE_BUGREPORT="https://gitlab.xfce.org/xfce/xfce4-panel/-/issues"' '-DGETTEXT_PACKAGE="xfce4-panel"' '-DPREFIX="/usr"' '-DBINDIR="/usr/bin"' '-DDATADIR="/usr/share"' '
-DINCLUDEDIR="/usr/include"' '-DLIBDIR="/usr/lib"' '-DLIBEXECDIR="/usr/libexec"' '-DLOCALEDIR="/usr/share/locale"' '-DLOCALSTATEDIR="/var"' '-DSBINDIR="/usr/sbin"' '-DSYS
CONFDIR="/etc"' -DHAVE_XFCE_REVISION_H=1 '-DLIBXFCE4PANEL_VERSION_API="2.0"' -DXFCE4_PANEL_CONFIG_VERSION=2 -DENABLE_X11=1 -DENABLE_WAYLAND=1 -DHAVE_GTK_LAYER_SHELL=1 -DH
AVE_DBUSMENU=1 -DENABLE_SYMBOL_VISIBILITY=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_SYS_PRCTL_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_MATH_H=1 -pthread '-DG_LOG_DOMAIN="xfce4-pane
l-wrapper"' -MD -MQ wrapper/wrapper-2.0.p/main.c.o -MF wrapper/wrapper-2.0.p/main.c.o.d -o wrapper/wrapper-2.0.p/main.c.o -c ../xfce4-panel-4.21.1/wrapper/main.c
In file included from ../xfce4-panel-4.21.1/libxfce4panel/xfce-panel-plugin-provider.h:23,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-module.h:22,
                 from ../xfce4-panel-4.21.1/wrapper/main.c:20:
../xfce4-panel-4.21.1/libxfce4panel/libxfce4panel.h:27:10: fatal error: libxfce4panel/libxfce4panel-enum-types.h: No such file or directory
   27 | #include <libxfce4panel/libxfce4panel-enum-types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: cc -Iwrapper/wrapper-2.0.p -Iwrapper -I../xfce4-panel-4.21.1/wrapper -I. -I../xfce4-panel-4.21.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I
/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-
2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/libdrm -I/usr/include/fribidi -I/usr/include/pixman-1
 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I
/usr/include/xfce4/libxfce4windowing-0 -I/usr/include/libwnck-3.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-layer-shell -fdiagnostics-color=always -D_FIL
E_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -Wmissing-declarations -Wmissing-noreturn -Wold-style-definition -Wredundant-decls -Wpointer-arith -Wcast-a
lign -Winit-self -Wshadow -Wmissing-include-dirs -Wundef -Wformat -Wformat-security -Wformat-y2k -Wnested-externs -Wno-unused-parameter -Wno-declaration-after-statement -
Wno-missing-field-initializers -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74 -DGLIB_VERSION_MAX_A
LLOWED=GLIB_VERSION_2_74 -DG_LOG_USE_STRUCTURED=1 '-DPACKAGE="xfce4-panel"' '-DPACKAGE_NAME="xfce4-panel"' '-DPACKAGE_VERSION="4.21.1"' '-DVERSION="4.21.1"' '-DVERSION_SH
ORT="4.21"' '-DPACKAGE_STRING="xfce4-panel 4.21.1"' '-DPACKAGE_DATADIR="/usr/share/xfce4-panel"' '-DCOPYRIGHT_YEAR="2025"' '-DPACKAGE_LOCALE_DIR="/usr/share/locale"' '-DP
ACKAGE_BUGREPORT="https://gitlab.xfce.org/xfce/xfce4-panel/-/issues"' '-DGETTEXT_PACKAGE="xfce4-panel"' '-DPREFIX="/usr"' '-DBINDIR="/usr/bin"' '-DDATADIR="/usr/share"' '
-DINCLUDEDIR="/usr/include"' '-DLIBDIR="/usr/lib"' '-DLIBEXECDIR="/usr/libexec"' '-DLOCALEDIR="/usr/share/locale"' '-DLOCALSTATEDIR="/var"' '-DSBINDIR="/usr/sbin"' '-DSYS
CONFDIR="/etc"' -DHAVE_XFCE_REVISION_H=1 '-DLIBXFCE4PANEL_VERSION_API="2.0"' -DXFCE4_PANEL_CONFIG_VERSION=2 -DENABLE_X11=1 -DENABLE_WAYLAND=1 -DHAVE_GTK_LAYER_SHELL=1 -DH
AVE_DBUSMENU=1 -DENABLE_SYMBOL_VISIBILITY=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_SYS_PRCTL_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_MATH_H=1 -pthread '-DG_LOG_DOMAIN="xfce4-pane
l-wrapper"' -MD -MQ wrapper/wrapper-2.0.p/wrapper-plug-x11.c.o -MF wrapper/wrapper-2.0.p/wrapper-plug-x11.c.o.d -o wrapper/wrapper-2.0.p/wrapper-plug-x11.c.o -c ../xfce4-
panel-4.21.1/wrapper/wrapper-plug-x11.c
In file included from ../xfce4-panel-4.21.1/libxfce4panel/xfce-panel-plugin-provider.h:23,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug.h:22,
                 from ../xfce4-panel-4.21.1/wrapper/wrapper-plug-x11.c:20:
../xfce4-panel-4.21.1/libxfce4panel/libxfce4panel.h:27:10: fatal error: libxfce4panel/libxfce4panel-enum-types.h: No such file or directory
   27 | #include <libxfce4panel/libxfce4panel-enum-types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: subcommands failed
make: *** [/usr/share/mk/lfs.port.mk:41: build] Error 1

I'm sure I have all dependencies installed :

- xfce4_power_manager 4.21.1
- xfce4_panel 4.20.6
- libxfce4util 4.20.1
- xfce4_settings 4.21.1
- libxfce4ui 4.21.3
- xfce4_session 4.21.1
- libxfce4windowing 4.20.5
- xfce4_dev_tools 4.21.0
- xfce4_appfinder 4.21.0

Distribution info :
- Linux From Scratch 12.4
- GCC 15.1

Any clue to fix it ? I also make an "issue" here https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/969

Added later 43 min 30 s:
It's kind of solved, I just need to make a symlink for libxfce4panel header directory.

$ doas ln -s /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel /usr/include/libxfce4panel

Though it works, it doesn't make any sense. /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel comes from xfce4-panel itself (I have version 4.20.6 before ). I will wait for other users who have similar issue.

Offline

#2 2026-02-16 11:41:05

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 929
LinuxFirefox 147.0

Re: Xfce4-panel version 4.21.1 failed to build due to missing header file.

Do you have the header files for xfce4-panel? For Debian:

libxfce4panel-2.0-dev


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#3 2026-02-16 13:54:09

maduncle49
Member
Registered: 2025-02-02
Posts: 7
AndroidChrome 135.0

Re: Xfce4-panel version 4.21.1 failed to build due to missing header file.

Nevermind. I just need to build the header package first.

Offline

#4 2026-02-19 01:47:08

maduncle49
Member
Registered: 2025-02-02
Posts: 7
LinuxFirefox 147.0

Re: Xfce4-panel version 4.21.1 failed to build due to missing header file.

Okay I found the root of problem, libxfce4panel/libxfce4panel-enum-types.h and libxfce4panel/libxfce4panel-enum-types.c  are not generated automatically. To generate them manually, I need to run these commands :

$ ninja libxfce4panel/libxfce4panel-enum-types.h
$ ninja libxfce4panel/libxfce4panel-enum-types.c

Offline

#5 2026-02-19 02:42:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,529
LinuxFirefox 147.0

Re: Xfce4-panel version 4.21.1 failed to build due to missing header file.

I'm not getting these errors - everything builds fine. These files are located in the build/libxfce4panel directory for me.

What are the exact meson setup and compile commands that you are using? I'm using:

meson setup build --prefix=/usr
meson compile -C build

Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 621.64 KiB (Peak: 677.64 KiB) ]