On Fri, Oct 8, 2010 at 5:42 AM, Thomas Friedrichsmeier <thomas.friedrichsme...@ruhr-uni-bochum.de> wrote: > > On Friday 08 October 2010, Prasenjit Kapat wrote: > > Ok, probably it's best to add > PATH=%KDEPREFIXDRIVE%/%KDEPREFIX%/bin;%PATH% > to make_release.bat, then, to make sure the KDE directory is in the path > during compilation.
Yes, I added C:\MinGW\bin to PATH as well. >> -DR_LIBDIR=C:/Program Files/R/R-2.11.1/library > [...] >>"D:/RKWard_devel/release_branch_0.5.4/windows_nsis/build/Files/R/R-2.11.1/l >> ibrary" does not exist. > > Looks like a problem with the space in the "C:\Program Files". You could try > putting quotes around the define in the cmake command line, i.e. > -DR_LIBDIR="%RHOMEDRIVE%/%RHOME%/library" Yes, adding the quotes work, at least for now. >> The second one is mingw32-make - which (KDE) package has this? It is >> not in mingw-utils! I presume I'll need the mingw compiler as well >> from sourceforge? > > Oh well, all those steps I just forgot, blissfully. Yes, I had to download > MinGW manually from mingw.sf.net. Not sure, whether their installer works, At least mingw32-make is found, now. > these days. An alternative approach is to get it using emerge: > http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge . This is the new error: 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:/RKWard_devel\KDE4 -DR_EXECUTABLE="C:/Program Files/R/R-2.11.1/bin/R.exe" -DR_LIBDIR="C:/Program Files/R/R-2.11.1/library" -DCMAKE_BUILD_TYPE=Release -- Found Qt-Version 4.6.2 (using D:/RKWard_devel/KDE4/bin/qmake.exe) CMake Error at D:/RKWard_devel/KDE4/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE): Did not find automoc4 (part of kdesupport). Searched for Automoc4Config.cmake in using suffixes automoc4 lib/automoc4 lib64/automoc4. (missing: AUTOMOC4_EXECUTABLE) Call Stack (most recent call first): D:/RKWard_devel/KDE4/cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args) D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:350 (find_package) D:/RKWard_devel/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... D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>SET PATH=d:\RKWard_devel\KDE4\bin;C:\MinGW\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Microsoft DirectX SDK (April 2007)\Utilities\Bin\x86;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Universal Extractor;C:\Program Files\Universal Extractor\bin;C:\Program Files\TortoiseSVN\bin;D:\texlive\2009\bin\win32;C:\Program Files\R\Rtools\bin D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>mingw32-make install DESTDIR=D:\RKWard_devel\release_branch_0.5.4\windows_nsis\/install mingw32-make: *** No rule to make target `install'. Stop. Now, automoc4 was supposed to be part of "KDESupport" Where did you get it from? I found this thread: http://kmess.org/board/viewtopic.php?f=3&t=3360 Does that look reasonable? I don't want to compile against a random binary off the net! -- Prasenjit ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel