Question
I am getting following error when trying to check in pages:
/opt/cvs/bin/ci -q -l -m'none' -t-none -w'PatrickVanderVeken' /opt/apache/default/port8401/htdocs/twiki/data/TWiki/TWikiPreferences.txt 2>&1
/opt/cvs/lbin/diff: invalid option --
/opt/cvs/lbin/diff: Try `/opt/cvs/lbin/diff --help' for more information.
ci: /opt/apache/default/port8401/htdocs/twiki/data/TWiki/TWikiPreferences.txt,v: diff failed
ci aborted
Both
RCS and Diff are the correct versions (
RCS 5.7 and GNU Diff 2.8.1) (confirmed by testenv) so what parameter/option is missing here?
- TWiki version: 01/02/03
- Perl version: 5.005
- Web server & version: Apache 1.3.27
- Server OS: HP-UX 11i
- Web browser & version: IE 5.5
- Client OS: W2K
--
PatrickVanDerVeken - 25 Jul 2003
Answer
Are you sure you are calling
RCS? The path suggests CVS which is currently not supported.
--
PeterThoeny - 26 Jul 2003
Thanks for the testenv output - you are using GNU diff, so I'm not sure why there's an invalid option message there. I am suspicious of the fact that you are using CVS' copy of
RCS - this may be doing something odd that then causes the diff problem. Try installing a fresh copy of
RCS and a new copy of GNU diff. This is somewhat reminiscent of discussion on
TWikiOnSolaris - please summarise on
TWikiOnHPUX if you find a good resolution of this (that page also recommends a fresh
RCS and diff).
--
RichardDonkin - 26 Jul 2003
Peter, Richard, thanks for the feedback. The CVS in the path name is not relevant as we use the same
RCS/Diff for our CVS repository.
However, I did install a fresh copy of
RCS and GNU Diff at another location and that seems to have fixed the problem. I really don't understand why as the compiled binaries are identical.
--
PatrickVanDerVeken - 27 Jul 2003