[ python-Bugs-1178510 ] configure: refuses setgroups
SourceForge.net
noreply at sourceforge.net
Thu Apr 7 14:53:45 CEST 2005
Bugs item #1178510, was opened at 2005-04-07 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178510&group_id=5470
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: zosh (zosh)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure: refuses setgroups
Initial Comment:
On Irix 6.5 with MIPS cc 7.30 configure refuses to recognize
the existence of "setgroups".
configure:14453: checking for setgroups
configure:14477: cc -c -g conftest.c >&5
cc-1020 cc: ERROR File = conftest.c, Line = 159
The identifier "setgroups" is undefined.
void* p = setgroups
...
1 error detected in the compilation of "conftest.c".
configure:14483: $? = 2
configure: failed program was:
| /* confdefs.h. */
...
| #include <unistd.h>
| #ifdef HAVE_GRP_H
| #include <grp.h>
| #endif
|
| int
| main ()
| {
| void* p = setgroups
| ;
| return 0;
| }
When I compile a short test program that includes only unistd.h
with cc, it reports no errors.
So I had to manipulate pyconfig.h by hand to force the desired
behaviour. Is this a known issue? Please tell me if I have to
perform other test on my box to solve the issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178510&group_id=5470
More information about the Python-bugs-list
mailing list