[rkward-devel] Windows packaging
Prasenjit Kapat
kapatp at gmail.com
Fri Oct 8 05:08:39 UTC 2010
Hi,
On Sun, Oct 3, 2010 at 1:51 PM, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
>
> Quite likely something is missing here or there, so let me know what goes
> wrong.
Can you explain the variables in make_release.bat? I've edited the
wiki, check and if needed fix them there.
Now, I had to provide the full path to cmake:
%KDEPREFIXDRIVE%\%KDEPREFIX%\bin\cmake (instead of just cmake)
in make_release.bat file; because, the KDE4\bin dir is not in the %PATH%.
Now, from the windows_nsis dir when I run "make_release.bat", after
all the SET statements, this what I get:
(Note: "D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>" is
just the prompt)
D:\RKWard_devel\release_branch_0.5.4\windows_nsis\build>d:\RKWard_devel\KDE4\bin\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
CMake Error: The source directory
"D:/RKWard_devel/release_branch_0.5.4/windows_nsis/build/Files/R/R-2.11.1/library"
does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
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=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' is not recognized as an internal or external command,
operable program or batch file.
The execution proceeds, with errors, but let us ignore those for now.
The first error is a cmake error - why is it looking for the R library
inside the build dir?
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?
--
Prasenjit
More information about the Rkward-devel
mailing list