[rkward-devel] Windows packaging

Prasenjit Kapat kapatp at gmail.com
Thu Nov 4 15:20:48 UTC 2010


Hi Thomas,

On Thu, Nov 4, 2010 at 2:33 AM, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
> On Thursday 04 November 2010, Prasenjit Kapat wrote:
>> What do I exactly do to re-compile RKWard (w/o deleting the svn dir
>> and re-checkout)?
>
> You mean a full re-compilation from scratch? It's easiest to delete the
> "build" directory inside windows_nsis, then.

Yes, that is what I meant. Ideally, a "make clean" analogue would be
nice... Now, w/ or w/o build directory I get the same error, see
below.

>> I changed ADD_CMAKE_FLAGS (se PS) and deleted
>> windows_nsis\build\CMakeCache.txt... I am getting this error:
>>
>> CMake Error at D:/KDE4/share/apps/cmake/modules/FindKDEWin.cmake:75
>> (message): Could NOT find KDEWin library
>
> Hm. Is this related to the added flags (i.e. does this step work, if you remove
> them, again)?

No, the error is not affected by the added flag.

Now, I should mention that there are two instances of kde on this
machine: (1) D:\KDE4 used for building and (2)
D:\RKWard_packagein\RKWard\KDE used for installing/packaging. The 2nd
instance was installed _after_ the first one, so is it possible that
some environment variables are being messed up? (Are there any KDE
related env vars which are not defined in make_release.bat?) But note
that both of these were installed as "limited user" so I expect the
registry to be unaffected.

The exact sequence of error is:

D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>cmake
D:\RKWard_devel\release_branch_0.5.4\windows_nsis\\.. -G "MinGW
Makefiles" -DCMAKE_INSTALL_PREFIX=D:/KDE4
-DKDE4_DATA_DIR=D:/KDE4/share/apps
-DR_EXECUTABLE=C:/R/R-2.11.1/bin/R.exe
-DR_LIBDIR=C:/R/R-2.11.1/library -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using D:/KDE4/bin/qmake.exe)
-- Found Automoc4: D:/KDE4/bin/automoc4.exe
-- Found Perl: C:/strawberry/perl/bin/perl.exe
-- Phonon Version: 4.4.3
-- Found Phonon: D:/KDE4/lib/libphonon.dll.a
-- Found Phonon Includes: D:/KDE4/include/KDE;D:/KDE4/include
CMake Error at D:/KDE4/share/apps/cmake/modules/FindKDEWin.cmake:75 (message):
  Could NOT find KDEWin library

  Please install it first
Call Stack (most recent call first):
  D:/KDE4/share/apps/cmake/modules/FindKDE4Internal.cmake:646 (find_package)
  D:/KDE4/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:10 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>REM sh.exe
must not be in path during cmake call, but must be in path for R
package install...

What is this "KDEWin library"? (I have kdewin-migw4 (Bin) installed,
everything else is as in the wiki.)

Regards,
-- 
Prasenjit




More information about the Rkward-devel mailing list