By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,222 Members | 1,119 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,222 IT Pros & Developers. It's quick & easy.

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

P: n/a
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)
Sep 1 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.