Re: [rkward-devel] Windows packaging

2010-11-03 Thread Thomas Friedrichsmeier
Hi,

On Wednesday 03 November 2010, Prasenjit Kapat wrote:
 libstdc++ is NOT included in either of the two KDE installations on my
 machine!

sorry, I meant that libstc++ is *inside* of the Qt .dlls (although, I'm not 
too sure any longer that it is), not as a separate file.

 On my system libstdc++ is only present in C:\MinGW\bin. Where is it on
 your system?

Same, here.

  Which version of GCC is this? I used 4.4.0.
  
  Mine's 4.5.0 (as seen from g++.exe --version). Should a different
  version matter? After all the compilation was done with this MinGW as
  well. Note: C:\MinGW\bin is not in my %PATH%, I only add it in the
  make_release.bat file.
  
  I would be surprised, if it matters, but I'm trying to spot differences.
  So here's one that we could revisit, later.
 
 Yes, something that I'll have to comeback to and try.

Ok, so I've tried with MinGW 4.5.0, and now I see the same issue. So one 
solution would be to use MinGW 4.4.0. But that is not easy to install. I 
certainly don't recall the steps I took, back then. I guess, I could zip up my 
installation, and put it somewhere for you to download. However, adding
   -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -static-libgcc
to the ADD_CMAKE_FLAGS on line 15 of make_release.bat appears to work with 
MinGW 4.5.0, too. I did not do much testing, though.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-11-02 Thread Prasenjit Kapat
Hi,

Sorry for the delay, I am not getting much time these days...

On Tue, Oct 26, 2010 at 2:48 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 yes and no. libstdc++ is certainly needed (by all KDE apps), but it should
 already be included in the Qt / and or KDE libraries. Either this is not the
 case on your system,

libstdc++ is NOT included in either of the two KDE installations on my
machine! Yet, kwrite.exe / konqueror.exe starts up fine (dolphin.exe
does start but gives some error of not being able to launch
klauncher).

On my system libstdc++ is only present in C:\MinGW\bin. Where is it on
your system?

(For compiling, my kde is in D:\KDE4 and for RKWard packaging, kde is
in D:\RKWard_packaging\RKWard\KDE .)

 or MinGW somehow thought it was a good idea to link
 against libstdc++ dynamically, in addition to that.

I guess this is the case.

 Which version of GCC is this? I used 4.4.0.
 Mine's 4.5.0 (as seen from g++.exe --version). Should a different
 version matter? After all the compilation was done with this MinGW as
 well. Note: C:\MinGW\bin is not in my %PATH%, I only add it in the
 make_release.bat file.

 I would be surprised, if it matters, but I'm trying to spot differences. So
 here's one that we could revisit, later.

Yes, something that I'll have to comeback to and try.

 Not having C:\MinGW\bin in the %PATH% should not be the problem, or at least,
 if it was, the installer as compiled on my computer would not work on yours,
 either.

If I add the following to rkward.bat

SET OLD_PATH=%PATH%
SET PATH=C:\MinGW\bin;%PATH%

[.. actual part of rkward.bat ..]

SET PATH=%OLD_PATH%

Then, rkward does start.

 The directory is fine as well - rkward.bin.exe is in
 D:\RKWard_package\RKWard\KDE\bin which is where all the libkde* exist.

 Just for testing: Does it work, if you install to the KDE-installation you
 used for building, instead? If it does, then we'll know we should look out for
 problems with the KDE installation rather than the build.

No, the error is same, it is still looking for libstdc++

 Here, I've a question. For packaging, I installed the end user (not
 the package manager) version of KDE (mingw flavor). I only checked
 kdebase-apps (Bin) and let it install the dependencies. Is that OK?

 Yes, that should do the trick. To make sure you really got the correct flavor,
 take a look at the manifest-directory in there. This should contain kdelibs-
 mingw4-4.4.x-bin.mft, among many others. Looking in mine, I see that I have
 kdewin-mingw4-4.3.2-bin.mft, however that got there. I guess you will have
 kdewin-mingw4-0.5.2-bin.mft, instead? Might be something to look at, too, but
 I don't think it's the cause of the problem.

