Subject: Re: Anyone working on KDE4?
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-users
Date: 05/14/2007 18:18:55
On Mon, 14 May 2007 02:02:49 +0100
Raymond Meyer <raymond.meyer@rambler.ru> wrote:

> On Mon, 14 May 2007 02:24:02 +1200
> Mark Davies <mark@mcs.vuw.ac.nz> wrote:
> 
> > On Sunday 13 May 2007, Raymond Meyer wrote:
> > > I've heard that KDE4 will be supported on Solaris, which is why I'm
> > > so keen to try it out. I've tried building current stable version
> > > of KDE from pkgsrc (with Sun Studio and GCC compilers) and it
> > > always fails to compile.
> > 
> > I build 3.5.x on my Solaris boxes with GCC (libs, base, admin, 
> > accessibility, artwork, pim, graphics, network and utils anyway).
> > 
> > cheers
> > mark
> 
> OK, I'll give it a try again, if I get errors I'll ask for your help then.

Well I get the following error while to build kdelibs3

if /bin/ksh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I. -I/opt/pkg/include -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/opt/pkg/qt3/include -I/usr/openwin/include -I/opt/pkg/include -I/opt/pkg/include -I/usr/openwin/include  -mt -DQT_THREAD_SUPPORT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/krb5 -I/opt/pkg/include/db4 -I/opt/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/opt/pkg/include/freetype2 -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O -I/opt/pkg/include -I/opt/pkg/include/krb5 -I/opt/pkg/include/db4 -I/opt/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/opt/pkg/include/freetype2 -I/usr/include -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -
 DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT operations.lo -MD -MP -MF ".deps/operations.Tpo" -c -o operations.lo operations.cpp; \
        then mv -f ".deps/operations.Tpo" ".deps/operations.Plo"; else rm -f ".deps/operations.Tpo"; exit 1; fi
operations.cpp: In function 'bool KJS::isInf(double)':
operations.cpp:70: error: 'isinf' was not declared in this scope
operations.cpp: In function 'bool KJS::isPosInf(double)':
operations.cpp:83: error: 'isinf' was not declared in this scope
operations.cpp: In function 'bool KJS::isNegInf(double)':
operations.cpp:96: error: 'isinf' was not declared in this scope

...

gmake[3]: *** [operations.lo] Error 1
gmake[3]: Leaving directory `/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6/kjs'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6/kjs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/x11/kdelibs3
*** Error code 1