Glenn, I tried the work around on Suse 12.2, and it failed with this error:

+ mv 1.22479.x 
/home/test001/work/ast_ksh_20121004/build_gsffix/arch/linux.i386-64/include/ast/sum.h
+ mamake -C lib/libcmd -k install
mamake [lib/libcmd]:
/home/test001/work/ast_ksh_20121004/build_gsffix/src/lib/libcmd/Mamfile:
10: cc^M: command not found
mamake: *** exit code 1 making lib/libcmd
+ mamake -C cmd/ksh93 -k install

It looks, that the Mamfile file has extra ^M characters inside, which
confuse the ksh used.

Olga

On Mon, Oct 8, 2012 at 11:33 PM, Glenn Fowler <g...@research.att.com> wrote:
> On Mon, 8 Oct 2012 21:18:36 +0200 Cedric Blancher wrote:
>> On 6 October 2012 09:31, Glenn Fowler <g...@research.att.com> wrote:
>> >
>> > ast ksh 2012-10-04 alpha source packages have been posted to
>> >         www.research.att.com/sw/download/alpha/
>> >
>> > this alpha includes { grep xargs iconv } as ksh static builtins
>> > any b_*() function added to src/lib/libcmd will automatically be added as 
>> > a ksh static builtin
>
>> I managed to build this but ./arch/linux.i386-64/bin/ksh -c 'builtin |
>> grep -F /' doesn't report anything - no grep, no cmp, no od, no tail
>> or head.
>> I checked and cmdlist.h contains garbage:
>
> I don't know how it ended up with garbage
> but I did find a problem with the Makefile (and thus the generated Mamfile 
> used to bootstrap build)
>
> until the next alpha try this
>
> rm arch/linux.i386-64/src/lib/libcmd/cmdext.h
> rm arch/linux.i386-64/src/lib/libcmd/cmdlist.h
>
> copy the attached Mamfile to
>         src/lib/libcmd/Mamfile
>
> and then run
>         bin/package make
>
>
> _______________________________________________
> ast-developers mailing list
> ast-developers@research.att.com
> https://mailman.research.att.com/mailman/listinfo/ast-developers
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanov...@gmail.com   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to