Hello, the attached patch disables or modifies compilation of kdebase
components requiring XRANDR when user sets CMAKE option -DWITH_XRANDR=OFF .
I need to disable XRANDR because the components fail to build on RHEL5,
because xrandr is too old.
The components are:
- kcontrol/displayconfig
- kcontrol/iccconfig
- kdm/kfrontend
I do not know the side effect on such-compiled KDM, I hope it won't be
severe.
Thanks
Francois Andriot
Hello, the attached patch, required for RHEL 5 (and probably other old
distros), allows compilation of kdelibs with XRANDR disabled, even
though it is installed.
RHEL 5 comes with version 1.1.3, which is not supported in TDE.
Thanks
Francois Andriot
Hello, kdeaddons SVN revision 1261055 fails to build on RHEL/Fedora
because file "knewsticker-scripts/fyensget.py" contains a strange
caracter at end of file.
The python compiler refuses to compile this script.
(note: all python scripts are automatically compiled during RPM generation)
See attached patch (or remove garbage caracter manually).
Thanks
Francois Andriot
Hello, compiling kdenetwork SVN 1261199 with CMAKE on Fedora 15 fails
because of 2 reasons:
- Some missing linker flags
- "libv4l1-videodev.h" presence detection was not ported to cmake (it
existed in autotools configuration)
See attached patch .
Thanks
Francois Andriot
Hello, I get the following error both on RHEL6 and Fedora 15 while
compiling kdemultimedia SVN 1261048 :
==============
libtool: link: g++ -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/crtbeginS.o .libs/kfile_m3u.o
-L/opt/trinity/lib64 -L/usr/lib64/qt-3.3/lib -L/usr/lib64
/opt/trinity/lib64/libkio.so -L/usr/lib/gcc/x86_64-redhat-linux/4.6.1
-L/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../.. -lstdc++ -lm -lc
-lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.6.1/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/crtn.o -O2 -O2
-m64 -mtune=generic -Wl,--as-needed -Wl,--enable-new-dtags
-Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,-soname
-Wl,kfile_m3u.so -o .libs/kfile_m3u.so
.libs/kfile_m3u.o: In function `KM3uPlugin::staticMetaObject()':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.moc:63:
undefined reference to `QMetaObject::new_metaobject(char const*,
QMetaObject*, QMetaData const*, int, QMetaData const*, int,
QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.moc:64:
undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:60:
undefined reference to `QFile::QFile(QString const&)'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:61:
undefined reference to `QFile::open(int)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:60:
undefined reference to `QFile::~QFile()'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:62:
undefined reference to `QTextStream::QTextStream(QIODevice*)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:63:
undefined reference to `QTextStream::setEncoding(QTextStream::Encoding)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:66:
undefined reference to `QString::QString(char const*)'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:72:
undefined reference to `QTextStream::readLine()'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:73:
undefined reference to `QString::QString(char const*)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:73:
undefined reference to `QString::startsWith(QString const&) const'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:62:
undefined reference to `QTextStream::~QTextStream()'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:75:
undefined reference to `QString::QString(char const*)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:75:
undefined reference to `QString::endsWith(QString const&) const'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:77:
undefined reference to `QString::stripWhiteSpace() const'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:78:
undefined reference to `QVariant::QVariant(QString const&)'
/home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:78:
undefined reference to `i18n(char const*)'
.libs/kfile_m3u.o: In function `QString::arg(int, int, int) const':
/usr/lib64/qt-3.3/include/qstring.h:973: undefined reference to
`QString::arg(long long, int, int) const'
.libs/kfile_m3u.o: In function `~QString':
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
/usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to
`QString::shared_null'
/usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to
`QStringData::deleteSelf()'
.libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&,
unsigned int)':
[...]
and so on
==============
I do not understand where the problem come from... This is on my
reference configuration, on which other TDE packages compile correctly
with the same environment and utilities.
Any help appreciated !
Thanks
Francois Andriot
Strike my last. CMakeLists.txt yields all I need :)
Regards
Nic
-----Ursprüngliche Nachricht-----
Von: "Nicolas Kalkhof" <nkalkhof(a)web.de>
Gesendet: Oct 28, 2011 6:07:41 PM
An: trinity-devel(a)lists.pearsoncomputing.net
Betreff: Re: [trinity-devel] kdebase make process fails to run
>Hi Tim,
>
>ok Thx for the clearup. I can't find any documentation on this on the wiki pages. Did I miss something?
>
>Regards
>Nic
>
>
>-----Ursprüngliche Nachricht-----
>Von: "Timothy Pearson" <kb9vqf(a)pearsoncomputing.net>
>Gesendet: Oct 28, 2011 5:54:32 PM
>An: trinity-devel(a)lists.pearsoncomputing.net
>Betreff: Re: [trinity-devel] kdebase make process fails to run
>
>>> Hi,
>>>
>>> I've been trying to build kdebase with cmake from current svn with the
>>> following command:
>>> cmake ../../kdebase/ -DCMAKE_INSTALL_PREFIX=/opt/kde-3.5.13
>>>
>>> cmake responds with:
>>> -- The C compiler identification is GNU
>>> -- The CXX compiler identification is GNU
>>> -- Check for working C compiler: /usr/bin/gcc
>>> -- Check for working C compiler: /usr/bin/gcc -- works
>>> -- Detecting C compiler ABI info
>>> -- Detecting C compiler ABI info - done
>>> -- Check for working CXX compiler: /usr/bin/c++
>>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>>> -- Detecting CXX compiler ABI info
>>> -- Detecting CXX compiler ABI info - done
>>> -- checking for one of the modules 'tqt'
>>> --Â Â tmoc path: /opt/kde-3.5.13/bin/tmoc
>>> --Â Â moc path: /opt/lib/qt3/bin/moc
>>> --Â Â uic path: /opt/lib/qt3/bin/uic
>>> -- Performing Test HAVE_USABLE_TQT
>>> -- Performing Test HAVE_USABLE_TQT - Success
>>> -- checking for 'TDE'
>>> --Â Â found 'TDE', version 3.5.13
>>> -- Configuring done
>>> -- Generating done
>>> -- Build files have been written to: /root/temp/build/base
>>>
>>> created files:
>>> CMakeCache.txt CMakeFiles Makefile cmake_install.cmake config.hÂ
>>> kcontrol kdmlib
>>>
>>> firing up make does nothing at all. kdelibs builds fine btw.
>>> Any clues?
>>>
>>> Regards
>>> Nic
>>
>>kdebase by default builds nothing. You will either need to enable the
>>modules you want to compile by passing the correct flags to CMake, or
>>build everything by passing -DBUILD_ALL="ON to CMake.
>>
>>Tim
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: trinity-devel-unsubscribe(a)lists.pearsoncomputing.net
>>For additional commands, e-mail: trinity-devel-help(a)lists.pearsoncomputing.net
>>Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/
>>Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>>
>
>
>___________________________________________________________
>SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: trinity-devel-unsubscribe(a)lists.pearsoncomputing.net
>For additional commands, e-mail: trinity-devel-help(a)lists.pearsoncomputing.net
>Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/
>Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>
___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192