[ZOO-Discuss] [ZOO Project Trac] #13: problem compiling zoo on Ubuntu 10.04

ZOO Project Trac zoo-dev at cartography.st
Fri Nov 26 03:58:55 PST 2010


#13: problem compiling zoo on Ubuntu 10.04
--------------------------+-------------------------------------------------
Reporter:  nielshoffmann  |       Owner:              
    Type:  defect         |      Status:  new         
Priority:  major          |   Component:  zoo-kernel  
 Version:  1.0            |    Keywords:  build ubuntu
--------------------------+-------------------------------------------------
 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

-- 
Ticket URL: <http://svn.zoo-project.org/trac/ticket/13>
ZOO Project Trac <http://svn.zoo-project.org/>
Open WPS Platform


More information about the Zoo-discuss mailing list