Configuring kdenetwork-3.1.1: KDE plugins trouble

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by wilc » Tue, 06 May 2003 21:13:02



Hi,

I've succesfully installed kdelibs-3.1.1a, kdebase-3.1.1a and arts.
When trying to compile kdenetwork I get the following error when
running:
# ./configure --prefix=/opt/kde-3.1 --disable-debug
--disable-dependency-tracking
....
checking if UIC has KDE plugins available... configure: error: not
found - you need to install kdelibs first.

Kdelibs is installed and working fine (as far as I can check).
qtconfig has the paths to the plugin directories for KDE. What can be
the problem?
Any help greatly appreciated.
I've compiled everything with gcc-3.2.1:
# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/usr --enable-shared
--enable-threads=posix --with-slibdir=/lib --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 3.2.1

 
 
 

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by Ender Wiggi » Thu, 08 May 2003 12:03:04



> Hi,

> I've succesfully installed kdelibs-3.1.1a, kdebase-3.1.1a and arts.
> When trying to compile kdenetwork I get the following error when
> running:
> # ./configure --prefix=/opt/kde-3.1 --disable-debug
> --disable-dependency-tracking
> ....
> checking if UIC has KDE plugins available... configure: error: not
> found - you need to install kdelibs first.

> Kdelibs is installed and working fine (as far as I can check).
> qtconfig has the paths to the plugin directories for KDE. What can be
> the problem?
> Any help greatly appreciated.
> I've compiled everything with gcc-3.2.1:
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
> Configured with: ../gcc-3.2.1/configure --prefix=/usr --enable-shared
> --enable-threads=posix --with-slibdir=/lib --enable-__cxa_atexit
> --enable-clocale=gnu
> Thread model: posix
> gcc version 3.2.1

Check the config.log in the directory. It tells you what's compiled and what
went wrong. What does --disable-dependency-tracking do for you ? I would
have thought it to be risky compiling with it but I usually compile with
--disable-debug at most.

 
 
 

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by wilc » Thu, 08 May 2003 18:51:52


.......

Quote:> Check the config.log in the directory. It tells you what's compiled and what
> went wrong. What does --disable-dependency-tracking do for you ? I would
> have thought it to be risky compiling with it but I usually compile with
> --disable-debug at most.

--disable-dependency-tracking just speeds up one time builds.
The configure script compiles a test program and searches for
klineedit. klineedit is not found in the file but KLineEdit is used
instead. When changing the configure script make failes with errors
about "invalid use of undefined type `struct KListView'" Not sure if
this problem is related to QT or KDE.
 
 
 

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by Guy Harriso » Fri, 09 May 2003 04:04:36





>> Check the config.log in the directory. It tells you what's compiled
>> and what went wrong. What does --disable-dependency-tracking do for
>> you ? I would have thought it to be risky compiling with it but I
>> usually compile with --disable-debug at most.

> --disable-dependency-tracking just speeds up one time builds.
> The configure script compiles a test program and searches for
> klineedit. klineedit is not found in the file but KLineEdit is used
> instead. When changing the configure script make failes with errors
> about "invalid use of undefined type `struct KListView'" Not sure if
> this problem is related to QT or KDE.

KlineEdit/klineedit bit me once so I happen to recall it starts life in
admin/acinclude.m4.in, which generates a 'actest.ui' - iirc my
particular problem was "uic" wasn't found, so no 'actest.cpp' got
created, thus the "grep klineedit" failed. Check PATH contains
QTDIR/bin first I guess, then work forward.

--
Guy Harrison

 
 
 

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by wilc » Sat, 10 May 2003 02:42:55






> >> Check the config.log in the directory. It tells you what's compiled
> >> and what went wrong. What does --disable-dependency-tracking do for
> >> you ? I would have thought it to be risky compiling with it but I
> >> usually compile with --disable-debug at most.

> > --disable-dependency-tracking just speeds up one time builds.
> > The configure script compiles a test program and searches for
> > klineedit. klineedit is not found in the file but KLineEdit is used
> > instead. When changing the configure script make failes with errors
> > about "invalid use of undefined type `struct KListView'" Not sure if
> > this problem is related to QT or KDE.

> KlineEdit/klineedit bit me once so I happen to recall it starts life in
> admin/acinclude.m4.in, which generates a 'actest.ui' - iirc my
> particular problem was "uic" wasn't found, so no 'actest.cpp' got
> created, thus the "grep klineedit" failed. Check PATH contains
> QTDIR/bin first I guess, then work forward.

Well, uic is found and the program compiles. Only the output file
contains "KLineEdit" (without quotes), and not "klineedit" so I think
it's a version conflict.
 
 
 

Configuring kdenetwork-3.1.1: KDE plugins trouble

Post by Guy Harriso » Sat, 10 May 2003 06:43:52








>> >> Check the config.log in the directory. It tells you what's
>> >> compiled and what went wrong. What does
>> >> --disable-dependency-tracking do for you ? I would have thought it
>> >> to be risky compiling with it but I usually compile with
>> >> --disable-debug at most.

>> > --disable-dependency-tracking just speeds up one time builds.
>> > The configure script compiles a test program and searches for
>> > klineedit. klineedit is not found in the file but KLineEdit is used
>> > instead. When changing the configure script make failes with errors
>> > about "invalid use of undefined type `struct KListView'" Not sure
>> > if this problem is related to QT or KDE.

>> KlineEdit/klineedit bit me once so I happen to recall it starts life
>> in admin/acinclude.m4.in, which generates a 'actest.ui' - iirc my
>> particular problem was "uic" wasn't found, so no 'actest.cpp' got
>> created, thus the "grep klineedit" failed. Check PATH contains
>> QTDIR/bin first I guess, then work forward.

> Well, uic is found and the program compiles. Only the output file
> contains "KLineEdit" (without quotes), and not "klineedit" so I think
> it's a version conflict.

Seems that grep is matching on the "#include <klineedit.h>" in
actest.cpp rather than the KLineEdit object. Perhaps there's a reason
for it done that way or perhaps it's a bug. I dunno.

<hack mode>
"grep -i klineedit"
</hack mode>

...would be one way to get you past it.

--
Guy Harrison

 
 
 

1. kmail from kdenetwork-2.1.1 on Redhat crashes

Hello,

i've built Qt, kdelibs, kdebase and kdenetwork for the Redhat
RPMS. I've applied the patches, ran configure and built them all,
there is a wierd warning about #include_next not being supported,
otherwise it continues. Konqy works fine, but kmail crashes. Has
anyone seen this?

Barry

Barry D. Benowitz - FAQ maintainer for alt.lefthanders

Phone:+1 856 866 1000 x3354
Snail:Telesciences Inc, 2000 Midlantic Dr., Mt. Laurel, NJ, 08054-5476

2. TCPwrapper???

3. kde 1.1, configure scripts errors out with no know stl, on hp-ux 10.10

4. key mappings

5. GIMP 1.1 and KDE 1.1 problem

6. Smartcard sessions + authentication with Sun Ray / When the hell does Sun Ray Server Software 2.0 get released?

7. "Autoraise" behavior changed form KDE 1.0 to KDE 1.1

8. Cold Fusion Error

9. Building KDE 2.0 with KDE 1.1.x active...

10. Upgrade KDE 1.1.pre2 to KDE 1.1.1

11. Installing new KDE apps under KDE 1.1

12. Upgrading from KDE-1.1 to KDE-1.1.1

13. kde 2.2.2 can't compile kdenetwork