On Wed, 28 Nov 2012 15:57:03 +0800 Clark WANG wrote:
> --14dae93406819acac304cf898529
> Content-Type: text/plain; charset=UTF-8

> On Wed, Nov 28, 2012 at 3:51 PM, Glenn Fowler <[email protected]> wrote:

> >
> > On Wed, 28 Nov 2012 14:57:01 +0800 Clark WANG wrote:
> > > I also tried on solaris 11 update 1 (sparc) and solaris 12 build 9 (x86).
> > > Both have the same problem. All I did is download the INIT and ast-ksh
> > tgzs
> > > and run `./bin/package make' from the top dir.
> >
> > its probably not anything you did
> > it may be a problem with how spawnvex.c iffe's on sol11/sol12
> >
> > can you send arch/*/src/lib/libast/FEATURE/spawn
> >

> $ cat arch/sol11.sun4/src/lib/libast/FEATURE/spawn
> /* : : generated from
> /root/tmp/ksh.2012-11-21/src/lib/libast/features/spawn by iffe version
> 2012-08-24 : : */
> #ifndef _def_spawn_ast
> #define _def_spawn_ast  1
> #define _sys_types      1       /* #include <sys/types.h> ok */
> #define _hdr_spawn      1       /* #include <spawn.h> ok */
> #define _hdr_unistd     1       /* #include <unistd.h> ok */
> #define _hdr_stdlib     1       /* #include <stdlib.h> ok */
> #define _lib_posix_spawn        2       /* posix_spawn exists and it works
> and its worth using */
> #endif
> $

try this
edit src/lib/libast/misc/spawnvex.c and change
        #if _lib_posix_spawn < 2
to
        #if _lib_posix_spawn < 99
if this works then src/lib/libast/features/spawn is inadequate

_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to