Compiling Python 2-3.4 on Tru64 UNIX V4.0F
Unixtrekkor
hbostic at santeecooper.com
Fri Sep 17 10:48:35 EDT 2004
I made it past the compilation errors by editing pyconfig.h.in. The
setgrp and getgrp module settings were set to undef. Now I see the
following errors:
rm -r /lgyr/library/lib
ar cr /lgyr/library/lib Modules/getbuildinfo.o
ar: Error: /lgyr/library/lib not in archive format
*** Exit 1
Stop
Does anyone know what library should be used? Thanks.
Heuguette
"Martin v. Löwis" <martin at v.loewis.de> wrote in message news:<4140A4B1.4000204 at v.loewis.de>...
> 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