Gentoo Archives: gentoo-alt

From: Maurice Volaski <mvolaski@××××××××.edu>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: [Q on OpenSolaris] Why does make think the flex makefile has an unexpected end of line?
Date: Mon, 23 Jun 2008 21:43:47
Message-Id: a06240408c485c7ea953a@[]
I fixed it by emerge-ing Gentoo's make. Seems there is a bug in the 
make program in OpenSolaris. I guess I would amend the directions at 
to emerge make before emerging flex. :-)

At 5:36 PM -0400 6/23/08, Maurice Volaski wrote:
>I am now proceeding to oneshot programs on 64-bit x86 Solaris. I am >stuck on flex. It seems that (OpenSolaris?) make is having trouble >reading a line. Could this be a general bug in this particular >version of the flex makefile? > >make: Fatal error in reader: Makefile, line 178: Unexpected end of line seen >Current working directory >/opt/gentoo/var/tmp/portage/sys-devel/flex-2.5.33-r3/work/flex-2.5.33/tests/test-table-opts >*** Error code 1 >The following command caused the error: >set fnord $MAKEFLAGS; amf=$2; \ >dot_seen=no; \ >target=`echo all-recursive | sed s/-recursive//`; \ >list='test-rescan-r test-rescan-nr test-basic-nr test-basic-r >test-bison-yylloc test-bison-yylval test-bison-nr >test-multiple-scanners-nr test-multiple-scanners-r test-header-nr >test-header-r test-reject test-c++-multiple-scanners >test-c++-basic test-posixly-correct test-posix test-mem-r >test-mem-nr test-debug-nr test-debug-r test-lineno-r >test-lineno-nr test-linedir-r test-array-nr test-array-r >test-c-cpp-nr test-c-cpp-r test-include-by-buffer >test-include-by-push test-include-by-reentrant test-prefix-nr >test-prefix-r test-pthread test-string-nr test-string-r >test-yyextra test-noansi-nr test-noansi-r test-top >test-table-opts'; for subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" = "."; then \ > dot_seen=yes; \ > local_target="$target-am"; \ > else \ > local_target="$target"; \ > fi; \ > (cd $subdir && make $local_target) \ > || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ >done; \ >if test "$dot_seen" = "no"; then \ > make "$target-am" || exit 1; \ >fi; test -z "$fail" >
-- Maurice Volaski, mvolaski@××××××××.edu Computing Support, Rose F. Kennedy Center Albert Einstein College of Medicine of Yeshiva University -- gentoo-alt@l.g.o mailing list