Yes, I do have, kdewin-mingw4-0.5.2-bin.mft

-- 
Prasenjit

--
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-26 Thread Thomas Friedrichsmeier
 Mine's 4.5.0 (as seen from g++.exe --version). Should a different
 version matter? After all the compilation was done with this MinGW as
 well. Note: C:\MinGW\bin is not in my %PATH%, I only add it in the
 make_release.bat file.

I would be surprised, if it matters, but I'm trying to spot differences. So 
here's one that we could revisit, later.

Not having C:\MinGW\bin in the %PATH% should not be the problem, or at least, 
if it was, the installer as compiled on my computer would not work on yours, 
either.

 The directory is fine as well - rkward.bin.exe is in
 D:\RKWard_package\RKWard\KDE\bin which is where all the libkde* exist.

Just for testing: Does it work, if you install to the KDE-installation you 
used for building, instead? If it does, then we'll know we should look out for 
problems with the KDE installation rather than the build.

 Here, I've a question. For packaging, I installed the end user (not
 the package manager) version of KDE (mingw flavor). I only checked
 kdebase-apps (Bin) and let it install the dependencies. Is that OK?

Yes, that should do the trick. To make sure you really got the correct flavor, 
take a look at the manifest-directory in there. This should contain kdelibs-
mingw4-4.4.x-bin.mft, among many others. Looking in mine, I see that I have 
kdewin-mingw4-4.3.2-bin.mft, however that got there. I guess you will have 
kdewin-mingw4-0.5.2-bin.mft, instead? Might be something to look at, too, but 
I don't think it's the cause of the problem.

  building? Here's mine:
 And here's mine (looks similar to yours):

Yes, no problems to be seen, here.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-25 Thread Prasenjit Kapat
Hi,

So, I have tried doing this from scratch and things (seem to) have
gone well. After installing RKWard, when attempting to start it using
rkward.bat I get the following error:

The application has failed to start because libstdc++-6.dll was not
found. Re-installing the application may fix this problem.

Now, libstdc++-6.dll is located at C:\MinGW\bin but should it be
needed at runtime for RKWard?

-- 
Prasenjit

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-25 Thread Thomas Friedrichsmeier
Hi,

On Monday 25 October 2010, Prasenjit Kapat wrote:
 The application has failed to start because libstdc++-6.dll was not
 found. Re-installing the application may fix this problem.
 
 Now, libstdc++-6.dll is located at C:\MinGW\bin but should it be
 needed at runtime for RKWard?

yes and no. libstdc++ is certainly needed (by all KDE apps), but it should 
already be included in the Qt / and or KDE libraries. Either this is not the 
case on your system, or MinGW somehow thought it was a good idea to link 
against libstdc++ dynamically, in addition to that. Which version of GCC is 
this? I used 4.4.0.

Could you double check that rkward.bat points to the correct location of 
rkward.bin.exe, that rkward.bin.exe is in the same directory as libkdeui.dll 
and friends, and that other KDE appications in that directory can be run?

What is the content of 
[...]\windows_nsis\build\rkward\CMakeFiles\rkward.bin.dir\link.txt after 
building? Here's mine:

