Help: Building tar from Source with April 17 net release

David Sundstrom sunds@peapod.net
Wed May 17 08:28:00 GMT 2000


I would like to build the tar-src distribution to fix some problems
with gtar giving a "Broken Pipe" error when used with the decompression
option (-z).

I installed the latest cygwin using "setup".  It worked with no
problems.

I then downloaded tar-src.tar.gz, unpacked, and attempted to
run "./configure".

First, it complained that it could not guess the host type.
I ran configure again, this time as "./configure --host=i586-pc-cygwin".

Configure runs through, but at the end the generated configure.status
script fails:
	creating ./config.status
	sed: file conftest.hdr line 1: Unknown option to 's'
	creating Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating doc/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating intl/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating lib/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating po/Makefile.in
	sed: file conftest.s1 line 1: Extra characters after command
	creating scripts/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating src/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating tests/Makefile
	sed: file conftest.s1 line 1: Extra characters after command
	creating tests/preset
	sed: file conftest.s1 line 1: Extra characters after command


As an experiment, I copied the config.status file to my Solaris
system and it ran fine (after stripping off the MS-DOS carriage returns).

Copied the generated Makefile back to my NT machine, and tried to
run "make":

"D:/cygwin/bin/bash.exe"-2.03$ make
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../lib  -g -O2 -c arith.c
In file included from arith.c:21:
common.h:246: parse error before `tape_length_option'
common.h:246: warning: data definition has no type or storage class
make: *** [arith.o] Error 1
"D:/cygwin/bin/bash.exe"-2.03$

Surely I must be headed down the wrong path here.  I would expect the
cygnus sources would build quite readily in the cygnus environment.
However, looking through the recent archives for this list demonstrates
others are having problems as well, with no clear clues as to what the
problem is.

What am I doing wrong?

I will forward the diagnostic output from cygcheck if it will help.

Thanks!
David Sundstrom







--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list