﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13	problem compiling zoo on Ubuntu 10.04	nielshoffmann		"I'm having a problem getting rev 43 compiled on Ubuntu 10.04 (64-bit)
I'm using the standard g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3 that comes with the distro.

I try to compile with python support like this: ./configure --with-python --without-java
and ./configure completes successfully. 
make zoo_loader.cgi fails with make: *** [service_internal_python.o] Error 1

I'm getting a bunch of warnings, of which this one seems important:
cc1plus: warning: command line option ""-Wstrict-prototypes"" is valid for Ada/C/ObjC but not for C++

And I'm getting one error:
service_internal_python.c:204: error: ‘size’ was not declared in this scope

I'm not a C programmer, but it does look like something is missing there:
PyDictObject* PyDict_FromMap(map* t){
  PyObject* res=PyDict_New( );
  map* tmp=t;
  while(tmp!=NULL){
    if(strcasecmp(tmp->name,""value"")==0){
      map* ttmp=getMap(t,size);
      if(ttmp!=NULL)
...

Not sure if that's the reason I can't build zoo-kernel?

cheers, Niels
"	defect	closed	major		zoo-kernel	1.0	fixed	build ubuntu	
