Linux-Noob Forums

Full Version: Having trouble with Konstruct in Mandriva 10.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I've been having installing KDE 3.4 in Mandrake 10.2...output follows below, but at the end, the install seems to fail with a compiler error...Forgive me, I'm a total linux noob. Can anybody help?

 

 

[root@127 kde]# make install

[===== NOW BUILDING: kde-1 =====]

[fetch] complete for kde.

[checksum] complete for kde.

[extract] complete for kde.

[patch] complete for kde.

==> Building kde/kdebase as a dependency

make[1]: Entering directory `/home/adamsorkin/konstruct/kde/kdebase'

[===== NOW BUILDING: kdebase-3.4.2 =====]

[fetch] complete for kdebase.

[checksum] complete for kdebase.

[extract] complete for kdebase.

[patch] complete for kdebase.

==> Building kde/kdelibs as a dependency

make[2]: Entering directory `/home/adamsorkin/konstruct/kde/kdelibs'

[===== NOW BUILDING: kdelibs-3.4.2 =====]

[fetch] complete for kdelibs.

[checksum] complete for kdelibs.

[extract] complete for kdelibs.

[patch] complete for kdelibs.

==> Building libs/arts as a dependency

make[3]: Entering directory `/home/adamsorkin/konstruct/libs/arts'

[===== NOW BUILDING: arts-1.4.2 =====]

[fetch] complete for arts.

[checksum] complete for arts.

[extract] complete for arts.

[patch] complete for arts.

==> Building libs/glib as a dependency

make[4]: Entering directory `/home/adamsorkin/konstruct/libs/glib'

[===== NOW BUILDING: glib-2.8.0 =====]

[fetch] complete for glib.

[checksum] complete for glib.

[extract] complete for glib.

[patch] complete for glib.

==> Building misc/pkgconfig as a dependency

make[5]: Entering directory `/home/adamsorkin/konstruct/misc/pkgconfig'

[===== NOW BUILDING: pkg-config-0.19 =====]

[fetch] complete for pkg-config.

[checksum] complete for pkg-config.

[extract] complete for pkg-config.

[patch] complete for pkg-config.

==> Running configure in work/pkg-config-0.19

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for style of include used by make... GNU

checking for gcc... cc

checking for C compiler default output file name... configure: error: C compiler cannot create executables

See `config.log' for more details.

make[5]: *** [configure-work/pkg-config-0.19/configure] Error 77

make[5]: Leaving directory `/home/adamsorkin/konstruct/misc/pkgconfig'

make[4]: *** [dep-../../misc/pkgconfig] Error 2

make[4]: Leaving directory `/home/adamsorkin/konstruct/libs/glib'

make[3]: *** [dep-../../libs/glib] Error 2

make[3]: Leaving directory `/home/adamsorkin/konstruct/libs/arts'

make[2]: *** [dep-../../libs/arts] Error 2

make[2]: Leaving directory `/home/adamsorkin/konstruct/kde/kdelibs'

make[1]: *** [dep-../../kde/kdelibs] Error 2

make[1]: Leaving directory `/home/adamsorkin/konstruct/kde/kdebase'

make: *** [dep-../../kde/kdebase] Error 2


I've made some progress by getting c and c++ compiler packages, gettext packages, etc...Now I get a new error 2:

 

In file included from kernel/qtaddons_x11.cpp:25:

kernel/qt_x11_p.h:66:22: X11/Xlib.h: No such file or directory

kernel/qt_x11_p.h:71:23: X11/Xutil.h: No such file or directory

kernel/qt_x11_p.h:72:21: X11/Xos.h: No such file or directory

kernel/qt_x11_p.h:73:23: X11/Xatom.h: No such file or directory

make[6]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1

make[6]: Leaving directory `/home/adamsorkin/downloads/konstruct/libs/qt-x11-free/work/qt-x11-free-3.3.4/src'

make[5]: *** [sub-src] Error 2

make[5]: Leaving directory `/home/adamsorkin/downloads/konstruct/libs/qt-x11-free/work/qt-x11-free-3.3.4'

make[4]: *** [build-work/qt-x11-free-3.3.4/Makefile] Error 2

make[4]: Leaving directory `/home/adamsorkin/downloads/konstruct/libs/qt-x11-free'

make[3]: *** [dep-../../libs/qt-x11-free] Error 2

make[3]: Leaving directory `/home/adamsorkin/downloads/konstruct/libs/arts'

make[2]: *** [dep-../../libs/arts] Error 2

make[2]: Leaving directory `/home/adamsorkin/downloads/konstruct/kde/kdelibs'

make[1]: *** [dep-../../kde/kdelibs] Error 2

make[1]: Leaving directory `/home/adamsorkin/downloads/konstruct/kde/kdebase'

make: *** [dep-../../kde/kdebase] Error 2

 

Where am I going wrong now?


looks like you need to install the kernel headers (.h files)

 

i've no idea how to do that in mandriva but i'd say that it's somewhere in your add/remove packages section

 

cheers

 

anyweb


Quote:I've been having installing KDE 3.4 in Mandrake 10.2...output follows below, but at the end, the install seems to fail with a compiler error...Forgive me, I'm a total linux noob. Can anybody help?
 

can i ask why install from source for an RPM distribution?

 

[/url][url=ftp://ftp.kde.org/pub/kde/stable/3.4.2/Mandriva/10.2/i586/]ftp://ftp.kde.org/pub/kde/stable/3.4.2/Mandriva/10.2/i586/

 

Those are RPM's for the mdk10.2 ?