c:\mingw\bin\g++.exe-D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -
D_WIN32_IE=0x0501 -DUNICODE -Woverloaded-virtual -fno-threadsafe-statics -O2 -
DNDEBUG -DQT_NO_DEBUG  -mwindows 
CMakeFiles\rkward.bin.dir\rkward.bin_automoc.obj 
CMakeFiles\rkward.bin.dir\rkward.obj CMakeFiles\rkward.bin.dir\main.obj 
CMakeFiles\rkward.bin.dir\rkglobals.obj 
CMakeFiles\rkward.bin.dir\robjectviewer.obj 
CMakeFiles\rkward.bin.dir\rkconsole.obj 
CMakeFiles\rkward.bin.dir\rkwardapplication.obj  -o rkward.bin.exe -Wl,--out-
implib,librkward.bin.dll.a -Wl,--major-image-version,0,--minor-image-version,0  
-LC:\KDE\lib -LF:\KDE\lib\R\bin -LC:
\KDE\src\rkward\release_branch_0.5.4\windows_nsis\build\bin C:
\KDE\lib\libqtmain.a C:\KDE\lib\libkdecore.dll.a ..\bin\libwindows.a ..
\bin\libqwinhost.a ..\bin\libagents.a ..\bin\libdialogs.a ..\bin\libplugin.a 
..\bin\libsettings.a ..\bin\libdataeditor.a ..\bin\libcore.a ..
\bin\libscriptbackends.a ..\bin\librbackend.a ..\bin\libmisc.a -lktexteditor 
C:\KDE\lib\libkhtml.dll.a C:\KDE\lib\libkfile.dll.a C:\KDE\lib\libkdeui.dll.a 
C:\KDE\lib\libkrosscore.dll.a C:\KDE\lib\libQtScript4.a -lR -lRlapack -lRblas 
C:\KDE\lib\libkparts.dll.a C:\KDE\lib\libkjs.dll.a C:\KDE\lib\libkio.dll.a C:
\KDE\lib\libQtNetwork4.a C:\KDE\lib\libkdeui.dll.a C:\KDE\lib\libkdecore.dll.a 
C:\KDE\lib\libQtDBus4.a C:\KDE\lib\libQtCore4.a C:\KDE\lib\libkdewin.dll.a -
luser32 -lshell32 -lws2_32 -lnetapi32 -luserenv C:\KDE\lib\libQtGui4.a C:
\KDE\lib\libQtSvg4.a C:\KDE\lib\libQtXml4.a

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-25 Thread Prasenjit Kapat
On Mon, Oct 25, 2010 at 7:09 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 Hi,

 On Monday 25 October 2010, Prasenjit Kapat wrote:
 The application has failed to start because libstdc++-6.dll was not
 found. Re-installing the application may fix this problem.

 Now, libstdc++-6.dll is located at C:\MinGW\bin but should it be
 needed at runtime for RKWard?

 yes and no. libstdc++ is certainly needed (by all KDE apps), but it should
 already be included in the Qt / and or KDE libraries. Either this is not the
 case on your system, or MinGW somehow thought it was a good idea to link
 against libstdc++ dynamically, in addition to that. Which version of GCC is
 this? I used 4.4.0.

Mine's 4.5.0 (as seen from g++.exe --version). Should a different
version matter? After all the compilation was done with this MinGW as
well. Note: C:\MinGW\bin is not in my %PATH%, I only add it in the
make_release.bat file.

 Could you double check that rkward.bat points to the correct location of
 rkward.bin.exe, that rkward.bin.exe is in the same directory as libkdeui.dll

Yes the path is fine - I turned on ECHO and verified (using the actual
rkward.bat file, not its shortcut).

The directory is fine as well - rkward.bin.exe is in
D:\RKWard_package\RKWard\KDE\bin which is where all the libkde* exist.

Here, I've a question. For packaging, I installed the end user (not
the package manager) version of KDE (mingw flavor). I only checked
kdebase-apps (Bin) and let it install the dependencies. Is that OK?

 and friends, and that other KDE appications in that directory can be run?

Yes, kwrite.exe, konqueror.exe, and dolphin.exe, from that directory
(not the KDE used for compiling RKWard), run fine.

 What is the content of
 [...]\windows_nsis\build\rkward\CMakeFiles\rkward.bin.dir\link.txt after
 building? Here's mine:

And here's mine (looks similar to yours):

