---------- Forwarded message ----------
From: Alonso Graterol <[EMAIL PROTECTED]>
Date: 2008/8/22
Subject: KDE4's kdesupport cannot find X11/Xlib.h
To: [email protected]


Hello,

I want to give a try to KDE4 with my AMD x86_64 CBLFS system. After
finishing the Pre-Installation Configuration I started with kdesupport
package downloaded from svn. Since there is not a list of specific
packages that need to be compiled into Qt4 I decided to install Qt4 at
first and then build it again after all other shown dependencies for
kdesupport were installed. So far so good...
Once all dependencies were set I started to compile kdesupport but it
always (I've tried several times) stops with following error:
"...
[ 84%] Built target xesam2strigitest
[ 86%] Built target daemondbustest
[ 86%] Built target dtest
[ 87%] Built target qimageblitz
[ 87%] Built target blitztest
[ 91%] Built target phonon
[ 93%] Built target phononexperimental
[ 94%] Building CXX object
phonon/gstreamer/CMakeFiles/phonon_gstreamer.dir/x11renderer.cpp.o
/sources/kde4/kdesupport/phonon/gstreamer/x11renderer.cpp:26:22:
error: X11/Xlib.h: No such file or directory
make[2]: *** 
[phonon/gstreamer/CMakeFiles/phonon_gstreamer.dir/x11renderer.cpp.o]
Error 1
make[1]: *** [phonon/gstreamer/CMakeFiles/phonon_gstreamer.dir/all] Error 2
make: *** [all] Error 2"

I tried setting CXXFLAGS="-I/usr/X11R7/include" but did not help.
I did not applied the suggested patch since digging its contents it
has nothing to do with X11.
I gratefully welcome any help.


Alonso


Digging a bit more I found the file
/kdesupport/phonon/gstreamer/CMakeLists.txt generated by CMake that
had the following line:
"if (BUILD_PHONON_GSTREAMER)
    include_directories(${GSTREAMER_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR}
${LIBXML2_INCLUDE_DIR} -I/usr/X11R7/include)"
Since I was keep getting the same error I tried changing
"-I/usr/X11R7/include" to "/usr/X11R7/include". This made the trick.
The compile completed with a bunch of warnings but no errors.
Now I can continue with the rest of KDE4 packages. I'll keep you posted.

Alonso
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to