[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Can't build KDELibs-4 (SVN TRUNK)
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2006-03-27 2:02:39
Message-ID: 442747BF.4040803 () acm ! org
[Download RAW message or body]

I preface this with the fact that I have been building KDE from CVS/SVN
for some time.  I build 3.5 BRANCH with:

./configure --prefix=/usr/kde3.5 -C --enable-dnotify
--with-ssl-dir=/usr/local/ssl --with-alsa --enable-fast-malloc=full
--with-arts

Before trying to build, I modified my environment:

	QTDIR=/usr/local/Trolltech/Qt-4.1.0/lib
	LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.1.0/lib
	PATH="/usr/local/Trolltech/Qt-4.1.0/bin:$PATH"
	export QTDIR LD_LIBRARY_PATH PATH

I then tried to configure with:

	cmake -DCMAKE_INSTALL_PREFIX=/usr/local/KDE-4.0 \
	-DCMAKE_BUILD_TYPE=debugfull \
	-DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include
	
Don't know if I need anything about DNotify or ALSA (it seems to have
found ALSA OK) and, IIUC, I don't need aRts.

The output claims that it can't find stuff:

-- Looking for include files HAVE_X11_EXTENSIONS_SHAPE_H
-- Looking for include files HAVE_X11_EXTENSIONS_SHAPE_H - not found.
-- Looking for include files HAVE_X11_EXTENSIONS_XSHM_H
-- Looking for include files HAVE_X11_EXTENSIONS_XSHM_H - not found.
-- Looking for include files HAVE_X11_ICE_ICELIB_H
-- Looking for include files HAVE_X11_ICE_ICELIB_H - not found.
-- Looking for include files HAVE_XRENDER
-- Looking for include files HAVE_XRENDER - not found.

This stuff is all there in the usual place in the: "/usr/X11R6/" tree.

I had to edit several files to change:

	#include <whatever.h>

to:

	#include "whatever.h"

-- which I don't exactly understand -- to fix files not found issues.

Then the build failed with:

Building CXX object dcop/CMakeFiles/DCOP.dir/dcopclient.o
In file included from /usr/SVN/trunk/KDE/kdelibs/dcop/dcopclient.cpp:64:
/usr/SVN/trunk/KDE/kdelibs/dcop/dcopglobal.h:42:22: X11/Xlib.h: No such
file or directory

So, I tried the usual trick of adding: "/usr/X11R6/include" to CPPFLAGS.
  Didn't help.

So, I added: "-DX11_INCLUDE_DIR=/usr/X11R6/include" to the "cmake"
command.  This was redundant since running "ccmake" shows that it found
the X11 include directory already.  Didn't help.

So, it still doesn't work and there isn't much of anything on Google.

Is there a tutorial that I should read, or have I done something really
stupid?  Or, perhaps I have found a problem?

-- 
JRT

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic