[rkward-users] [rkward - Help] RE: Can't build Rkward 050d on OpenSuSE 11.1 KDE4

SourceForge.net noreply at sourceforge.net
Thu May 14 14:51:23 UTC 2009


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7391871
By: joekirchner

Thanks PK,

I tried your suggestions without success and provide some feedback on the
installation instructions and new wiki.

The response to 

find /usr -type f -name 'FindKDE4.cmake'

is

/usr/share/cmake/Modules/FindKDE4.cmake


As you can see, I tried the 'kde4-config --prefix' syntax in the command:

cmake /home/joe/Download/rkward-0.5.0d -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

This was the first command syntax I tried last week.  When that failed, I thought
I was misinterpreting the INSTALL instructions and tried the other syntaxes.
I even opened up /usr/share/cmake/Modules/FindKDE4.cmake to hardwire the variable
which holds the location of KDE4.  One of the locations I tried was "/usr" which
is the response I get when I type "kde4-config --prefix" at the terminal.

I think the problem could be with /usr/share/cmake/Modules/FindKDE4.cmake at
about line 83 because it appears not to determine that it has the location of
KDE4, after I have clearly hardwired the variable.

In any case, I tried two versions of the in-source syntax that you recommend,
without any more luck:

First
========================================================================
/home/joe/Download/rkward-0.5.0d # mkdir build
root:/home/joe/Download/rkward-0.5.0d # cd build
root:/home/joe/Download/rkward-0.5.0d/build # cmake /home/joe/Download/rkward-0.5.0d
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:83 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:10 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
root:/home/joe/Download/rkward-0.5.0d/build #
========================================================================

Second 
rm -rf *
coventure:/home/joe/Download/rkward-0.5.0d/build # cmake  -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
CMake Error: The source directory "/home/joe/Download/rkward-0.5.0d/build" does
not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
root:/home/joe/Download/rkward-0.5.0d/build #
========================================================================


On Another Subject -- Feedback on Instructions and the new wiki

I took a quick look at the new wiki.  I like the screenshots, but I think I
could evaluate the page better once I have Rkward started and try to reaquaint
myself with it.  (It has been about a year since I used it and that was only
light usage.)

One simple comment about the page, from a user perspective is that I would put
a link to installation instructions in the initial contents list.  At the top
of the page, you will see the following text and links.  I have inserted in
ALL CAPS where a link to installation instructions would be nice.
===============================================
  User Documentation

This section contains documentation on RKWard from a user perspective / intended
for end users.

    * Overview
    * Screenshots
    * General FAQ
    * Available downloads
    * INSTALLATION
    * Further documentation 
=================================================

I do have feedback on the confusing installation instructions.  Keep in mind,
my comments are more stylistic and perhaps after we have resolved my installation
problem, I can make some substantive suggestions.

INSTALL document

1) Line 17 recommends the "out-of-source" method, while you recommend the in-source
variation.  Would it be appropriate to explain to the user to try one method
and if that does not work try the other?

2) line 59 says, "You _have to_ install RKWard.  Otherwise RKWard will be missing
important menu-options..."  That is just confusing. I had to reread it several
times and kept thinking, well of course you have to install RKWard, that is
what I am trying to do here.  Here is a suggested wording:  "The last step is
to run the 'make install' command."  I would leave out the "otherwise RKWard
will be missing ..." clause, although I find it interesting that it might work
at all without 'make install'.


General FAQ document on the wiki--installation section
(http://apps.sourceforge.net/mediawiki/rkward/index.php?title=General_FAQ#Compil
ing_and_installing)

1) See my comment above about having an "installation" link on the new wiki.
That link might link to this installation text (or some similar revised text).

2) In the KDE4 (RKWard versions 0.5.0 or higher) section, there is a recommended
approach to run the following commands:

=======================================================================
# mkdir build; cd build
# cmake path_to_rkward_sources [options]  # see below
# make
# sudo make install
=======================================================================

The "see below" comment is confusing because there is no explanations of options
below, except those for KDE3, which are relevant to the ./configuration -->
make --> make install framework, rather than the cmake --> make --> install
framework.

3) As an explanation to the above four commands, I would add an instruction
for the neophyte that the first three lines of code can be run as either root
or normal user.

Well, that is all the comments that I have for now.  Let me know if you have
any more suggestions for resolving the installation problems.

Cheers,  

Joe

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-users mailing list