This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RCS 5.7 Patches


Well that worked as far as the patching goes but I still cannot get it to
make.  Just as a side note no matter what args I pass to configure it always
reports no to whether or not GNU GCC is installed.

lbohm@yoda:/mnt% make
cd man && make all
make[1]: Entering directory `/mnt/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/man'
cd src && make all
make[1]: Entering directory `/mnt/src'
rm -f a.*
ALL_CFLAGS=' -Dhas_conf_h  -I. -I. -g' \
CC='gcc' \
COMPAT2='0' \
DIFF3='/usr/local/bin/diff3' DIFF3_BIN='1' \
DIFF='/usr/local/bin/diff' DIFFFLAGS='-an' DIFF_L='1' \
DIFF_SUCCESS='0' \
DIFF_FAILURE='1' \
DIFF_TROUBLE='2' \
ED='ed' \
LDFLAGS='' LIBS='' \
RCSPREFIX='/usr/local/bin/' \
SENDMAIL='' \
/bin/sh -x ./conf.sh 3>&1 >a.h 2>conf.err
./conf.sh: testing permissions ... OK
./conf.sh: testing compiler for plausibility ...
./conf.sh: The command 'gcc  -Dhas_conf_h  -I. -I. -g  -o a.out a.c ' failed
on a trivial program.
make[1]: *** [conf.h] Error 1
make[1]: Leaving directory `/mnt/src'
make: *** [all] Error 2

Here is the conf.err:

+ Id=$Id: conf.sh,v 5.25 1995/06/16 06:19:24 eggert Exp $
+ : /usr/local/bin/
+ : -Dhas_conf_h -I. -I. -g
+ : gcc
+ : 0
+ : /usr/bin/diff
+ : /usr/bin/diff3
+ : 1
+ : -an
+ : 1
+ : 0 1 2
+ : ed
+ :
+ C=gcc  -Dhas_conf_h  -I. -I. -g
+ CL=gcc  -Dhas_conf_h  -I. -I. -g  -o a.out
+ L=
+ cat
+ n=

++ echo -n
+ ech=echo -n
+ dots=...
+ echo -n './conf.sh: testing permissions ... '
+ rm -f a.d
+ date
+ chmod 0 a.d
+ test -w a.d
+ cp /dev/null a.d
+ echo OK
+ rm -f a.d
+ echo -n './conf.sh: testing compiler for plausibility ... '
+ echo 'main() { return 0; }'
+ rm -f a.exe a.out
+ gcc -Dhas_conf_h -I. -I. -g -o a.out a.c
+ echo '
./conf.sh: The command '\''gcc  -Dhas_conf_h  -I. -I. -g  -o a.out a.c '\''
fail
ed on a trivial program.'
+ exit 1



Jason Tishler wrote:

> Louis,
>
> On Mon, Apr 16, 2001 at 11:15:43AM -0400, Louis Bohm wrote:
> > I really do not get what I am doing wrong... I made sure that there are
> > no CR's in the patch
> > foo.patch: ASCII English text
> > And when I do a od -c I see the \n's but not the \r's.
> >
> > And Bellow is the result of the patch:
> >
> > lbohm@yoda:/mnt% patch -p 1 -i foo.patch
>
> I finally figured out was is causing your problem -- white space
> differences between the patch and source.
>
> Try the following:
>
>     $ patch -l -p1 --dry-run <~/foo.patch
>
> The -l (as in the letter L, not the number 1) option should solve your
> problem.
>
> Jason
>
> --
> Jason Tishler
> Director, Software Engineering       Phone: +1 (732) 264-8770 x235
> Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
> 82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
> Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Systems  Manager and Tivoli Support Geek
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:lbohm@lightbridge.com
¤°`°http://www.lightbridge.com
¤°`°Free Tivoli scripts at: http://www.microgeek.com
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]