C:\MinGW\bin\g++.exe-D_WIN32_WINNT=0x0501 -DWINVER=0x0501
-D_WIN32_IE=0x0501 -DUNICODE -Woverloaded-virtual
-fno-threadsafe-statics -O2 -DNDEBUG -DQT_NO_DEBUG  -mwindows
CMakeFiles\rkward.bin.dir\rkward.bin_automoc.obj
CMakeFiles\rkward.bin.dir\rkward.obj
CMakeFiles\rkward.bin.dir\main.obj
CMakeFiles\rkward.bin.dir\rkglobals.obj
CMakeFiles\rkward.bin.dir\robjectviewer.obj
CMakeFiles\rkward.bin.dir\rkconsole.obj
CMakeFiles\rkward.bin.dir\rkwardapplication.obj  -o rkward.bin.exe
-Wl,--out-implib,librkward.bin.dll.a
-Wl,--major-image-version,0,--minor-image-version,0  -LD:\KDE4\lib
-LC:\R\R-2.11.1\bin
-LD:\RKWard_devel\release_branch_0.5.4\windows_nsis\build\bin
D:\KDE4\lib\libqtmain.a D:\KDE4\lib\libkdecore.dll.a
..\bin\libwindows.a ..\bin\libqwinhost.a ..\bin\libagents.a
..\bin\libdialogs.a ..\bin\libplugin.a ..\bin\libsettings.a
..\bin\libdataeditor.a ..\bin\libcore.a ..\bin\libscriptbackends.a
..\bin\librbackend.a ..\bin\libmisc.a -lktexteditor
D:\KDE4\lib\libkhtml.dll.a D:\KDE4\lib\libkfile.dll.a
D:\KDE4\lib\libkdeui.dll.a D:\KDE4\lib\libkrosscore.dll.a
D:\KDE4\lib\libQtScript4.a -lR -lRlapack -lRblas
D:\KDE4\lib\libkparts.dll.a D:\KDE4\lib\libkjs.dll.a
D:\KDE4\lib\libkio.dll.a D:\KDE4\lib\libQtNetwork4.a
D:\KDE4\lib\libkdeui.dll.a D:\KDE4\lib\libkdecore.dll.a
D:\KDE4\lib\libQtDBus4.a D:\KDE4\lib\libQtCore4.a
D:\KDE4\lib\libkdewin.dll.a -luser32 -lshell32 -lws2_32 -lnetapi32
-luserenv D:\KDE4\lib\libQtGui4.a D:\KDE4\lib\libQtSvg4.a
D:\KDE4\lib\libQtXml4.a


-- 
Prasenjit

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-17 Thread Thomas Friedrichsmeier
Hi,

On Sunday 17 October 2010, Prasenjit Kapat wrote:
 So, this is only in
 KDEDIR\share\apps\cmake\modules\KDELibs4LibraryTargets-release.cmake
 (~lines 20 and 36), right?

quite possible. Since I've already done the replacement in my copy, I can't 
check.
 
 And it suffices to replace U: by ${_IMPORT_PREFIX}, right?

Well, if it works, you've done it right.

 I see that the directory created is actually this:
 D:\RKWard_devel\release_branch_0.5.4\windows_nsis\install\ProgramFiles\R\R-
 2.11.1
 
 Note: ProgramFiles instead of Program Files in the path. So does
 this mean I need to install R to a path w/o spaces? Not a problem,
 I'll just start over.

Hm, I wonder where that comes from. But yes, I guess that means it just won't 
work with R in a path with spaces.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-16 Thread Prasenjit Kapat
On Thu, Oct 14, 2010 at 3:05 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 On Thursday 14 October 2010, Prasenjit Kapat wrote:
 mingw32-make[2]: *** No rule to make target `U:/lib/libkdewin.dll.a',
 needed by `rkward/rkward.bin.exe'.  Stop.
 mingw32-make[1]: *** [rkward/CMakeFiles/rkward.bin.dir/all] Error 2
 mingw32-make: *** [all] Error 2

 Is U:/lib/... hard coded somewhere?

 Yes, it's a known (and long standing bug). See this mail:
 http://mail.kde.org/pipermail/kde-windows/2009-April/003655.html . You need to
 fix all occurrences (two or three, IIRC), manually, in
 KDEDIR\share\apps\cmake\modules .

