Compiling digiKam

Peter Shute pshute at nuw.org.au
Wed Jan 20 21:09:54 CET 2010


Thanks, I just tried that.  I verified that mic.exe and uic.exe exist in C:\kderoot\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\bin\ and have a recent date and time, then opened the second window and ran the command.  It immediately crashed:

C:\kderoot\emerge>set path=
C:\kderoot\emerge>kdeenv
kdesettings.bat executed
KDEROOT     : c:\kderoot
KDECOMPILER : mingw4
KDESVNDIR   : c:\kderoot\svn
PYTHONPATH  : C:\Program Files\python26
DOWNLOADDIR : c:\kderoot\download
C:\kderoot>cd C:\kderoot\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\tools\designer\src\components\lib\
C:\kderoot\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\tools\designer\src\components\lib>mingw32-make -f Makefile
C:/kderoot/build/libs/qt-4.6.0.20100109/work/mingw4-RelWithDebInfo-4.6/bin/qmake C:/kderoot/download/svn-src/qt/tools/designer/src/component
pro  -o Makefile -spec win32-g++
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        c:/kderoot/build/libs/qt-4.6.0.20100109/image-mingw4-RelWithDebInfo-4.6\mkspecs
Error processing project file: C:/kderoot/download/svn-src/qt/tools/designer/src/components/lib/lib.pro
mingw32-make: *** [all] Error 3
C:\kderoot\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\tools\designer\src\components\lib>mingw32-make -f Makefile
C:/kderoot/build/libs/qt-4.6.0.20100109/work/mingw4-RelWithDebInfo-4.6/bin/qmake C:/kderoot/download/svn-src/qt/tools/designer/src/component
pro  -o Makefile -spec win32-g++
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        c:/kderoot/build/libs/qt-4.6.0.20100109/image-mingw4-RelWithDebInfo-4.6\mkspecs
Error processing project file: C:/kderoot/download/svn-src/qt/tools/designer/src/components/lib/lib.pro
mingw32-make: *** [all] Error 3
C:\kderoot\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\tools\designer\src\components\lib>

________________________________________
From: Andrew Goodbody [ajg02 at elfringham.co.uk]
Sent: Thursday, 21 January 2010 6:41 AM
To: KDE on Windows
Subject: Re: Compiling digiKam

Peter Shute wrote:
> I then tried using emerge, as described at:
> http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge and
> had more luck but ran into a problem.  After 5 or so hours of
> downloading and compiling, it crashed with the same error described
> here: http://bugreports.qt.nokia.com/browse/QTBUG-6017
>
> I don't understand the workaround described there.  Can anyone
> explain it to me?  Or tell me another way to get this job done?

Hi Peter,

1) restart the build of qt using 'emerge --noclean qt'
2) after 5 or ten minutes (you need to let it build moc.exe, uic.exe and
then recreate all the Makefiles) open a new Command Prompt window, empty
the path, run kdeenv.bat so that it is all ready to run emerge.
3) Change to the directory of the failed compile
        cd
%kderoot%\build\libs\qt-4.6.0.20100109\work\mingw4-RelWithDebInfo-4.6\tools\designer\src\components\lib
4) now run this:-
        mingw32-make -f Makefile
5) let the build of qt complete (several hours)
6) restart the build of digikam with
        emerge digikam

Andrew
_______________________________________________
Kde-windows mailing list
Kde-windows at kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


More information about the Kde-windows mailing list