[Konstruct] Error when building KDE 3.5 beta 2 :problemwith kerberos

Nicolas.Castagne at imag.fr Nicolas.Castagne at imag.fr
Fri Oct 21 11:04:03 BST 2005


Hi all, thx for your help.

>From Philip Rodriguez :
> submit a patch to the konstruct maintainer.
How may I get in touch with konstruct maintainer ?
I did not find an appropriate mail list or newsgroup. Only the mail
binner_at_kde.org - but posting a personal email is probably not a good
solution, is it ?


I post the following in order to archive the partial **solution** i have
found...
I succeded in compiling most of the kde version 3.5 beta2 with Konstruct
on my red-hat enterprise config by doing the following :

******
1/ comment the QTDIR/KDEDIR variables in the .bash_profile file (or
.cshrc, etc.), so that Konstruct does not find the latest install and will
compile really all sources in the new kde distribution.
> ###.bash_profile :
>
> #export QTDIR=~/kde3.3.2
> #export KDEDIR=~/kde3.3.2
> #export KDEDIRS=~/kde3.3.2
> unset QTDIR
> unset  KDEDIR
> unset   KDEDIRS

Of course, source the .bash_profile file before runing make install in
Konstruct.

To be honest, I don't really know if this manipulation does have an effect
on Konstruct. But I did it ;)

Anyway, don't forget to define again these variable after compiling (with
the path to either the old or new kde version) in the .bash_profile,
unless you would not be able to start a new KDE version.

******
2/ In order to let Konstruck find the kerberos stuff, add the folowing
lines in the  gar.conf.mk file in the konstruct root directory :
> ###  gar.conf.mk :
>
> # ajout des liens vers kerberos
> CPPFLAGS := -I/usr/kerberos/include/ $(CPPFLAGS)
> CFLAGS := -I/usr/kerberos/include/  $(CFLAGS)
> LDFLAGS := -L/usr/kerberos/lib/ $(LDFLAGS)

These lines should be added before CXXFLAGS is define, and after the
building of the CFLAGS options - that is, after the line "# This is for
foo-config chaos".

******
3/ run make install in meta/everithing, as usual.



With these manipulations, I was able to build almost all KDE (kdebase,
many application including kdevelop).

However, I still have errors while building scribus .

Here is the error report :

Entre dans le répertoire
`/home/castagne/Konstruct_KDE_35_Beta2_nvlessai/apps/office/scribus/work/scribus-1.2.3/scribus/plugins/scriptplugin'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/freetype2
-I/home/castagne/kde3.5-beta2/include -I/usr/X11R6/include
-I../../../scribus -I/usr/include/python2.2
-DDOCDIR=\"/home/castagne/kde3.5-beta2/share/scribus/doc/\"
-DICONDIR=\"/home/castagne/kde3.5-beta2/share/scribus/icons/\"
-DSAMPLESDIR=\"/home/castagne/kde3.5-beta2/share/scribus/samples/\"
-DSCRIPTSDIR=\"/home/castagne/kde3.5-beta2/share/scribus/scripts/\"
-DTEMPLATEDIR=\"/home/castagne/kde3.5-beta2/share/scribus/templates/\"
-DLIBDIR=\"/home/castagne/kde3.5-beta2/lib/scribus/\"
-DPLUGINDIR=\"/home/castagne/kde3.5-beta2/lib/scribus/plugins/\"
-DQT_THREAD_SUPPORT -I/usr/kerberos/include/ -I/usr/kerberos/include/
-I/home/castagne/kde3.5-beta2/include -I/usr/X11R6/include
-I/home/castagne/kde3.5-beta2/include -I/usr/X11R6/include -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -I/usr/kerberos/include/
-I/usr/kerberos/include/ -I/home/castagne/kde3.5-beta2/include
-I/usr/X11R6/include -L/home/castagne/kde3.5-beta2/lib -L/usr/X11R6/lib
-O2 -pipe -I/home/castagne/kde3.5-beta2/include -I/usr/X11R6/include
-L/home/castagne/kde3.5-beta2/lib -L/usr/X11R6/lib -O2 -pipe
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common  -MT cmddialog.lo -MD -MP -MF
".deps/cmddialog.Tpo" -c -o cmddialog.lo cmddialog.cpp; \
then mv -f ".deps/cmddialog.Tpo" ".deps/cmddialog.Plo"; else rm -f
".deps/cmddialog.Tpo"; exit 1; fi
In file included from ../../../scribus/scribusdoc.h:41,
                 from ../../../scribus/scribusview.h:34,
                 from ../../../scribus/scribus.h:51,
                 from cmdvar.h:17,
                 from cmddialog.h:13,
                 from cmddialog.cpp:9:
/home/castagne/kde3.5-beta2/include/lcms.h:77:5: warning: "__MWERKS__" is
not defined
/home/castagne/kde3.5-beta2/include/lcms.h:115:5: warning:
"TARGET_CPU_PPC" is not defined
In file included from cmddialog.cpp:9:
cmddialog.h:18: `scribus_newdocdia__doc__' was not declared in this scope
cmddialog.h:19: ISO C++ forbids declaration of `PyDoc_STRVAR' with no type

(etc.)

Would be nice if one had a hack for this error, so that I could really
complete the installation !

All the best,
Nicolas

> Nicolas.Castagne at imag.fr wrote:
>
>> Thx much Philip.
>>
>> Indeed, I am looking for the right way to add the kderberos directories
>> in
>> the konstruct process ;)
>>
>> Adding -I/usr/kerberos/include" to the CXXFLAGS and
>> "-L/usr/kerberos/lib"
>> to LDFLAGS in the gar.conf.mk has no effect.
>
> Look in konstruct/kde/kdeaddons/Makefile. Add
> "--with-extra-includes=/usr/kerberos/include" to the CONFIGURE_ARGS line
> (look in konstruct/kde/kdebase/Makefile to see how it's done). If that
> works, submit a patch to the konstruct maintainer.
>
> Regards,
> Philip
> --
> KDE Documentation Team: http://i18n.kde.org/doc
> KDE Documentation Online: http://docs.kde.org
>
> ___________________________________________________
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list