So, this is only in
KDEDIR\share\apps\cmake\modules\KDELibs4LibraryTargets-release.cmake
(~lines 20 and 36), right?

And it suffices to replace U: by ${_IMPORT_PREFIX}, right?

The compilation seems to proceed w/o errors now. The move statement
spits out this error:

D:\RKWard_devel\release_branch_0.5.4\windows_nsis\buildmove
D:\RKWard_devel\release_branch_0.5.4\windows_nsis\/install/Program
Files/R/R-2.11.1
D:\RKWard_devel\release_branch_0.5.4\windows_nsis\/install/_RHOME_
The system cannot find the path specified.

I see that the directory created is actually this:
D:\RKWard_devel\release_branch_0.5.4\windows_nsis\install\ProgramFiles\R\R-2.11.1

Note: ProgramFiles instead of Program Files in the path. So does
this mean I need to install R to a path w/o spaces? Not a problem,
I'll just start over.

-- 
Prasenjit

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Windows packaging

2010-10-14 Thread Thomas Friedrichsmeier
On Thursday 14 October 2010, Prasenjit Kapat wrote:
 mingw32-make[2]: *** No rule to make target `U:/lib/libkdewin.dll.a',
 needed by `rkward/rkward.bin.exe'.  Stop.
 mingw32-make[1]: *** [rkward/CMakeFiles/rkward.bin.dir/all] Error 2
 mingw32-make: *** [all] Error 2
 
 Is U:/lib/... hard coded somewhere?

Yes, it's a known (and long standing bug). See this mail: 
http://mail.kde.org/pipermail/kde-windows/2009-April/003655.html . You need to 
fix all occurrences (two or three, IIRC), manually, in 
KDEDIR\share\apps\cmake\modules .

(That's the one issue I remembered to document at 
http://sourceforge.net/apps/mediawiki/rkward/index.php?title=RKWard_on_Windows#Compiling_RKWard_from_source_on_Windows
 
. Perhaps it makes sense to move this whole section into the Packaging sub-
page.)

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-13 Thread Thomas Friedrichsmeier
Hi,

On Wednesday 13 October 2010, Prasenjit Kapat wrote:
 So this needs perl as well?

yes, apparently. I find I have perl installed and in my path. Sorry about all 
this mess. I should have documented this while actively fumbling my way 
through all of this, instead of over a year later...

 CMake Error at
 D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:485 (include):
   include could not find load file:
 
 D:/RKWard_devel/KDE4/cmake/modules/KDELibsDependencies.cmake
[...]

Strange. I have FindKDE4Internal.cmake at [KDE]/share/apps/cmake/modules. This 
is also where those failed includes are on my system.

Could you try adding
  -DKDE4_DATA_DIR=D:/RKWard_devel/KDE4/share/apps
to the cmake options? (And move the contents of [KDE]/cmake/modules into 
[KDE]/share/apps/cmake/modules.)

 -- Phonon includes NOT found!
 CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindPhonon.cmake:63
 (message): Phonon library or includes NOT found!

I guess that means you'll have to add phonon (devel), too.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-13 Thread Thomas Friedrichsmeier
On Wednesday 13 October 2010, Thomas Friedrichsmeier wrote:
 Could you try adding
   -DKDE4_DATA_DIR=D:/RKWard_devel/KDE4/share/apps
 to the cmake options? (And move the contents of [KDE]/cmake/modules into
 [KDE]/share/apps/cmake/modules.)

... and, for good measure, remove windows_nsis\build\CMakeCache.txt .

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-13 Thread Prasenjit Kapat
On Wed, Oct 13, 2010 at 4:01 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 Hi,

 On Wednesday 13 October 2010, Prasenjit Kapat wrote:
 So this needs perl as well?

 yes, apparently. I find I have perl installed and in my path. Sorry about all
 this mess. I should have documented this while actively fumbling my way
 through all of this, instead of over a year later...

