Subject: Re: Prob building KDE3
To: Piers Hearn <endareth@bigfoot.com>
From: Daniel Picker <dp3@cec.wustl.edu>
List: netbsd-help
Date: 07/29/2002 08:45:00
Piers,	
	Try a make clean, and a make clean-depends, that always
helps. Also, I assume you have installed the openssl library.

HTH,
	Daniel 

On Mon, 29 Jul 2002, Piers Hearn wrote:

> Yup, noticed the ACCEPTABLE_LICENSES setting for openssl, and that was one 
> thing that had stopped me originally. But unfortunately it still didn't fix 
> my prob. Anyone with any further ideas?
> p.s. I'm just going through and double checking to ensure all my 
> dependencies are latest versions, see if that makes any difference.
> Thanks,
>          Piers.
> 
> At 21:50 29/07/2002, Daniel Picker wrote:
> >Piers,
> >         Make sure the package is installed! It may not be adding the
> >package automatically as you dont have the license for openssl in youre
> >make configuration file.
> >
> >HTH,
> >         Dan
> >
> >On Mon, 29 Jul 2002, J. Piers Hearn wrote:
> >
> > > Hi folks, I'm running into a problem trying to build KDE3 from pkgsrc. I'm
> > > running 1.5.2, and when I do a make for /usr/pkgsrc/x11/kde3, I eventually
> > > run into the following error. I figure that somehow it's not picking up a
> > > header for openssl (which I have confirmed appears to be installed fine),
> > > but I can't pick how to correct this.
> > > Thanks in advance!
> > >       Piers
> > >
> > > <excerpt from build>
> > > c++ -O2 -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include
> > > -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include -O2
> > > -I/usr/pkg/share/x11-links/include -fno-exceptions -fno-check-new
> > > -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
> > > -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -o
> > > kcm_crypto.la.closure .libs/kcm_crypto_la_closure.o -pthread
> > > -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib
> > > .libs/crypto.o .libs/certexport.o .libs/kdatetimedllink/lib
> > > -L/usr/pkgsrc/x11/kdebase3/work/.buildlink/qt3/lib
> > > -L/usr/pkg/share/x11-links/lib -lkdeui -lkio -lssl -lcrypto -Wl,--rpath
> > > -Wl,/usr/pkg/lib
> > > c++: unrecognized option `-pthread'
> > > .libs/crypto.o: In function `KCryptoConfig::slotCAImport(void)':
> > > .libs/crypto.o(.text+0xaa5c): undefined reference to
> > > `KOpenSSLProxy::X509_STORE_new(void)'
> > > .libs/crypto.o(.text+0xaa6a): undefined reference to
> > > `KOpenSSLProxy::X509_LOOKUP_file(void)'
> > > .libs/crypto.o(.text+0xaa7a): undefined reference to
> > > `KOpenSSLProxy::X509_STORE_add_lookup(x509_store_st *,
> > > x509_lookup_method_st *)'
> > > .libs/crypto.o(.text+0xaaaf): undefined reference to
> > > `KOpenSSLProxy::X509_LOOKUP_ctrl(x509_lookup_st *, int, char const *, 
> > long,
> > > char **)'
> > > .libs/crypto.o(.text+0xaae5): undefined reference to
> > > `KOpenSSLProxy::sk_value(stack_st *, int)'
> > > .libs/crypto.o(.text+0xab0a): undefined reference to
> > > `KSSLCertificate::fromX509(x509_st *)'
> > > .libs/crypto.o(.text+0xb0ae): undefined reference to
> > > `KOpenSSLProxy::sk_num(stack_st *)'
> > > .libs/crypto.o(.text+0xb14b): undefined reference to
> > > `KOpenSSLProxy::X509_STORE_free(x509_store_st *)'
> > > .libs/crypto.o(.text+0xb9fd): undefined reference to
> > > `KOpenSSLProxy::X509_STORE_free(x509_store_st *)'
> > > collect2: ld returned 1 exit status
> > > gmake[3]: *** [kcm_crypto.la.closure] Error 1
> > > gmake[3]: Leaving directory
> > > `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.1/kcontrol/crypto'
> > >
> > >
> 
>