Problem installing Python 1.5.2 on Solaris

Jorrit Tyberghein Jorrit.Tyberghein at uz.kuleuven.ac.be
Wed Nov 24 10:57:08 CET 1999


Hi,

I'm trying to compile Python 1.5.2 on Solaris.
uname -a gives the following info:
    SunOS poirot 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-2

I do a configure which seems to work ok and then I type 'make'. This works
for a while but then I get the following errors:

gmake[1]: Entering directory `/users/poirot/c3t2d0s0/jorrit/varia/engine/Python-1.5.2/Modules'
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./regexmodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./regexpr.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./pcremodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./pypcre.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c
In file included from ./posixmodule.c:3031:
/usr/include/sys/statvfs.h:38: parse error before `fsblkcnt_t'
/usr/include/sys/statvfs.h:38: warning: no semicolon at end of struct or union
/usr/include/sys/statvfs.h:39: warning: data definition has no type or storage class
/usr/include/sys/statvfs.h:40: parse error before `f_bavail'
/usr/include/sys/statvfs.h:40: warning: data definition has no type or storage class
/usr/include/sys/statvfs.h:41: parse error before `f_files'
/usr/include/sys/statvfs.h:41: warning: data definition has no type or storage class
/usr/include/sys/statvfs.h:42: parse error before `f_ffree'
/usr/include/sys/statvfs.h:42: warning: data definition has no type or storage class
/usr/include/sys/statvfs.h:43: parse error before `f_favail'
/usr/include/sys/statvfs.h:43: warning: data definition has no type or storage class
/usr/include/sys/statvfs.h:51: parse error before `}'
/usr/include/sys/statvfs.h:51: warning: data definition has no type or storage class
./posixmodule.c: In function `posix_fstatvfs':
./posixmodule.c:3044: storage size of `st' isn't known
./posixmodule.c: In function `posix_statvfs':
./posixmodule.c:3096: storage size of `st' isn't known
gmake[1]: *** [posixmodule.o] Error 1

Hope you can help me.

Greetings,


--
---------------------------------------------------------------------------
Jorrit Tyberghein (Jorrit.Tyberghein at uz.kuleuven.ac.be)
Project Manager of Crystal Space, a free and portable 3D 6DOF portal engine.
More info at: http://crystal.linuxgames.com
---------------------------------------------------------------------------







More information about the Python-list mailing list