help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem with checking in binary files


From: Washum, Ron # PHX
Subject: RE: Problem with checking in binary files
Date: Fri, 21 Jan 2005 13:11:15 -0700

Aaron

I did get make to work as a non-superuser and the new rcs images are in
/usr/local/bin. I tried the co and ci of the binary image that I was having
difficulty with and receive the same error message. See below

You can also reach me by phone at 602-381-9478 or I would be happy to call
you if you prefer.

$ cp drrecyc drrecyc.ron
$ co -l drrecyc
RCS/drrecyc,v  -->  drrecyc
revision 1.1 (locked)
writable drrecyc exists; remove it? [ny](n): y
done
$ cp drrecyc.ron drrecyc
$ ci -u drrecyc
RCS/drrecyc,v  <--  drrecyc
new revision: 1.2; previous revision: 1.1
enter log message, terminated with single '.' or end of file:
>> .
ci: RCS/drrecyc,v: bad diff output line: Binary files - and /tmp/T2tjaGFy
differ
ci aborted
$ which diff
/usr/local/bin/diff
$ ls -al /usr/local/bin | grep rcs
-rwxr-xr-x   1 root     other     523132 Jan 21 13:01 rcs
lrwxrwxrwx   1 root     other         28 May 24  2004 rcs2log ->
../share/cvs/contrib/rcs2log
-rwxr-xr-x   1 root     other     528356 Jan 21 13:01 rcsclean
-rwxr-xr-x   1 root     other     417640 Jan 21 13:01 rcsdiff
-rwxr-xr-x   1 root     other     440428 Jan 21 13:01 rcsmerge
$

-----Original Message-----
From: Aaron S. Hawley [mailto:address@hidden 
Sent: Friday, January 21, 2005 12:21 PM
To: Washum, Ron # PHX
Cc: Weidman, Bob # PHX; address@hidden
Subject: RE: Problem with checking in binary files

It appears your `make' failed because you didn't compile under the
credentials of a non-superuser user.  I suppose you could run someting
like: `su -c make ron'

More information on compiling RCS and problems with conf.h is in the file
INSTALL.RCS which comes with the source distribution.
/a

On Fri, 21 Jan 2005, Washum, Ron # PHX wrote:

> Aaron
>
> Yes we did try 'rcs -kb' on the file but that did not resolve the problem.
>
> Thinking about your suggestion regarding the compile perhaps using the SUN
> version of diff, I have taken the following steps.
>
> 1. In /usr/bin, I have moves diff and diff3 out of the way and replaced
them
> with links to diff and diff3 in /usr/local/bin.
>
> 2. I've downloadad a compilable version of rcs which I am now trying to
> install.
>
> I ran into a problem, however, during the make. Please see below.
>
> address@hidden # echo $LD_LIBRARY_PATH
>
/usr/include/sys:/opt/app/oracle/product/9.2/lib:/opt/app/oracle/product/9.2
>
/lib64:/opt/xml/xml4c-src3_3_0/lib:/opt/SUNWspro/lib:/opt/EMCpower/lib:/opt/
> VRTSvcs/EMC/lib
> address@hidden # make clean
> cd man && make clean
> rm -f core core.* *.core
> cd src && make clean
> rm -f a.* RCS/a.*
> rm -f *.o
> rm -f ci co ident merge  rcs rcsclean rcsdiff rcsmerge rlog
> rm -f conf.err core core.* *.core
> rm -f confdefs* conftest* core core.* *.core
> address@hidden # ./configure
> loading cache ./config.cache
> checking diff basename... (cached) diff
> checking for diff... (cached) /usr/bin/diff
> checking diff success status... (cached) 0
> checking diff failure status... (cached) 1
> checking diff trouble status... (cached) 2
> checking diff options for RCS... (cached) -n
> checking diff -L... (cached) no
> checking diff3 -m... (cached) no
> checking diff3 library program... (cached) /usr/lib/diff3prog
> checking for ed... (cached) /usr/bin/ed
> checking for sendmail... (cached) /usr/lib/sendmail
> checking for pic... no
> checking for gpic... no
> checking for pic... no
> checking for pic... no
> checking for gcc... (cached) gcc
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for a BSD compatible install... (cached) ./install-sh -c
> checking whether make sets ${MAKE}... (cached) yes
> creating ./config.status
> creating Makefile
> creating man/Makefile
> creating src/Makefile
> address@hidden # make
> cd man && make all
> cd src && make all
> rm -f a.*
> ALL_CFLAGS=' -Dhas_conf_h  -I. -I. -g -O' \
> CC='gcc' \
> COMPAT2='0' \
> DIFF3='/usr/lib/diff3prog' DIFF3_BIN='0' \
> DIFF='/usr/bin/diff' DIFFFLAGS='-n' DIFF_L='0' \
> DIFF_SUCCESS='0' \
> DIFF_FAILURE='1' \
> DIFF_TROUBLE='2' \
> ED='/usr/bin/ed' \
> LDFLAGS='' LIBS='' \
> RCSPREFIX='/usr/local/bin/' \
> SENDMAIL='"/usr/lib/sendmail"' \
> /bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err
> ./conf.sh: testing permissions ...
> ./conf.sh: This command should not be run with superuser permissions.
> *** Error code 1
> make: Fatal error: Command failed for target `conf.h'
> Current working directory /tmp/rcs-5.7/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
This E-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information.  Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply E-mail, and destroy all copies
of the original message.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]