Compiling Python 2-3.4 on Tru64 UNIX V4.0F
"Martin v. Löwis"
martin at v.loewis.de
Thu Sep 9 14:45:05 EDT 2004
Unixtrekkor wrote:
> I downloaded another copy and now when I compile I see the following
> message:
>
> cc: Error: ./Modules/posixmodule.c line 3007: In this
> statement,"getgrp" expects 0 arguments, but 1 are supplied.
> (toomanyargs)
> return PyInt_FromLong((long)getgrp(0));
> ---------^
> cc: Error: ./Modules/posixmodule.c line 3024: In this
> statement,"setgrp" expects 0 arguments, but 2 are supplied.
> (toomanyargs)
> if (setgrp(0, 0) < 0)
> -------------^
> *** Exit 1
> Stop.
>
> I am looking for the format of the getgrp and setgrp commands. Thanks
> for your help.
As a work-around, you could edit pyconfig.h, and remove the
mentioning of HAVE_GETPGRP and HAVE_SETPGRP. Then, these wrappers
won't get compiled.
Regards,
Martin
More information about the Python-list
mailing list