no problem.. i haven't played around with KDE on Windows, so I do not
have much idea on requirements and dependencies.. i'll try to document
stuff on the wiki as i progress...

 CMake Error at
 D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:485 (include):
   include could not find load file:

     D:/RKWard_devel/KDE4/cmake/modules/KDELibsDependencies.cmake
 [...]

 Strange. I have FindKDE4Internal.cmake at [KDE]/share/apps/cmake/modules. This
 is also where those failed includes are on my system.

 Could you try adding
  -DKDE4_DATA_DIR=D:/RKWard_devel/KDE4/share/apps
 to the cmake options?

will do.

 (And move the contents of [KDE]/cmake/modules into
 [KDE]/share/apps/cmake/modules.)

will try that.. but that should, ideally, not be done, right?

 -- Phonon includes NOT found!
 CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindPhonon.cmake:63
 (message): Phonon library or includes NOT found!

 I guess that means you'll have to add phonon (devel), too.

will try this as well.

-- 
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


Re: [rkward-devel] Windows packaging

2010-10-13 Thread Prasenjit Kapat
On Wed, Oct 13, 2010 at 4:01 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 Hi,

 On Wednesday 13 October 2010, Prasenjit Kapat wrote:

 CMake Error at
 D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:485 (include):
   include could not find load file:

     D:/RKWard_devel/KDE4/cmake/modules/KDELibsDependencies.cmake
 [...]

 Strange. I have FindKDE4Internal.cmake at [KDE]/share/apps/cmake/modules. This
 is also where those failed includes are on my system.

 Could you try adding
  -DKDE4_DATA_DIR=D:/RKWard_devel/KDE4/share/apps
 to the cmake options?

Adding DKDE4_DATA_DIR solved the cmake errors, didn't have to do the
following hack:

 (And move the contents of [KDE]/cmake/modules into
 [KDE]/share/apps/cmake/modules.)

The cmake process went fine, almost. Here is the last error:

[ 99%] Building CXX object rkward/CMakeFiles/rkward.bin.dir/rkconsole.obj
In file included from D:\RKWard_devel\KDE4\include/kio/jobclasses.h:30:0,
 from D:\RKWard_devel\KDE4\include/kurlcompletion.h:27,
 from D:\RKWard_devel\KDE4\include/kshellcompletion.h:26,
 from
D:\RKWard_devel\release_branch_0.5.4\rkward\rkconsole.cpp:38:
D:\RKWard_devel\KDE4\include/kio/global.h:39:27: warning: type
attributes ignored after type is already defined
[ 99%] Building CXX object
rkward/CMakeFiles/rkward.bin.dir/rkwardapplication.obj
D:\RKWard_devel\release_branch_0.5.4\rkward\rkwardapplication.cpp:42:2:
warning: #warning TODO: We could really use the
detection logic from windows for x11, too. It seems much easier.
mingw32-make[2]: *** No rule to make target `U:/lib/libkdewin.dll.a',
needed by `rkward/rkward.bin.exe'.  Stop.
mingw32-make[1]: *** [rkward/CMakeFiles/rkward.bin.dir/all] Error 2
mingw32-make: *** [all] Error 2

Is U:/lib/... hard coded somewhere?

-- 
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


Re: [rkward-devel] Windows packaging

2010-10-12 Thread Thomas Friedrichsmeier
On Monday 11 October 2010, Prasenjit Kapat wrote:
 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):

[...]

 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=3t=3360
 
 Does that look reasonable? I don't want to compile against a random
 binary off the net!

I don't recall downloading individual files from the net. I do seem to recall 
there may have been problems with some dependencies not being installed 
automatically. Check for the following packages (make sure, you are using 
Package Manager mode):

- automoc
- kdelibs (check the devel box)
- qt (check the devel box)
- kdewin (check the devel box)

