LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Errors compiling KDE 3.2.1 usign konstruct (https://www.linuxquestions.org/questions/slackware-14/errors-compiling-kde-3-2-1-usign-konstruct-160414/)

kAmnesiac 03-20-2004 10:42 PM

Errors compiling KDE 3.2.1 usign konstruct
 
i'm having trouble compiling KDE 3.2 using construct, when doing cd meta/everything ; make install, it breaks down like this :

Code:

make[4]: Entering directory `/konstruct/libs/glib'
[===== NOW BUILDING:    glib-2.2.3    =====]
        [fetch] complete for glib.
        [checksum] complete for glib.
        [extract] complete for glib.
        [patch] complete for glib.
 ==> Building misc/pkgconfig as a dependency
        [configure] complete for glib.
 ==> Running make in work/glib-2.2.3
make[5]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3'
make  all-recursive
make[6]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3'
Making all in .
make[7]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3'
Making all in m4macros
make[7]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3/m4macros'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3/m4macros'
Making all in glib
make[7]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3/glib'
Making all in libcharset
make[8]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3/glib/libcharset'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3/glib/libcharset'
make[8]: Entering directory `/konstruct/libs/glib/work/glib-2.2.3/glib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION  -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -pthread  -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -Wall -c gconvert.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -I/root/kde3.2.1/include -I/usr/X11R6/include -pthread -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.2.1/include -I/usr/X11R6/include -L/root/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -Wall -c gconvert.c  -fPIC -DPIC -o .libs/gconvert.o
gconvert.c:46:2: #error GNU libiconv not in use but included iconv.h is from libiconv
make[8]: *** [gconvert.lo] Error 1
make[8]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3/glib'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3/glib'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3'
make[5]: *** [all-recursive-am] Error 2
make[5]: Leaving directory `/konstruct/libs/glib/work/glib-2.2.3'
make[4]: *** [build-work/glib-2.2.3/Makefile] Error 2
make[4]: Leaving directory `/konstruct/libs/glib'
make[3]: *** [dep-../../libs/glib] Error 2
make[3]: Leaving directory `/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

i'm using slackware 9.1, I don't really have a clue what all that means, i'm guessing there is some unsatisfied dependency, but which one??, and how do I install what is missing?

ringwraith 03-25-2004 02:58 PM

Don't want to disrourage you in compiling but thought I would point out that the official Slackware mirrors now have KDE 3.2.1 in the current distro.

ppfundst 04-20-2004 03:58 AM

use --with-libiconv
 
Hi!

I found out that you need to use --with-libiconv in the makefile to be able to compile glib2.4 with konstruct.

So to summarize:
to build kde3.2.1 with konstruct:
<where you have downloaded konstruct>/konstruct/libs/glib
modify the makefile: the line add the --with-libiconv to the line CONFIGURE_ARGS, like that:
CONFIGURE_ARGS = $(DIRPATHS) --with-libiconv

and that works.

if that does not work, just go to the work/glib directory and make a ./configure --with-libiconv

Hope this helps.

Pat

woleda 02-22-2008 10:53 AM

minor correction...
 
don't forget to add --prefix=KDEPREFIX
i.e. ./configure --with-libiconv --prefix=$KDEPREFIX
where KDEPREFIX could be ~/kde3.5.7 (or whatever version )
to the above comment

Tanks!


Leif Adelow


All times are GMT -5. The time now is 04:29 AM.