[Digikam-users] How to build Digikam?
Andi Clemens
andi.clemens at gmx.net
Tue Jul 8 22:58:08 BST 2008
this is really your complete output?
ok two issues here:
1) don't compile as root, the env vars for KDE will not be set correctly,
especially if you don't log into the kde session as root user.
2) don't compile as root (:-)), you never want to do this... it might break a
lot of stuff on badly written Makefiles (sure not in digiKam, but there is a
lot of crappy software out there :-))
Only install as root, for example
su -c "make install".... but don't build...
So make sure you are compiling as the user starting the KDE session and post
env again...
But right now I'm tired, so if nobody else will answer you'll have to wait
till tomorrow.
Andi
On Tuesday 08 July 2008 23:45:16 Dotan Cohen wrote:
> 2008/7/9 Andi Clemens <andi.clemens at gmx.net>:
> > There weill be no makefile as long as cmake is not running through
> > without errors.
> > I guess your environment settings are wrong and not poiunting to KDE4.
> > Try pasting all related KDE vars here...
> >
> > use
> >
> > env | grep -i kde
> >
> > maybe this will show some problems already.
> >
> > I use those settings for my user, try to change them to your system
> > accordingly:
> >
> > export YACC='byacc -d'
> > export QTDIR=/usr/lib/qt
> > export KDEDIR=/opt/kdemod
> > export KDEDIRS=$KDEDIR:/opt/kde
> > export DBUSDIR=/usr
> > export PKG_CONFIG_PATH=$DBSDIR/lib/pkgconfig:$KDEDIR/lib/pkgconfig:
> > $PKG_CONFIG_PATH
> > export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH:/opt/kde/bin
> > export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
> > eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax`
> >
> > Andi
>
> Thanks, Andi, this is my environment:
>
> root at hardy-laptop:~/graphics/build# env | grep -i kde
> root at hardy-laptop:~/graphics/build# env
> SHELL=/bin/bash
> TERM=xterm
> USER=root
> LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33
>;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=
>01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;
>31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=
>01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31
>:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jp
>g=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=0
>1;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;3
>5:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*
>.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vo
>b=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;
>35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.x
>wd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=
>00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36
>: MAIL=/var/mail/root
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> PWD=/root/graphics/build
> LANG=en_US.UTF-8
> SHLVL=1
> HOME=/root
> LOGNAME=root
> LESSOPEN=| /usr/bin/lesspipe %s
> LESSCLOSE=/usr/bin/lesspipe %s %s
> _=/usr/bin/env
> OLDPWD=/root/graphics
> root at hardy-laptop:~/graphics/build#
>
>
>
> I've googled some of the output but I don't see anything specific to
> Digikam. Are there any shining errors there that I am missing?
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
More information about the Digikam-users
mailing list