Hope that covers it.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-12 Thread Prasenjit Kapat
On Tue, Oct 12, 2010 at 4:12 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 On Monday 11 October 2010, Prasenjit Kapat wrote:
 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):

 [...]

 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=3t=3360

 Does that look reasonable? I don't want to compile against a random
 binary off the net!

 I don't recall downloading individual files from the net. I do seem to recall
 there may have been problems with some dependencies not being installed
 automatically. Check for the following packages (make sure, you are using
 Package Manager mode):

 - automoc

The problem is that there is no automoc available through the installer!

 - kdelibs (check the devel box)
 - qt (check the devel box)
 - kdewin (check the devel box)

yes to all the three.

 Hope that covers it.

Unfortunately it does not. I'll try to grab automoc4 from one of the
official kde mirrors and see.

-- 
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


Re: [rkward-devel] Windows packaging

2010-10-12 Thread Prasenjit Kapat
On Tue, Oct 12, 2010 at 12:34 PM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 On Tuesday 12 October 2010, Prasenjit Kapat wrote:

 I seem to have version 4.3.2 installed, so this one should work for you, too:
 http://www.winkde.org/pub/kde/ports/win32/repository-4.3/kde/automoc-
 mingw4-4.3.2-bin.tar.bz2 . You can simply unpack that in the KDE installation
 root.

So this needs perl as well? (version mismatch, too?)

D:\RKWard_devel\release_branch_0.5.4\windows_nsis\buildcmake
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)
-- Found Automoc4: D:/RKWard_devel/KDE4/bin/automoc4.exe
-- Could NOT find Perl  (missing:  PERL_EXECUTABLE)
-- Perl not found
CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:485
(include):
  include could not find load file:

D:/RKWard_devel/KDE4/cmake/modules/KDELibsDependencies.cmake
Call Stack (most recent call first):
  D:/RKWard_devel/KDE4/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:10 (FIND_PACKAGE)


CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:499
(macro_ensure_version):
  MACRO_ENSURE_VERSION Macro invoked with incorrect arguments for macro
  named: MACRO_ENSURE_VERSION
Call Stack (most recent call first):
  D:/RKWard_devel/KDE4/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:10 (FIND_PACKAGE)


CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:513
(include):
  include could not find load file:

D:/RKWard_devel/KDE4/cmake/modules/KDELibs4ToolsTargets.cmake
Call Stack (most recent call first):
  D:/RKWard_devel/KDE4/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:10 (FIND_PACKAGE)


-- Adding d:/rkward_devel/kde4/share/apps/cmake/modules to CMAKE_MODULE_PATH
CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:557
(include):
  include could not find load file:

D:/RKWard_devel/KDE4/cmake/modules/KDELibs4LibraryTargets.cmake
Call Stack (most recent call first):
  D:/RKWard_devel/KDE4/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:10 (FIND_PACKAGE)


-- Phonon includes NOT found!
CMake Error at D:/RKWard_devel/KDE4/cmake/modules/FindPhonon.cmake:63 (message):
  Phonon library or includes NOT found!
