Subject: Re: KDE3 make install error
To: Joe Reed <email@example.com>
From: Dwight Tuinstra <firstname.lastname@example.org>
Date: 06/05/2002 12:39:57
I was able to successfully compile and install the x11/kde3
metaport, including the kdeutils-3.0.1. This is from pkgsrc
downloaded and untarred just yesterday.
My kdepim-3.0.1 file also has the line you mention. My success may
have been because I already have a libvcard.so on my system, in
/usr/X11R6/lib/mozilla/components/libvcard.so. If this is so, an
admittedly kludgy workaround may be to install mozilla.
On Wed, 5 Jun 2002, Joe Reed wrote:
| i found the line in the kdepim3 configure script which said
| DO_NOT_COMPILE="$DO_NOT_COMPILE kab2"
| 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
| libvcard.so.0 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 configure.in:
| > DO_NOT_COMPILE="$DO_NOT_COMPILE kab2"
| > why is that there? this is the directory which contains the code for
| > libvcard.so.0. 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, libvcard.so.0 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
| >> kde.org, 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