libxcb help required

lux-integ lux-integ at btconnect.com
Mon Apr 19 14:37:13 CEST 2010


On Sunday 18 April 2010 10:11:14 am Alexander Neundorf wrote:
> Can you please first post a patch for your revious issue which I can apply
> ? Then we can proceed here.
I  post  it the hope that  those compiling kde not in /usr    may find useful 
and also to gain some clarity OF  any  restrictions on which director(ies)  
user applications MUST be installed.

 

It is not just XKB which   gives anamolous behavious. I found  inconsistent  
behaviour with libraw1394 as well.  I have a setup with libraw1394 in /opt   
(this has long been so). 


A)  At my first  attempt at compiling kdebase-4.4.2,  cmake   produced the 
folowing:-


-- Found PCIUTILS: /usr/lib64/libpci.a;/usr/lib64/libresolv.so
-- Enabling PCI module based on pciutils library
-- Found RAW1394: /opt/lib64/libraw1394.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib64/libglib-2.0.so
-- Looking for XkbLockModifiers in X11
-- Looking for XkbLockModifiers in X11 - not found
-- Looking for include files HAVE_SYS_PROC_H
-- Looking for include files HAVE_SYS_PROC_H - not found.
-- Looking for include files HAVE_SYS_PROC_INFO_H
-- Looking for include files HAVE_SYS_PROC_INFO_H - not found.

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Soprano - Semantic Desktop Storing
   * Shared desktop ontologies - Desktop ontologies
   * Nepomuk - Nepomuk
   * OpenGL - API for developing portable, interactive 2D and 3D graphics 
applications
   * PCIUTILS - PciUtils is a library for direct access to PCI slots
   * RAW1394 - library for direct access to IEEE 1394 bus
   * glib2 - Low-level core library for data structure handling, portability 
wrappers, etc.

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * XKB  <http://www.x.org>
     X keyboard extension
     Gives Konsole better keyboard support.

-----------------------------------------------------------------------------

then running make:-

[ 80%] Building CXX object 
apps/kinfocenter/view1394/CMakeFiles/kcm_view1394.dir/kcm_view1394_automoc.o
[ 80%] Building CXX object 
apps/kinfocenter/view1394/CMakeFiles/kcm_view1394.dir/view1394.o
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp:46:28: 
error: libraw1394/csr.h: No such file or directory
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp: 
In member function 'bool View1394::readConfigRom(raw1394_handle*, nodeid_t, 
quadlet_t&, quadlet_t&, octlet_t&)':
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp:116: 
error: 'CSR_REGISTER_BASE' was not declared in this scope
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp:116: 
error: 'CSR_CONFIG_ROM' was not declared in this scope
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp: 
In member function 'void View1394::rescanBus()':
/home/ruler/build10u2/sources-analog18210/kde4An18210/kdebase-4.4.2/apps/kinfocenter/view1394/view1394.cpp:234: 
warning: format '%llX' expects type 'long long unsigned int', but argument 4 
has type 'octlet_t'
make[2]: *** 
[apps/kinfocenter/view1394/CMakeFiles/kcm_view1394.dir/view1394.o] Error 1
make[1]: *** [apps/kinfocenter/view1394/CMakeFiles/kcm_view1394.dir/all] Error 
2
make: *** [all] Error 2

(i.e. can't find the headers)

B) I then made a symbolidc link 
of /opt/include/libraw1394   /usr/include/libraw1394 and compilation 
proceeded to 100%.





C) I then   made a .cmake script to find libraw1394  (libraries and headers  
(using pkg-config)  and it detected libraw1394.  The kde-provided macro then 
disabled libraw1394 totally like so:-.


-- Found X11: /usr/X11R7.5/lib64/libX11.so
-- checking for module 'libraw1394'
--   found libraw1394, version 2.0.5
-- Found libraw1394: /opt/lib64/libraw1394.so



-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * RAW1394  <http://www.linux1394.org/>
     library for direct access to IEEE 1394 bus
     View FireWire devices in kinfocenter.
   * XKB  <http://www.x.org>
     X keyboard extension
     Gives Konsole better keyboard support.

-----------------------------------------------------------------------------


A fix and/or some explanation would be helpful.

sincerely
lux-integ



More information about the Kde-buildsystem mailing list