Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SunOS 5.9 (Solaris)
Web server: Apache 2.2.2
Perl version: 5.8.8
Client OS: Windows XP
Web Browser: Internet Explorer
Categories: Installation

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

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2006-07-20 - WesleyCraft
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.