[xiphos-devel] RHEL 9 compatibility

Karl Kleinpaste karl at kleinpaste.org
Wed Sep 18 15:38:09 EDT 2024


I've pushed a change for updates to provide compatibility with RHEL9's 
gcc11 compiler. However, it is not yet automatically 
configuration-compatible. If you wish to build on RHEL9, clone the repo 
as usual and then apply this diff ("patch -p1").

diff --git a/cmake/XiphosDependencies.cmake b/cmake/XiphosDependencies.cmake
index e011ece1..0a135b44 100644
--- a/cmake/XiphosDependencies.cmake
+++ b/cmake/XiphosDependencies.cmake
@@ -84,7 +84,7 @@ pkg_check_modules(Gnome REQUIRED IMPORTED_TARGET
    "gdk-pixbuf-2.0"
    "gio-2.0"
    "gobject-2.0"
-  "libsoup-3.0"
+  "libsoup-2.4"
    "pango"
    "minizip"
    "zlib"
@@ -135,7 +135,7 @@ else (GTK2)
      # Gtk+-3.0 + Webkit2 + WebKit-editor
      pkg_check_modules(Gtk REQUIRED IMPORTED_TARGET
        "gtk+-3.0"
-      "webkit2gtk-4.1"
+      "webkit2gtk-4.0"
        "gtkhtml-editor-4.0"
        "libgtkhtml-4.0"
        )
@@ -144,7 +144,7 @@ else (GTK2)
      # Gtk+-3.0 + Webkit2 + GtkHtml-editor
       pkg_check_modules(Gtk REQUIRED IMPORTED_TARGET
        "gtk+-3.0"
-      "webkit2gtk-4.1"
+      "webkit2gtk-4.0"
        )
    endif()
  endif (GTK2)

Build as usual. I use:

cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_INSTALL_PREFIX=/usr 
-DLIBDIR=/usr/lib64 -DGTKHTML=ON -DDEBUG=ON 
-DCMAKE_BUILD_TYPE=RelWithDebInfo ../xiphos

It's working fine on my RHEL 9.4 systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/xiphos-devel/attachments/20240918/2f903686/attachment.htm>


More information about the xiphos-devel mailing list