[kde-solaris] KDE compilation woes (yet again)
Salman Sheikh
sheikh at pop500.gsfc.nasa.gov
Fri May 16 10:34:29 CEST 2003
Hello,
Let me start with I don't want any precompiled packages for KDE. I
rather roll my own, if possible. Invariably, something doesn't work
right with precompiled packages, especially if there released my
non-companies with real support (something seriously lacking with some
open source projects, especially for the non-X86 platforms). I have kde
3.1 compile before with some problems. I thought they would be hammered
out with newer versions of kde especially since I had some of there
problems before and posted them on this list and never got any helpful
answers or bug fixes.
That said. I am trying to compile KDE 3.1.1a on my Sun Ultra 60 with
Solaris 8. I got qt.3.1.2, arts, kdelibs and kdebase compiled. The first
two went without any glitches. kdelibs and kdebase are gave problems.
1. On kdelibs, I failed to get bzip properly detected and don't have the
help:// integrated as mentioned in the configure output. I know its
because of some problem betwen the Sun bzip and the latest 1.02 version.
I can't seem to get a shared library compiled. I've had tried
everything I could find by Eva, others, etc. Now I am trying to get help
from the bzip developers, I hope.
2.ksysguard of kdelibs fails with this output:
Making all in CContLib
make[1]: Entering directory `/home/salman/kdebase-3.1.1/ksysguard/CContLib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/salman/kdebase-3.1.1/ksysguard/CContLib'
Making all in ksysguardd
make[1]: Entering directory
`/home/salman/kdebase-3.1.1/ksysguard/ksysguardd'
Making all in Solaris
make[2]: Entering directory
`/home/salman/kdebase-3.1.1/ksysguard/ksysguardd/Solaris'
source='ProcessList.c' object='ProcessList.o' libtool=no \
depfile='.deps/ProcessList.Po' tmpdepfile='.deps/ProcessList.TPo' \
depmode=gcc3 /bin/bash ../../../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../CContLib -I./..
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS -DSVR4 -O2 -D_GNU_SOURCE -c `test -f 'ProcessList.c' ||
echo './'`ProcessList.c
In file included from /usr/include/procfs.h:26,
from ProcessList.c:34:
/usr/include/sys/procfs.h:153: parse error before "taskid_t"
/usr/include/sys/procfs.h:157: parse error before '}' token
/usr/include/sys/procfs.h:269: parse error before "taskid_t"
/usr/include/sys/procfs.h:271: conflicting types for `pr_filler'
/usr/include/sys/procfs.h:155: previous declaration of `pr_filler'
/usr/include/sys/procfs.h:272: conflicting types for `pr_lwp'
/usr/include/sys/procfs.h:156: previous declaration of `pr_lwp'
/usr/include/sys/procfs.h:273: parse error before '}' token
In file included from /usr/include/sys/proc.h:31,
from ProcessList.c:35:
/usr/include/sys/task.h:59: parse error before "settaskid"
/usr/include/sys/task.h:59: parse error before "uint_t"
/usr/include/sys/task.h:60: parse error before "gettaskid"
ProcessList.c: In function `updateProcess':
ProcessList.c:146: parse error before "psinfo"
ProcessList.c:172: `psinfo' undeclared (first use in this function)
ProcessList.c:172: (Each undeclared identifier is reported only once
ProcessList.c:172: for each function it appears in.)
make[2]: *** [ProcessList.o] Error 1
make[2]: Leaving directory
`/home/salman/kdebase-3.1.1/ksysguard/ksysguardd/Solaris'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/salman/kdebase-3.1.1/ksysguard/ksysguardd'
make: *** [all-recursive] Error 1
3. In kdebase-3.1.1 the kcontrol/info compile fails with the following
(which has been posted here before but the submitter never got a
response and switched to gnome instead, very pathetic indeed):
[magoo] info: make
source='main.cpp' object='main.lo' libtool=yes \
depfile='.deps/main.Plo' tmpdepfile='.deps/main.TPlo' \
depmode=gcc3 /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/folks/salman/kde3.1.1/include
-I/folks/salman/qt312/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_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c
-o main.lo `test -f 'main.cpp' || echo './'`main.cpp
In file included from /usr/include/libdevinfo.h:16,
from info_solaris.cpp:24,
from info.cpp:457,
from main.cpp:31:
/usr/include/sys/devinfo_impl.h:151: 'ddi_node_class_t' is used as a
type, but
is not defined as a type.
In file included from info.cpp:457,
from main.cpp:31:
info_solaris.cpp: In function `bool GetInfo_CPU(QListView*)':
info_solaris.cpp:66: warning: deprecated conversion from string constant
to `
char*'
info_solaris.cpp:66: warning: deprecated conversion from string constant
to `
char*'
info_solaris.cpp:72: warning: deprecated conversion from string constant
to `
char*'
info_solaris.cpp:90: warning: deprecated conversion from string constant
to `
char*'
info_solaris.cpp:99: warning: deprecated conversion from string constant
to `
char*'
info_solaris.cpp:105: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:111: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:117: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:123: warning: deprecated conversion from string
constant to `
char*'
In file included from info.cpp:457,
from main.cpp:31:
info_solaris.cpp: In function `char* prop_type_str(di_prop*)':
info_solaris.cpp:389: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:391: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:393: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:395: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:397: warning: deprecated conversion from string
constant to `
char*'
info_solaris.cpp:399: warning: deprecated conversion from string
constant to `
char*'
/folks/salman/qt312/include/qvaluelist.h: At top level:
info.cpp:425: warning: `int GetInfo_ReadfromPipe(QListView*, const
char*, bool)
' defined but not used
make: *** [main.lo] Error 1
I got pass these by editing the Makefiles to ignore the ksysguard and
info subdirectories. This is a half-butt measure and does not install
much confidence in the end.
Any help of any kind on any of these errors would be greatly appreciated.
Salman
More information about the kde-solaris
mailing list