SOB,
It works! After building kdebase (and fighting with other modules), I just
decided to start trinity and see if it would work. Changed ~/.xinitrc to
'startkde' and then typed 'startx' and:
http://www.3111skyline.com/dl/dt/trinity/ss/trinity-first-run.jpghttp://www.3111skyline.com/dl/dt/trinity/ss/trinity-running_01.jpg
The only error I received was a "failed to load kio_slave", but given that
there are still some unbuilt modules, that didn't surprise me. However, it is a
bit concerning since kio is part of kdebase.
Regardless - FANTASTIC!
--
David C. Rankin, J.D.,P.E.
Tim, All,
After getting kdebase done, I had planned to do pykde3 and make a stab at
kdebindings. I know they are not required, but I wanted to see if I could make
some headway. Alas - not much :(
It looks like the pykde3 dcopobject.sip included in the latest pykde3 package
is not happy with TQt:
<snip>
Creating top level Makefile...
Creating pykdeconfig.py...
make[1]: Entering directory `/home/david/tbld/pykde3/src/PyKDE-3.16.7/dcop'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -march=i686 -mtune=generic -O2
-pipe -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
-I../extra/kde353 -I/opt/trinity/include -I/opt/qt/include/tqt
-I/usr/include/python2.7 -I/opt/qt/mkspecs/default -I/opt/qt/include
-I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp
In file included from sip/dcop/dcopobject.sip:30:0:
/opt/trinity/include/dcopobject.h:35:9: error: ‘TQValueList’ does not name a type
/opt/trinity/include/dcopobject.h:80:23: error: expected ‘)’ before ‘*’ token
/opt/trinity/include/dcopobject.h:85:20: error: ‘TQCString’ does not name a type
/opt/trinity/include/dcopobject.h:85:31: error: ISO C++ forbids declaration of
‘objId’ with no type
/opt/trinity/include/dcopobject.h:96:3: error: ‘TQCString’ does not name a type
<snip>
Full build output:
http://www.3111skyline.com/dl/dt/trinity/errors/pykde3-err-i686.txt
Question is - should we spend any more time worrying about it or just move on
to kdeaccessibility? (kdebindings still doesn't find TQt or any kde libraries)
kdebindings err:
<snip>
checking if TQt is available... no
configure: WARNING: You are attempting to compile Trinity without the Trinity Qt
Interface installed. Please install libtqtinterface-dev and try again!
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
Aborting...
<snip>
Full kdebindings output:
http://www.3111skyline.com/dl/dt/trinity/errors/kdebindings-no-kde-libs.txt
I've tried:
--with-extra-libs=${trinity_prefix}/lib
--with-extra-libs=${trinity_prefix}/lib/kde
with and without:
--disable-rpath
I don't get it?
I don't know how important these things are. What say the experts? Move on and
come back later?
--
David C. Rankin, J.D.,P.E.
Hi Tim Williams (mainly directed at him, but welcome for all to suggest),
I have been at work merging your Mandriva spec files with my openSUSE
and Fedora spec files, so that we can maintain from once central
location all the RPMs for Trinity. I noticed that you didn't have a
source rpm for kdebase, do you happen to have one (or a tarball with
specs and patches or such)? This way, I can probably produce the final
product by the end of the week.
--
later, Robert Xu
Screenshot: http://u.inga.lv/kcontrol.png (Mint 10 based on Ubuntu Maverick)
On the IRC channel I have been told the XDG variables were not set correctly. What should be their correct values?
I have tried examining the "startkde" content, but I'd wish to know for sure.
Thanks.
--
Inga Muste, Valsts.Lv administratore
+371 22077022
+371 25508844
Tim, Robert, all,
Building with svn rev: 1220968 I have run into the following error in
kdebase/ksmserver/shutdowndlg.cpp. Given that it involves the same constructor
type ‘KSMShutdownFeedback::KSMShutdownFeedback()’ as disclosed in the gcc bug,
it looks to be another cmake issue that needs to be resolved.
[ 82%] Building CXX object
ksmserver/CMakeFiles/kdeinit_ksmserver-shared.dir/shutdowndlg.cpp.o
cd /home/david/tbld/kdebase/src/ksmserver && /usr/bin/c++
-Dkdeinit_ksmserver_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe
-include tqt.h -fPIC -I/home/david/tbld/kdebase/src/ksmserver
-I/home/david/tbld/kdebase/src -I/home/david/tbld/kdebase/kdmlib
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -o
CMakeFiles/kdeinit_ksmserver-shared.dir/shutdowndlg.cpp.o -c
/home/david/tbld/kdebase/ksmserver/shutdowndlg.cpp
/home/david/tbld/kdebase/ksmserver/shutdowndlg.cpp: In constructor
‘KSMShutdownFeedback::KSMShutdownFeedback()’:
/home/david/tbld/kdebase/ksmserver/shutdowndlg.cpp:83:39: error: cannot call
constructor ‘QImage::QImage’ directly
/home/david/tbld/kdebase/ksmserver/shutdowndlg.cpp:83:39: error: for a
function-style cast, remove the redundant ‘::QImage’
make[2]: ***
[ksmserver/CMakeFiles/kdeinit_ksmserver-shared.dir/shutdowndlg.cpp.o] Error 1
make[2]: Leaving directory `/home/david/tbld/kdebase/src'
make[1]: *** [ksmserver/CMakeFiles/kdeinit_ksmserver-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tbld/kdebase/src'
make: *** [all] Error 2
Aborting...
Let me know if you need anything else.
--
David C. Rankin, J.D.,P.E.
All,
I'm rebuilding everything in a clean VM with gcc 4.5.2 for the gcc bug report
I have opened, and building kdelibs, I have run across an error I've never seen
before:
[ 72%] Building CXX object
interfaces/ktexteditor/CMakeFiles/ktexteditor-shared.dir/editorchooser_ui.cpp.o
cd /home/david/tbld/kdelibs/src/interfaces/ktexteditor && /usr/bin/c++
-Dktexteditor_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe
-include tqt.h -fPIC -I/opt/qt/include -I/opt/qt/include/tqt
-I/home/david/tbld/kdelibs/src/interfaces/ktexteditor
-I/home/david/tbld/kdelibs/src -I/home/david/tbld/kdelibs/interfaces/ktexteditor
-I/home/david/tbld/kdelibs/src/kdecore -I/home/david/tbld/kdelibs/src/kabc
-I/home/david/tbld/kdelibs -I/home/david/tbld/kdelibs/dcop
-I/home/david/tbld/kdelibs/kdecore -I/home/david/tbld/kdelibs/kdeui
-I/home/david/tbld/kdelibs/kio -I/home/david/tbld/kdelibs/kio/kio
-I/home/david/tbld/kdelibs/kabc -I/home/david/tbld/kdelibs/interfaces -o
CMakeFiles/ktexteditor-shared.dir/editorchooser_ui.cpp.o -c
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp: In
constructor ‘EditorChooser_UI::EditorChooser_UI(QWidget*, const char*)’:
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:33:51:
error: invalid use of incomplete type ‘struct QLayoutWidget’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:19:7:
error: forward declaration of ‘struct QLayoutWidget’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:34:109:
error: no matching function for call to
‘QVBoxLayout::QVBoxLayout(QLayoutWidget*&, int, int, const char [14])’
/opt/qt/include/qlayout.h:464:5: note: candidates are:
QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/opt/qt/include/qlayout.h:458:5: note:
QVBoxLayout::QVBoxLayout(int, const char*)
/opt/qt/include/qlayout.h:456:5: note:
QVBoxLayout::QVBoxLayout(QLayout*, int, const char*)
/opt/qt/include/qlayout.h:454:5: note:
QVBoxLayout::QVBoxLayout(QWidget*, int, int, const char*)
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:36:53:
error: invalid use of incomplete type ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:20:7:
error: forward declaration of ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:37:15:
error: invalid use of incomplete type ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:20:7:
error: forward declaration of ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:38:15:
error: invalid use of incomplete type ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:20:7:
error: forward declaration of ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:38:38:
error: incomplete type ‘QLabel’ used in nested name specifier
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:38:59:
error: incomplete type ‘QLabel’ used in nested name specifier
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:38:83:
error: incomplete type ‘QLabel’ used in nested name specifier
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:39:42:
error: no matching function for call to ‘QVBoxLayout::addWidget(QLabel*&)’
/opt/qt/include/qlayout.h:386:10: note: candidate is: void
QBoxLayout::addWidget(QWidget*, int, int)
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:41:58:
error: invalid use of incomplete type ‘struct QComboBox’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:21:7:
error: forward declaration of ‘struct QComboBox’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:42:43:
error: no matching function for call to ‘QVBoxLayout::addWidget(QComboBox*&)’
/opt/qt/include/qlayout.h:386:10: note: candidate is: void
QBoxLayout::addWidget(QWidget*, int, int)
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:43:45:
error: no matching function for call to ‘QVBoxLayout::addWidget(QLayoutWidget*&)’
/opt/qt/include/qlayout.h:386:10: note: candidate is: void
QBoxLayout::addWidget(QWidget*, int, int)
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp: In
member function ‘virtual void EditorChooser_UI::languageChange()’:
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.cpp:66:15:
error: invalid use of incomplete type ‘struct QLabel’
/home/david/tbld/kdelibs/src/interfaces/ktexteditor/editorchooser_ui.h:20:7:
error: forward declaration of ‘struct QLabel’
make[2]: ***
[interfaces/ktexteditor/CMakeFiles/ktexteditor-shared.dir/editorchooser_ui.cpp.o] Error
1
make[2]: Leaving directory `/home/david/tbld/kdelibs/src'
make[1]: *** [interfaces/ktexteditor/CMakeFiles/ktexteditor-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tbld/kdelibs/src'
make: *** [all] Error 2
Aborting...
Is this possibly related to the gcc problem I've had with gcc 4.5.2 that I need
to report to gcc, or does this look like a problem with QBoxLayout?
--
David C. Rankin, J.D.,P.E.
Tim, all,
I have built gcc 4.3.4-3 to see if that fixes the iccconfig.cpp build failure
in kdebase. What I don't know is:
"How to I change the cmake call or CMakeLists.txt to make sure I'm using gcc 4.3
and not 5.4?"
The executable is '/usr/bin/gcc-4.3'. Do I need a CC=gcc-4.3 or CXX=gcc-4.3
somewhere? If so where?
I've never tried to build anything with alternate gcc's installed. Any help
would be greatly appreciated.
--
David C. Rankin, J.D.,P.E.