[Digikam-devel] [Bug 274462] New: build failure in kmemoryinfo - swapctl

tropikhajma tropikhajma at gmail.com
Sun May 29 21:30:22 BST 2011


           Summary: build failure in kmemoryinfo - swapctl
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Portability
        AssignedTo: digikam-devel at kde.org
        ReportedBy: tropikhajma at gmail.com

Version:           2.0.0 (using KDE 4.6.2) 
OS:                Solaris

building digikam-2.0.0-beta5 on Solaris 11e/amd64 with gcc 4.5.2 fails with: 

In file included from
/usr/include/sys/swap.h:51:2: error: #error "Cannot use swapctl in the large
files compilation environment"

Just for the record, the below patch lets me proceed, but there's no doubt it's
just a crude hack and not a proper solution:

   2011-05-29 22:01:30.372131120 +0200
+++ digikam-2.0.0-beta5/core/libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp 
  2011-05-29 22:02:06.723252758 +0200
@@ -404,6 +404,9 @@

 #ifdef Q_OS_SOLARIS
 #include <sys/stat.h>
 #include <sys/swap.h>
 #include <unistd.h>

Reproducible: Always

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Digikam-devel mailing list