Call Stack (most recent call first):
  D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:613 (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!

-- 
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


Re: [rkward-devel] Windows packaging

2010-10-10 Thread Prasenjit Kapat
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\buildcmake
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\buildREM 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\buildSET
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\buildmingw32-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=3t=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


Re: [rkward-devel] Windows packaging

2010-10-08 Thread Thomas Friedrichsmeier
Hi,

On Friday 08 October 2010, Prasenjit Kapat wrote:
 Can you explain the variables in make_release.bat? I've edited the
 wiki, check and if needed fix them there.

looks correct.

 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%.

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.

 -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
etc. Not sure whether it works, though. R itself cautions (or used to caution) 
about installing to a path with spaces in it, so if nothing else helps, move / 
copy your R installation to another place.

 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, 
these days. An alternative approach is to get it using emerge: 
http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge .

Oh, and for the next problem that might be ahead, see this:
http://sourceforge.net/apps/mediawiki/rkward/index.php?title=RKWard_on_Windows#Troubleshooting

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-07 Thread Thomas Friedrichsmeier
Hi,

On Thursday 07 October 2010, Prasenjit Kapat wrote:
 What version of KDE do you use? I was trying with 4.4.4 (only other
 option is 4.2.2) - it does not install subverson, although it is
 listed, packages for konsole, dolphin, kwrite (kate is there though)
 are missing.

I used 4.4.4 for compiling (upgraded form some earlier version, though). 
Regarding subversion, I don't remember any details, but I do recall I once 
searched for a windows svn client, manually, so it's quite possible that the 
one from the KDE installer did not work for me, either.

kwrite should be in kdebase-apps. konsole does not work on windows, as far as 
I know (I use this to lessen the pain: 
http://sourceforge.net/projects/console/ ; it's still a windows command-line, 
though). I'm not sure about dolphin, but probably in kdebase-apps, too.

 I'll try some other native subversion client. Any suggestions?

Again, I don't recall, which one I downloaded. But this looks about right to 
me: http://www.sliksvn.com/en/download . Alternatively, TortoiseSVN seems to 
be a very popular graphical client.

 Would
 the regular rkward-xxx.tar.gz source work (ie not needing to pull from
 svn)?

It doesn't have the windows_nsis-subdirectory needed to create a package 
(and no make_release.bat-script, either).

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-07 Thread Prasenjit Kapat
Hi,

On Thu, Oct 7, 2010 at 3:05 PM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 Hi,

 On Thursday 07 October 2010, Prasenjit Kapat wrote:
 What version of KDE do you use? I was trying with 4.4.4 (only other
 option is 4.2.2) - it does not install subverson, although it is
 listed, packages for konsole, dolphin, kwrite (kate is there though)
 are missing.

 I used 4.4.4 for compiling (upgraded form some earlier version, though).
 Regarding subversion, I don't remember any details, but I do recall I once
 searched for a windows svn client, manually, so it's quite possible that the
 one from the KDE installer did not work for me, either.

 kwrite should be in kdebase-apps. konsole does not work on windows, as far as
 I know (I use this to lessen the pain:
 http://sourceforge.net/projects/console/ ; it's still a windows command-line,
 though). I'm not sure about dolphin, but probably in kdebase-apps, too.

I see. I was trying as minimal a selection as possible. I'll include
apps next time.

 I'll try some other native subversion client. Any suggestions?

 Again, I don't recall, which one I downloaded. But this looks about right to
 me: http://www.sliksvn.com/en/download . Alternatively, TortoiseSVN seems to
 be a very popular graphical client.

I'll give these a try and see.

 Would
 the regular rkward-xxx.tar.gz source work (ie not needing to pull from
 svn)?

 It doesn't have the windows_nsis-subdirectory needed to create a package
 (and no make_release.bat-script, either).

I though so as well.


BTW, reading the wiki, I assume I need to install the KDE packages
twice - once for actually compiling RKWard, which installed system
wide, and later while packaging up as 7zip file, which is installed
inside the RKWard directory. Is this right?

-- 
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


Re: [rkward-devel] Windows packaging

2010-10-07 Thread Thomas Friedrichsmeier
On Thursday 07 October 2010, Prasenjit Kapat wrote:
 BTW, reading the wiki, I assume I need to install the KDE packages
 twice - once for actually compiling RKWard, which installed system
 wide, and later while packaging up as 7zip file, which is installed
 inside the RKWard directory. Is this right?

Yes, that's right.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
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


Re: [rkward-devel] Windows packaging

2010-10-07 Thread Prasenjit Kapat
Hi,

On Sun, Oct 3, 2010 at 1:51 PM, Thomas Friedrichsmeier
thomas.friedrichsme...@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\buildd:\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\buildREM 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\buildSET
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\buildmingw32-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

--
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