[kde-solaris] Problem compiling kde-3.1.95

Philippe Bourdeu d'Aguerre bda at aime.insa-tlse.fr
Wed Jan 21 10:28:40 CET 2004

On mardi 20 Janvier 2004 12:13, Jan Van Belle wrote:
> Can someone else build this pre-release? Maybe it IS something in my setup,
> but I am compiling the today CVS snapshot of arts and I passed the point
> described higher (in fact: arts installation has just been finished)

I tried to compile kde 3.1.95 with gcc 3.3.2 on Solaris 2.8:

- Prerequisite -
When possible, I get packages from http://www.blastwave.org/
I installed CSWpkgconfig and CSWgtk2 which in turn needs CSWglib2, CSWlibatk, 
CSWpango, CSWfconfig

- Compilation -
Only one error in kdemultimedia-3.1.95/mpeglib_artsplug (see attachment)

I don't understand this error but changing line 67 in decoderBaseObject_impl.h 
	queue<DataPacket<mcopbyte>*> *m_packetQueue;
	std::queue<DataPacket<mcopbyte>*> *m_packetQueue;
makes compiler happy

- Execution -
At first glance, it seems to work quite well.

-------------- next part --------------
if /bin/ksh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I.. -I../mpeglib/lib -I/usr/local/kde-3.1.95/include/artsc 
-D_REENTRANT -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include 
-I/usr/local/kde-3.1.95/include/arts -I/usr/local/kde-3.1.95/include 
-I/usr/local/qt-3.2.3/include   -I/usr/local/include 
-I/soft/j2sdk1.4.1/include -I/soft/j2sdk1.4.1/include/solaris  
-DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common 
-DQT_NO_TRANSLATION  -MT decoderBaseObject_impl.lo -MD -MP -MF 
".deps/decoderBaseObject_impl.Tpo" \
  -c -o decoderBaseObject_impl.lo `test -f 'decoderBaseObject_impl.cpp' || 
echo './'`decoderBaseObject_impl.cpp; \
then mv -f ".deps/decoderBaseObject_impl.Tpo" 
".deps/decoderBaseObject_impl.Plo"; \
else rm -f ".deps/decoderBaseObject_impl.Tpo"; exit 1; \
In file included from decoderBaseObject_impl.cpp:19:
decoderBaseObject_impl.h:67: error: syntax error before `*' token
decoderBaseObject_impl.cpp: In constructor `
decoderBaseObject_impl.cpp:49: error: `m_packetQueue' undeclared (first use
   this function)
decoderBaseObject_impl.cpp:49: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
gmake[3]: *** [decoderBaseObject_impl.lo] Error 1
gmake[3]: Leaving directory `/tmp/kdemultimedia-3.1.95/mpeglib_artsplug'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/kdemultimedia-3.1.95/mpeglib_artsplug'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/kdemultimedia-3.1.95'
gmake: *** [all] Error 2

More information about the kde-solaris mailing list