[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: kded not started
From:       Lasse Jansson <lasse.jansson () telia ! com>
Date:       1999-06-21 18:53:48
[Download RAW message or body]

On Sat, 12 Jun 1999, Tomas Cernaj wrote:
> Lasse Jansson schrieb:
> > 
> > On Sun, 06 Jun 1999, Simon Hausmann wrote:
> > > On Sun, 6 Jun 1999, Lasse Jansson wrote:
> > >
> > > > Hi,
> > > >
> > > > Hmmmmm...
> > > >
> > > > 1. I successfully compiled and installed egcs 1.1.2. I haven't run any tests of
> > > > the compiler though, so who knows, maybe the exception handling fails. (But I
> > > > haven't seen any complaints when I've actually compiled programs with egcs)
> > > >
> > > > 2. The only option I compiled mico with was --disable-mini-stl
> > > >
> > > > So I guess I'm still pretty clueless.
> > >
> > > Perhaps you can have a look at your config.log in the micodir and see
> > > about the results of the exception tests?
> > 
> > I checked, and the result was both encouraging and disencouraging:
> > 1. checking for exception handling.........OK
> > 2. checking for exceptions in shared libraries.........failed
> > 
> > Comments ?
> > 
> > /Lasse
> 
> Heureka! I finally found the cause for this behaviour of ./configure!
> 
> If you have both gcc and egcs installed ./configure compiles its test
> progs with g++ (->egcs) but links them with gcc (->old version! Perhaps
> 2.7.* !!) That version of gcc does _not_ support exceptions in shared
> libs.
> 
> Fix: Run "CC=egcc ./configure --disable-mini-stl [etc...]" for mico and
> compile it again.
> 
> (I don't know if KDE needs it, but anyway I've put "export CC=egcc" into
> my .bashrc)
> 
> cu, Tomas

Hi Tomas,

Thanks for your advice, it sounds logical. Unfortunately it does not work for
me, if had some more basic linux knowledge I guess I would find the cause.
Anyway I'll post my symptoms below:

[root@jaguar mico]# ./configure --disable-mini-stl
loading cache ./config.cache
checking for extra include and lib directories...
   + found /usr/local/include
   + found /usr/local/lib
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for gcc... egcc
checking whether the C compiler (egcc  -L/usr/local/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Any hints ? (i.e. this is the situation after putting "export CC=egcs" into
.bashrc)

Thanks for your time,
			Lasse

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic