Ticket #13 (closed defect: fixed)
problem compiling zoo on Ubuntu 10.04
Reported by: | nielshoffmann | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | zoo-kernel | Version: | 1.0 |
Keywords: | build ubuntu | Cc: |
Description
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