Subject: Re: KDE3 make install error
To: None <>
From: Joe Reed <>
List: tech-pkg
Date: 06/05/2002 10:33:10
i found the line in the kdepim3 configure script which said

i commented it out and reran make.  pkgsrc did attempt to compile kab3 but 
then i got this: 

source='kab_client.cpp' object='kab_client.o' libtool=no  
depfile='.deps/kab_client.Po' tmpdepfile='.deps/kab_client.TPo'  depmode=gcc 
/bin/sh ../../admin/depcomp  c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. 
 -I/usr/X11R6/include -I/usr/pkgsrc/misc/kdepim3/work/.buildlink/qt3/include 
 -I/usr/pkg/share/x11-links/include   -pthread -DQT_THREAD_SUPPORT 
 -I/usr/pkg/share/x11-links/include  -O2 
 -I/usr/pkgsrc/misc/kdepim3/work/.buildlink/include -O2 
 -I/usr/pkg/share/x11-links/include -fno-exceptions -fno-check-new  -c -o 
kab_client.o `test -f kab_client.cpp || echo './'`kab_client.cpp
c++: unrecognized option `-pthread'
kab_client.cpp: In function `void list()':
/usr/include/g++/stl_list.h:247: previous non-function declaration `template 
<class _Tp, class _Alloc = class allocator<_Tp1> > class list<_Tp,_Alloc>'
kab_client.cpp:149: conflicts with function declaration `void list()'
kab_client.cpp: In function `int main(int, char **)':
kab_client.cpp:322: use of class template `template <class _Tp, class _Alloc 
= class allocator<_Tp1> > list<_Tp,_Alloc>' as expression
*** Error code 1 

make: stopped in /usr/pkgsrc/misc/kdepim3/work/kdepim-3.0.1/kab2/tools

i assume that someone successfully got kdeutils3 installed.  how did you get on your system?? 

is there a patch to the kde3 src to fix this error? 


Joe Reed writes: 

> .. note this thread moved to tech_pkg.  please send all replies there ...  
> after some further inspection, there is a line in
> why is that there?  this is the directory which contains the code for 
>  doesn't that lib need to be compiled and installed (that's 
> why kabc doesn't compile!)  
> --joe  
> Joe Reed writes:  
>> when i do a 'make install' of kde3. a shared object, is not 
>> installed on my system.  this causes pkgsrc/kdeutils3 to fail on build, 
>> and some applications (like kmail) to fail on startup.  according to 
>>, this library should be installed from kdepim, but after looking 
>> at pkgsrc/misc/kdepim3 i cannot find any reference to this file.   
>> what do i have to do to get this lib on my system?  is this an error on 
>> my part, or from pkgsrc?   
>> i'm running netbsd-current 1.6A (i386) 6/3/2002 (kernel and userland)   
>> thanks in advance for the help!
>> --joe