build failure for SunOS 5.5

Guido van Rossum guido at cnri.reston.va.us
Tue Nov 9 20:36:50 CET 1999


Matija Exel <Matija.Exel at lag.ensieg.inpg.fr> writes:

> > Those sound like pretty severe messages in the configure.log.  Did
> > ./configure run to completion without error?
> 
> yes, no errror on ./configure
> 
> > Can you tell which
> > portion of the configure script generates the error messages?
> configure:1388: cc -c -g  conftest.c 1>&5
> "configure", line 1381: invalid source character: '#'
> "configure", line 1381: warning: improper pointer/integer combination: op
> "="
> "configure", line 1381: non-constant initializer: op "NAME"
> "configure", line 1381: invalid source character: '#'
> "configure", line 1381: warning: improper pointer/integer combination: op
> "="
> "configure", line 1381: non-constant initializer: op "NAME"
> "configure", line 1381: syntax error before or at: "() -- "
> "configure", line 1381: warning: syntax error:  empty declaration
> configure: failed program was:
> #line 1377 "configure"
> #include "confdefs.h"
> 
> #define spam(name, doc) {#name, &name, #name "() -- " doc}
> int foo;
> struct {char *name; int *addr; char *doc;} desc = spam(foo, "something");
> 
> int main() {
> ;
> ; return 0; }

Looks like you have a "cc" installed that's not worth the name.
Go find a real C compiler -- you can use GCC (free) or if you insist
on paying, you can buy a real C compiler from Sun...

--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-list mailing list