trouble compiling Python 1.5.2 with gcc

From: Irvine Short <irvine_at_sanbi.ac.za>
Date: Fri, 25 Aug 2000 14:17:15 +0200

I tried both of the following configure statements but both gave the
same error.

BTW, we don't have a Developer License.

It seems odd to me that we can use cc and not cxx, or should I just be
glad that I've got cc at all?

Anyway, like I said elsewhere gcc works well enough to compile Apache
1.3.9 OK


# ./configure --with-gcc --with-dec-threads

# ./configure --with-gcc --with-threads
In file included from
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.2/include/stdarg.h:36,
                 from ../Include/modsupport.h:42,
                 from ../Include/Python.h:101,
                 from pcre.h:11,
                 from pcre-int.h:55,
                 from ./pypcre.c:48:
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.2/include/va-alpha.h:36:
warning: redefinition of `va_list'
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.2/include/va_list.h:7:
warning: `va_list' previously declared here
gcc -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c
In file included from ./posixmodule.c:140:
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.2/include/unistd.h:273:
warning: `_POSIX_THREADS' redefined
../config.h:128: warning: this is the location of the previous
definition
./posixmodule.c:156: macro `lstat' used without args
*** Exit 1
Stop.
*** Exit 1
Stop.

-- 
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za 
tel: +27-21-959 3645
fax: +27-21-959 2512
cel: +27-82-494 3828
Received on Fri Aug 25 2000 - 12:18:58 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT