[Kde-bindings] Build fixes

Richard Dale rdale at foton.es
Tue Jul 1 18:54:22 UTC 2008


On Tuesday 01 July 2008 03:02:46 Helio Chissini de Castro wrote:
> Hi everyone.
>
> As i asked for RDale to, i did some fixes in the bindings build today.
>
> Since 4.0.82 is almos impossible to buils sane biindings in any distro and
> even csharp bindings are imcomplete in install.
> For csharp bindings, the install always tried to install in the root path
> of gacutil, but instead of fail and stop, the install just fail and
> continues, leading everyone to assume that was everything installed.
> I fixed this with i little help of pkgconfig and two stage install.
> Packagers will thanks now for been able to use DESTDIR.
>
> I did some cleanup on the tests ( way beyond to finish ) moving tests for
> topdir, avoiding duplication.
> Still we have some tests distributes in subdirs which are common in more
> than one binding, and some cmake modules are in subdirs instead of topdir.
> We can follow two steps, move the topdir cmake modules for each respective
> bindings or move the subdir ones to topdir. Been a mixed env is not good.
> Unless someone have something against, i will move the <subdir>/cmake/* to
> <topdir>/cmake and have evrything unified.
>
> Thanks in advance
I can't get kdebindings to build with mono installed from Kubuntu Gutsy. Here 
is the build log.

-- Richard

-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.0 (using /home/rdale/kde/inst/kde4/bin/qmake)
-- Looking for XOpenDisplay 
in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay 
in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Automoc4: /home/rdale/kde/inst/kde4/bin/automoc4
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found Phonon: /home/rdale/kde/inst/kde4/lib/libphonon.so
-- Found Phonon 
Includes: /home/rdale/kde/inst/kde4/include/KDE;/home/rdale/kde/inst/kde4/include
-- Found KDE 4.1 include dir: /home/rdale/kde/inst/kde4/include
-- Found KDE 4.1 library dir: /home/rdale/kde/inst/kde4/lib
-- Found KDE4 kconfig_compiler 
preprocessor: /home/rdale/kde/inst/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /home/rdale/kde/inst/kde4/bin/automoc4
-- Found Soprano: /home/rdale/kde/inst/kde4/lib/libsoprano.so
-- Found Soprano includes: /home/rdale/kde/inst/kde4/include
-- Found Soprano Index: /home/rdale/kde/inst/kde4/lib/libsopranoindex.so
-- Found Soprano Client: /home/rdale/kde/inst/kde4/lib/libsopranoclient.so
-- Found NEPOMUK: /home/rdale/kde/inst/kde4/lib/libnepomuk.so
-- Found KDE PIM libraries
-- Found QScintilla2: /home/rdale/kde/inst/kde4/lib/libqscintilla2.so
-- Found QScintilla2: /home/rdale/kde/inst/kde4/lib/libqscintilla2.so
-- Found Akonadi: /home/rdale/kde/inst/kde4/lib/libakonadiprotocolinternals.so
-- Found Akonadi includes: /home/rdale/kde/inst/kde4/include
-- Found Akonadi common 
libraries: /home/rdale/kde/inst/kde4/lib/libakonadiprotocolinternals.so
-- Found Akonadi 
dbus-interfaces: /home/rdale/kde/inst/kde4/share/dbus-1/interfaces
-- Found all KDevPlatform modules
-- Using kdevplatform include 
dir: /home/rdale/kde/inst/kde4/include/kdevplatform
-- Using kdevplatform library dir: /home/rdale/kde/inst/kde4/lib
-- Build Smoke... yes - Qt, QtWebKit, QtUiTools, Phonon, QScintilla2, Solid, 
Soprano, Plasma, KDE, Akonadi, KDevPlatform, KHTML, KTextEditor, Nepomuk, 
Okular
-- Ruby found: /usr/lib/libruby.so
-- Ruby found: /usr/lib/libruby.so
-- Using kdevplatform include 
dir: /home/rdale/kde/inst/kde4/include/kdevplatform
-- Using kdevplatform library dir: /home/rdale/kde/inst/kde4/lib
-- Ruby found: /usr/lib/libruby.so
-- Ruby found: /usr/lib/libruby.so
-- Ruby found: /usr/lib/libruby.so
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/ruby/plasma/examples/CMakeLists.txt:2:
ADD_SUBDIRECTORY given source "dataengines" which is not an existing 
directory.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/ruby/plasma/examples/CMakeLists.txt
-- Build QtRuby... yes
-- Build QtWebKit Ruby... yes
-- Build QtUiTools Ruby... yes
-- Build Soprano Ruby... yes
-- Build QScintilla Ruby... no
-- Build Qwt Ruby... no
-- Build Phonon Ruby... yes
-- Build Akonadi Ruby... yes
-- Build KHTML Ruby... yes
-- Build Korundum... yes
-- Build KDevPlatform Ruby... yes
-- Build KTextEditor Ruby... yes
-- Build Nepomuk Ruby... yes
-- Build Okular Ruby... yes
-- Build Plasma Ruby... yes
-- Build Solid Ruby... yes
-- Performing Test RubyCompiles
-- Performing Test RubyCompiles - Success
-- Ruby Executable: /usr/bin/ruby
-- Ruby Libraries: /usr/lib/libruby.so
-- Ruby Include Path: /usr/lib/ruby/1.8/i686-linux
-- Build Kross Ruby... yes
-- Found Python executable: /usr/bin/python2.5
-- Found Python version: 2.5.1
-- Found Python library: /usr/lib/libpython2.5.so
-- Found Python executable: /usr/bin/python2.5
-- Found Python version: 2.5.1
-- Found Python library: /usr/lib/libpython2.5.so
-- Python Libraries: /usr/lib/libpython2.5.so
-- Python Include Path: /usr/include/python2.5
-- Build Kross Python... yes
-- Found SIP version: 4.7
-- The version of SIP found is too old. 4.7.6 or later is needed.
-- Build PyKDE4... no
-- Found mono: /usr/bin/mono
-- Found mcs: /usr/bin/mcs
-- Found gmcs: /usr/bin/gmcs
-- Found gacutil: /usr/bin/gacutil
-- checking for one of the modules 'cecil'
CMake Error: Error in cmake code at
src/emitsignal.cpp;src/invokeslot.cpp;src/methodcall.cpp;src/methodreturnvalue.cpp;src/signalreturnvalue.cpp;src/slotreturnvalue.cpp;src/virtualmethodcall.cpp;src/virtualmethodreturnvalue.cpp;src/qyotosmokebinding.cpp;src/handlers.cpp;src/qyotoshared.cpp:101:
INSTALL DIRECTORY given 
non-directory "/home/rdale/kde/build/4/kdebindings/csharp/qyoto/mono/" to 
install.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/qyoto/CMakeLists.txt
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/qyoto/CMakeLists.txt:62:
A command failed during the invocation of macro "INSTALL_GAC".
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/qyoto/CMakeLists.txt:62:
INSTALL_GAC unknown error.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/qyoto/CMakeLists.txt
The end of a CMakeLists file was reached with an IF statement that was not 
closed properly.
Within the directory: /home/rdale/kde/src/4/kdebindings/csharp/qyoto
The arguments are: NOT WIN32
CMake Error: Error in cmake code at
src/emitsignal.cpp;src/invokeslot.cpp;src/methodcall.cpp;src/methodreturnvalue.cpp;src/signalreturnvalue.cpp;src/slotreturnvalue.cpp;src/virtualmethodcall.cpp;src/virtualmethodreturnvalue.cpp;src/qyotosmokebinding.cpp;src/handlers.cpp;src/qyotoshared.cpp:101:
INSTALL DIRECTORY given 
non-directory "/home/rdale/kde/build/4/kdebindings/csharp/kimono/mono/" to 
install.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/kimono/CMakeLists.txt
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/kimono/CMakeLists.txt:40:
A command failed during the invocation of macro "INSTALL_GAC".
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/kimono/CMakeLists.txt:40:
INSTALL_GAC unknown error.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/kimono/CMakeLists.txt
The end of a CMakeLists file was reached with an IF statement that was not 
closed properly.
Within the directory: /home/rdale/kde/src/4/kdebindings/csharp/kimono
The arguments are: NOT WIN32
CMake Error: Error in cmake code at
src/emitsignal.cpp;src/invokeslot.cpp;src/methodcall.cpp;src/methodreturnvalue.cpp;src/signalreturnvalue.cpp;src/slotreturnvalue.cpp;src/virtualmethodcall.cpp;src/virtualmethodreturnvalue.cpp;src/qyotosmokebinding.cpp;src/handlers.cpp;src/qyotoshared.cpp:101:
INSTALL DIRECTORY given 
non-directory "/home/rdale/kde/build/4/kdebindings/csharp/khtml/mono/" to 
install.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/khtml/CMakeLists.txt
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/khtml/CMakeLists.txt:29:
A command failed during the invocation of macro "INSTALL_GAC".
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/khtml/CMakeLists.txt:29:
INSTALL_GAC unknown error.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/khtml/CMakeLists.txt
The end of a CMakeLists file was reached with an IF statement that was not 
closed properly.
Within the directory: /home/rdale/kde/src/4/kdebindings/csharp/khtml
The arguments are: NOT WIN32
-- Found Soprano: /home/rdale/kde/inst/kde4/lib/libsoprano.so
-- Found Soprano includes: /home/rdale/kde/inst/kde4/include
-- Found Soprano Index: /home/rdale/kde/inst/kde4/lib/libsopranoindex.so
-- Found Soprano Client: /home/rdale/kde/inst/kde4/lib/libsopranoclient.so
-- Found Soprano: /home/rdale/kde/inst/kde4/lib/libsoprano.so
-- Found Soprano includes: /home/rdale/kde/inst/kde4/include
-- Found Soprano Index: /home/rdale/kde/inst/kde4/lib/libsopranoindex.so
-- Found Soprano Client: /home/rdale/kde/inst/kde4/lib/libsopranoclient.so
CMake Error: Error in cmake code at
src/emitsignal.cpp;src/invokeslot.cpp;src/methodcall.cpp;src/methodreturnvalue.cpp;src/signalreturnvalue.cpp;src/slotreturnvalue.cpp;src/virtualmethodcall.cpp;src/virtualmethodreturnvalue.cpp;src/qyotosmokebinding.cpp;src/handlers.cpp;src/qyotoshared.cpp:101:
INSTALL DIRECTORY given 
non-directory "/home/rdale/kde/build/4/kdebindings/csharp/soprano/mono/" to 
install.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/soprano/CMakeLists.txt
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/soprano/CMakeLists.txt:30:
A command failed during the invocation of macro "INSTALL_GAC".
CMake Error: Error in cmake code at
/home/rdale/kde/src/4/kdebindings/csharp/soprano/CMakeLists.txt:30:
INSTALL_GAC unknown error.
Current CMake stack:
[1]     /home/rdale/kde/src/4/kdebindings/csharp/soprano/CMakeLists.txt
The end of a CMakeLists file was reached with an IF statement that was not 
closed properly.
Within the directory: /home/rdale/kde/src/4/kdebindings/csharp/soprano
The arguments are: NOT WIN32
-- Build Qyoto... yes
-- Build QScintillaSharp... no
-- Build SopranoSharp... yes
-- Build PlasmaSharp...
-- Build Kimono... yes
-- Build KHTMLSharp... yes
-- Build Kross Java... no
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Soprano
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done





More information about the Kde-bindings mailing list