[Kde-bindings] [Bug 78412] Cannot build kdebindings, source file missing

Adriaan De Groot adridg at cs.kun.nl
Fri Mar 26 12:37:05 UTC 2004


------- 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)



More information about the Kde-bindings mailing list