[kde-solaris] Solaris 9 and kde 3.1.2 compile problems
Mario Kadastik
mario.kadastik at microlink.ee
Wed Jul 16 14:44:37 CEST 2003
Hello,
I'm having trouble compiling kde 3.1.2 on solaris 9. I was able to
compile qt 3.2.0b2 and also arts 1.1.2, but when trying to compile
kdelibs-3.1.2 I get the errors I have attached at the end of this mail.
I used configure --prefix=/opt/kde --disable-pcre as I don't have pcre
and won't use konqueror as a web browser. Configure ran just fine and
make was going fine also, but kdialog seems broken.
gcc, moc and libtool versions are at the end of error messages. QT is
located at /opt/qt
Mario Kadastik
/opt/qt//bin/moc ./kdialog.h -o kdialog.moc
if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../kdefx -I../interfaces -I../dcop
-I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio
-I../kio/kfile -I.. -I/opt/qt//include -I/opt/kde/include
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2
-fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -MT kdialog.lo -MD -MP -MF
".deps/kdialog.Tpo" \
-c -o kdialog.lo `test -f 'kdialog.cpp' || echo './'`kdialog.cpp; \
then mv ".deps/kdialog.Tpo" ".deps/kdialog.Plo"; \
else rm -f ".deps/kdialog.Tpo"; exit 1; \
fi
kdialog.cpp: In static member function `static void
KDialog::resizeLayout(QWidget*, int, int)':
kdialog.cpp:136: no matching function for call to `KDialog::resizeLayout(
QLayout*, int&, int&)'
kdialog.cpp:133: candidates are: static void
KDialog::resizeLayout(QWidget*,
int, int)
kdialog.h:91: static void
KDialog::resizeLayout(QLayoutItem*,
int, int)
kdialog.cpp: In static member function `static void
KDialog::resizeLayout(QLayoutItem*, int, int)':
kdialog.cpp:156: `QLayoutIterator' undeclared (first use this function)
kdialog.cpp:156: (Each undeclared identifier is reported only once for each
function it appears in.)
kdialog.cpp:156: syntax error before `=' token
kdialog.cpp:158: `it' undeclared (first use this function)
kdialog.cpp:163: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
kdialog.cpp:165: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
kdialog.cpp:166: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
/opt/qt/include/qptrlist.h: In member function `void
QPtrList<type>::deleteItem(void*) [with type = QLayoutItem]':
kdialog.cpp:37: instantiated from here
/opt/qt/include/qptrlist.h:150: invalid use of undefined type `struct
QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
make[3]: *** [kdialog.lo] Error 1
make[3]: Leaving directory
`/export/home/mario/download/kdenew/kdelibs-3.1.2/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/mario/download/kdenew/kdelibs-3.1.2/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/mario/download/kdenew/kdelibs-3.1.2'
make: *** [all] Error 2
bash-2.05# moc -v
Qt Meta Object Compiler version 26 (Qt 3.2.0b2)
bash-2.05# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.2.3
bash-2.05# libtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bash-2.05# gcc -v
More information about the kde-solaris
mailing list