[kde-solaris] More stuff on building 3.5.7 on Solaris (Sparc)

James Tappin jtappin at nso.edu
Wed Sep 19 22:11:47 CEST 2007


Below are my somewhat random notes on problems with building 3.5.7 on Solaris 
10. I've not attempted to build KDEGAMES or KDETOYS. Packages suffixed with a 
+ were rebuilt after I'd build a "local" copy of openssl.

The biggest problem is probably a local one in that we have gcc/g++ 4.1.1 
in /usr/local and an older version in /usr/sfw which kept causing link 
problems when KDE needed other stuff that's in /usr/sfw as the libstdc++ 
versions caused a clash.

Building on Solaris 10 / Sparc with gcc/g++ 4.1.1

ARTs:
* configure generates -mt option for C compiles, gcc 4.1.1/Solaris 10
doesn't like this. (only solution I could find was to edit all 17
Makefiles).

KDELIBS+
* need to add --with-extra-libs=/usr/openwin/sfw/lib for libXrender
* kjs/operations.cpp needs HAVE_FUNC_ISINF to be manually undefined in
config.h -- configure gets it wrong.
* Need patch to ktimezones.cpp otherwise panel clock always shows UT
even if it says it's MDT.

KDEBASE+
* ldap kioslave wouldn't build -- manually enforce /opt/sfw search
* remove -L/usr/sfw/lib from USB libs in kcontrol/info (causes
libstdc++ conflict) 
* kcontrol/info includes non-existent GL file (do build without GL)
(GL/glext.h)
* kcontrol/fonts remove -{LR}/usr/sfw/lib from -lfreetype 
* Similar issue in other kcontrol modules
* kdm can't build (NGROUPS -> NGROUPS_MAX)

KDEUTILS
* Superkaramba needs removal of -export-dynamic (interpreted as a -e
flag)
* Can't build snmp stuff in ksim

KDENETWORK+
clean

KDEGRAPHICS+
* kamera -- usual c++ duplication problems
* kpdf ditto
* kuickshow -- can't find many Imlib-* functions -- add explicit
-lImlib to LIBS in scr/Makefile
* kdvi -- c++ lib dup

KDEMULTIMEDIA
* Spurious -mt flags in arts and arts/modules/synth and elsewhere

KDEPIM+
* syntax error in assuan.h -- include socket.h (becomes irrelevant)
* assuan -- funopen cannot be built -- have to get gpgme and
libgpg-error from original source
*  need to add --with-extra-libs=/usr/openwin/sfw/lib for libXrender
* Several recompilations during install

KDEADMIN
* kdat rejected sys/mtio.h lacks needed definitions

KDEARTWORK
clean

KDEADDONS+
* no atlantikdesigner because games not installed 
* Fails to pass SSL includes to kfile-plugins/cert correctly(Goes with
libssl in KDEDIR) 

KNETLOAD, KCPULOAD
clean

GWENVIEW
* Misc dependencies
* No Xcursor support
* exiv2 needed /bin/sh -> /bin/bash

KDE-i18n (EN-GB)
clean

KOFFICE
* Misc dependencies.
* conficting definitions of swab in kross/python in unistd.h & stdlib.h
(do these really need to both be included?) [disable python]
* c++ libs in karbon
* Conflicting definitions in /usr/include/X11/extensions/dpms.h &
source KPrView.cpp (comment out duplicate declarations).
* SQL too old (omit kexi, also filters/kspread/kexi

Extras needed:
exiv2
openssl -- even though a supposedly suitable version exists (build 0.9.8e, 
0.9.7d exists)
gpgme/libgpg-error
krb5 -- may not be strictly necessary.
* could not build cyrus-sasl

Remaining problems:
* No GIF image display even though qt was built with gif support.


James


More information about the kde-solaris mailing list