1 |
Hi, |
2 |
I did have a look at your ebuild and I found a very starnge behaviour of uic |
3 |
tool. To cu the long story short here it is: |
4 |
I untared the sources in a separate dir as *NON_ROOT* user and run make just |
5 |
to let it create the header files based on *ui and broke it. Now I issued |
6 |
this command again as NO_ROOT: |
7 |
/usr/qt/3/bin/uic -tr i18n -i siteDataDlg.h ./siteDataDlg.ui | sed -e "s, \ |
8 |
i18n( \"\" ),QString::null,g" | sed -e "s,QT_KDE_I18N( \"\"\, \"\" \ |
9 |
),QString::null,g" >> siteDataDlg.cc || rm -f siteDataDlg.cc |
10 |
|
11 |
It is just a copy of a command which make runs, when compiling the sources. |
12 |
Now I check siteDataDlg.cc and the include for kurlrequester is there. |
13 |
|
14 |
NOW, remove the siteDataDlg.cc file. Change to super user and run the uic |
15 |
command again. I check the .cc file and find that kurlrequester.h is NOT |
16 |
included any more. |
17 |
|
18 |
So, the problem has nothing to do with ebuild as all these tests were |
19 |
performed without it beeing used (I just used emerge -f to get your tarball), |
20 |
but it rather looks like a bug in uic. |
21 |
|
22 |
On Saturday 26 April 2003 14:08, Werner Joss wrote: |
23 |
> Thanks for fast reply - see attached ebuild. |
24 |
> werner |
25 |
> |
26 |
> On Samstag, 26. April 2003 18:51, Sergey Kuleshov wrote: |
27 |
> > That's odd :( Can you post your ebuild file to have a look at. |
28 |
> > Also, one suggestion, probably a stupid one, try to use make |
29 |
> > instead of emake in src_compile(). |
30 |
> > |
31 |
> > P.S. I'm also new here ;-) |
32 |
> > |
33 |
> > On Saturday 26 April 2003 13:29, Werner Joss wrote: |
34 |
> > > my kde-program compiles/installs fine if I do this via the usual steps |
35 |
> > > 'configure - make - make install', but fails when I try to install it |
36 |
> > > with a simple ebuild. |
37 |
> > > the problem seems to be a different behaviour of moc (the qt |
38 |
> > > meta-object compiler) when processing qt-designer .ui files. |
39 |
> > > I think the relevant part of the ui file is this: |
40 |
> > > |
41 |
> > > <includehints> |
42 |
> > > <includehint>kurlrequester.h</includehint> |
43 |
> > > <includehint>klineedit.h</includehint> |
44 |
> > > <includehint>kpushbutton.h</includehint> |
45 |
> > > </includehints> |
46 |
> > > |
47 |
> > > because when running moc from 'make', it inserts |
48 |
> > > |
49 |
> > > #include <kurlrequester.h> |
50 |
> > > |
51 |
> > > into the resulting .h file, |
52 |
> > > whereas in case of the ebuild, moc omits that line. |
53 |
> > |
54 |
> > ...... |
55 |
> > |
56 |
> > > if anybody has a clue where to look now, I would greatly appreciate. |
57 |
> > > werner |
58 |
|
59 |
-- |
60 |
Sergey Kuleshov <sergey@××××××××××.com> |
61 |
Studio Programer |
62 |
Microsoft Certified Professional |
63 |
|
64 |
-- |
65 |
gentoo-dev@g.o mailing list |