[Kde-bindings] [Bug 78412] Cannot build kdebindings, source file missing
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Fri Mar 26 17:57:05 UTC 2004
On Friday 26 March 2004 12:37, Adriaan De Groot wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=78412
> adridg cs kun nl changed:
>
> What |Removed |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED |NEW
> everconfirmed|0 |1
>
>
>
> ------- Additional Comments From adridg cs kun nl 2004-03-26 13:37 -------
> The problem is this: smokedata.cpp isn't generated because supposedly you
> know you have to run qtguess.pl and generate.pl in the build directory. You
> could add this to Makefile.am:
>
> smokedata.cpp :
> perl qtguess.pl
> perl generate.pl
>
> though this will regenerate it (and hence all the cpp files, and cause
> compilation and linking) at every run.
>
> Also, this may be useful if you've got srcdir != builddir, since
> $headerlist may be the absolute path name of the header_list file.
>
> --- generate.pl.in 28 Dec 2003 13:43:21 -0000 1.5
> +++ generate.pl.in 26 Mar 2004 12:32:51 -0000
> @ -18,6 +18,9 @ my $headerlist = " srcdir /header_list";
> my $definespath = "$here/$defines";
> my $headerlistpath = "$here/$headerlist";
>
> +## If srcdir != builddir, use headerlist from src
> +$headerlistpath = $headerlist if ($headerlist =~ /^\//);
> +
> ## Note: outdir and finaloutdir should NOT be the same dir!
>
> # Delete all x_*.cpp files under outdir (or create outdir if nonexistent)
I thought we'd already fixed srcdir != buildir, someone did a patch for it a
while ago. I'll have a look tomorrow in the mails on this list, but your
solution looks ok.
-- Richard
PS. Sorry I couldn't send you the piano tune, but I haven't worked out how to
get a track off a CD onto a computer. I've never tried it before - I thought
iTunes did that, but I couldn't work it.
More information about the Kde-bindings
mailing list