Question
Version history and compare of two version does not show any changes - only empty boxes for the different versions.
RCS-Wrap is configured and GNU
RCS 5.7 is used. There are no warnings shown by the configure script. Only
RCS-Lite works. How can I find out the reason for the problem?
Environment
--
ThomasKurz - 31 May 2006
Answer
You are on Solaris. Make sure that you have the GNU rcs and GNU diff (rcs compiled to use GNU diff.)
--
PeterThoeny - 31 May 2006
The OS is SunOS 5.9 (Solaris) but all necessary tools (GNU
RCS 5.7 incl. rcsdiff, GNU Grep, ...) are installed in the path /home/twiki/elrond/soft/bin.
Output of the configure script:
RcsWrap differences between two revisions. (/home/twiki/elrond/soft/bin/rcsdiff is version 5.7)
The configuration is:
/home/twiki/elrond/soft/bin/rcsdiff -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%
Wich components and CPAN modules might be relevant for rdiff wich I could check again?
--
ThomasKurz - 01 Jun 2006
I believe, rcsdiff depends on the GNU diff. In configure, try to set the
{SafeEnvPath} with the GNU tools first (diff, egrep, etc.)
--
PeterThoeny - 02 Jun 2006
The SafeEnvPath was already set accordingly in TWiki.cfg:
$cfg{SafeEnvPath} = '/home/twiki/elrond/soft/bin:/home/twiki/elrond/perl-5.8.8/bin';
--
ThomasKurz - 02 Jun 2006
Hmm, strange. That looks right. rcs does not have any CPAN dependencies. To test, try to use ci, co, rcsdiff from the commandline. Make sure that rcs is built referring to the right GNU diff.
Other than that, sorry, I am running out of ideas.
--
PeterThoeny - 02 Jun 2006
I'm having the same problem. Running Drakar on
FreeBSD 4.7-RELEASE-p28, i386 platform, GNU diff 2.7 and GNU rcs 5.7.
--
WesleyCraft - 20 Jul 2006
Just figured out my problem. On my platform, we are in a Virtual Server (not Apache vhost) environment, so the root directory from the point of view of the Apache user is different than the shell user.
Our actual home dir on the server is
/usr/home/me/ and
rcsdiff is located at
/usr/home/me/usr/local/bin/rcsdiff. Compiled into
rcsdiff is the location of
co which is
/usr/home/me/usr/local/bin/co.
In the TWiki conf, I point to the rcsdiff program from the root that Apache knows of which is
/usr/local/bin/rcsdiff.
rcsdiff then looks at it's internal location for
co and dies. It can't find
co at
/usr/home/me... so the solution is to create a symbolic link inside of
/usr/home/me/usr/home named
me that points to
../../. The effect of this is when the TWiki
rcsdiff call execs
co it can find the file. Hope this makes sense.
modified to correct typo
--
WesleyCraft - 20 Jul 2006