Subject: Problems building kde3 (1.6ZC on i386)
To: None <>
From: Dave Tyson <>
List: tech-pkg
Date: 10/08/2003 10:44:01
Just tried to build kde3 from source using the pkgsrc.tar.gz from
about 7th October on current (i386, 1.6ZC from 6th October -

It fails in kdeadmin/kcron. I don't really know c++, but everything
seems to look OK - the include files seem to be correct for the
ifstream function. Anyone else seen this or can give any clues how to
fix it?


===> Building for kdeadmin-3.1.4
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4'
Making all in doc
gmake[2]: Entering directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/doc'
Making all in .
gmake[3]: Entering directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/doc'
.. (irrelevent stuff deleted)
gmake[2]: Leaving directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/doc'
Making all in kcron
gmake[2]: Entering directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/kcron'
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -UQT_NO_ASCII_CAST -DKDE_FIXES -DQT_THREAD_SUPPORT  -DGLX_GLXEXT_LEGACY  -I/usr/pkg/include -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -MT cthost.o -MD -MP -MF ".deps/cthost.Tpo" \
  -c -o cthost.o `test -f 'cthost.cpp' || echo './'`cthost.cpp; \
then mv ".deps/cthost.Tpo" ".deps/cthost.Po"; \
else rm -f ".deps/cthost.Tpo"; exit 1; \
cthost.cpp: In constructor `CTHost::CTHost()':
cthost.cpp:34: error: `ifstream' undeclared (first use this function)
cthost.cpp:34: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
cthost.cpp:34: error: parse error before `(' token
cthost.cpp:42: error: `inputStream' undeclared (first use this function)
gmake[2]: *** [cthost.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/kcron'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4'
gmake: *** [all] Error 2
*** Error code 2

Computing Services Dept         Phone/Fax: 0151-794-3731/3759
The University of Liverpool     Email:
Chadwick Tower, Peach Street    WWW:
Liverpool L69 7ZF               Open Source O/S: