[rkward-devel] Dependencies for building from SVN?

Prasenjit Kapat kapatp at gmail.com
Thu May 21 02:55:35 UTC 2009


[On Debian Sid, actually sidux]:
I was trying compile from SVN:
$ apt-get install kdelibs5 kdelibs5-dev r-base-core r-base-dev
php5-cli cmake [Done]

The make process churns out:
~/rkward_trunk/rkward/rkward/rkwardapplication.cpp:22:19: error:
X11/X.h: No such file or directory
~/rkward_trunk/rkward/rkward/rkwardapplication.cpp:23:22: error:
X11/Xlib.h: No such file or directory
~/rkward_trunk/rkward/rkward/rkwardapplication.cpp: In constructor
~/rkward_trunk/rkward/rkward/rkwardapplication.cpp:43: error:
‘XInternAtom’ was not declared in this scope
~/rkward_trunk/rkward/rkward/rkwardapplication.cpp: In member function
‘void RKWardApplication::startWindowCreationDetection()’:

$ apt-get build-dep rkward
The following NEW packages will be installed:
  libpthread-stubs0 libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev
  libxdmcp-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev

Why aren't these part of dependencies from kdelibs5-dev? Or should
they at all be?
Even if libpthread* be optional, libx11-dev should not be optional,
right? Other X-related libraries/headers above are just dependencies
of libx11-dev.
Should libx11-dev be added to first apt-get install line?

Is this Debian (/Sid) specific? Can someone confirm this for Ubuntu?

Of course, everything compiled after that!

More information about the Rkward-devel mailing list