Installing Python 2.5.2: 'make' fails in posixmodule.c

Z

zhouyangpku

Dear friends:

I'm trying to install python on irix 6, the lab server. It fail at '
make ' procedure for Modules/posixmodule.c. I've just configured the
prefix for my own path and no other option changed. make clean didn't
help.

Here it is:
gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -
DPYTHONPATH='":plat-irix6:lib-tk"' \
-DPREFIX='"/user_data2/yzhou/local"' \
-DEXEC_PREFIX='"/user_data2/yzhou/local"' \
-DVERSION='"2.5"' \
-DVPATH='""' \
-o Modules/getpath.o ./Modules/getpath.c
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -c ./Modules/
posixmodule.c -o Modules/posixmodule.o
Modules/posixmodule.c: In function `posix_listdir':
Modules/posixmodule.c:2162: `DIR' undeclared (first use in this
function)
Modules/posixmodule.c:2162: (Each undeclared identifier is reported
only once
Modules/posixmodule.c:2162: for each function it appears in.)
Modules/posixmodule.c:2162: `dirp' undeclared (first use in this
function)
Modules/posixmodule.c:2173: warning: implicit declaration of function
`opendir'
Modules/posixmodule.c:2177: warning: implicit declaration of function
`closedir'
Modules/posixmodule.c:2183: warning: implicit declaration of function
`readdir'
Modules/posixmodule.c:2183: warning: assignment makes pointer from
integer without a cast
Modules/posixmodule.c:2187: dereferencing pointer to incomplete type
Modules/posixmodule.c:2188: dereferencing pointer to incomplete type
Modules/posixmodule.c:2189: dereferencing pointer to incomplete type
Modules/posixmodule.c:2189: dereferencing pointer to incomplete type
Modules/posixmodule.c:2191: dereferencing pointer to incomplete type
Modules/posixmodule.c:2191: dereferencing pointer to incomplete type
In file included from /usr/include/stropts.h:38,
from Modules/posixmodule.c:3497:
/usr/include/sys/stropts.h: At top level:
/usr/include/sys/stropts.h:237: parse error before "t_uscalar_t"
/usr/include/sys/stropts.h:261: parse error before "t_uscalar_t"
/usr/include/sys/stropts.h:267: parse error before '}' token
Modules/posixmodule.c: In function `posix_seteuid':
Modules/posixmodule.c:5362: warning: implicit declaration of function
`seteuid'
Modules/posixmodule.c: In function `posix_setegid':
Modules/posixmodule.c:5382: warning: implicit declaration of function
`setegid'
*** Error code 1 (bu21)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top