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

List:       kde-core-devel
Subject:    Re: kdeprint compile error
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-02-28 17:55:10
[Download RAW message or body]

>    Yes, I just discovered that there is a circular compile issue.  The first
> two subdirs require that make be run in "." first.  However "." requires that
> make had been run in the first two subdirs first.  I think the ui files are
> the only things that need to be run so perhaps there is some Makefile.am
> modification which would fix this?

Yes, that's the problem. The header files for ui should be created before
entering subdirs, which then are required to compile main dir. I admit this
is tricky. But this will change: I'm now using a plugin mechanism, so libraries
from subdirs are dynamically loaded at run-time, there's no dependence
anymore. So you can compile completely the main dir first, then compile the
subdirs. Until then we have to deal with the current code. I tried to add a
dependence for the "all-recursive" tag on "HFILES", but it doesn't seem
to work for everybody (it used to work on my system).

Michael.

--
------------------------------------------------------------------
Michael Goffioul                IMEC-DESICS-MIRA
e-mail: goffioul@imec.be        (Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510          Kapeldreef, 75
Fax:    +32/16/28-1515          3001 HEVERLEE, BELGIUM
------------------------------------------------------------------

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

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