- Timestamp:
- Aug 1, 2011, 7:08:27 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/cgic206/Makefile
r78 r284 1 1 OS:=$(shell uname -s) 2 2 ifeq ($(OS),Darwin) 3 MACOS_CFLAGS=-arch i386 -arch ppc -arch x86_643 MACOS_CFLAGS=-arch $(shell uname -m) 4 4 LIBS= -L./ -lcgic /usr/lib/libfcgi.dylib 5 5 else -
trunk/zoo-kernel/Makefile.in
r114 r284 2 2 ifeq ($(OS),Darwin) 3 3 MACOS_LD_FLAGS=-lintl -framework SystemConfiguration -framework CoreFoundation 4 MACOS_CFLAGS=-arch i386 -arch ppc -arch x86_644 MACOS_CFLAGS=-arch $(shell uname -m) 5 5 endif 6 6 -
trunk/zoo-kernel/configure.ac
r276 r284 122 122 [PYTHON_PATH="$withval"; PYTHON_ENABLED="-DUSE_PYTHON"], [PYTHON_ENABLED=""]) 123 123 124 AC_ARG_WITH([python-version], 125 [AS_HELP_STRING([--with-python-version=NUMBER], [To enable python support using a speficific version of python])], 126 [PYTHON_VERS="$withval"], [PYTHON_VERS=""]) 127 124 128 125 129 if test -z "$PYTHON_ENABLED" … … 127 131 PYTHON_FILE="" 128 132 else 129 PYTHONCONFIG="$PYTHON_PATH/bin/python -config"133 PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config" 130 134 PYTHON_FILE="service_internal_python.o" 131 135 if test "$PYTHON_PATH" = "yes" 132 136 then 133 137 # PHP was not specified, so search within the current path 134 AC_PATH_PROG([PYTHONCONFIG], [python -config])135 else 136 PYTHONCONFIG="$PYTHON_PATH/bin/python -config"138 AC_PATH_PROG([PYTHONCONFIG], [python${PYTHON_VERS}-config]) 139 else 140 PYTHONCONFIG="$PYTHON_PATH/bin/python${PYTHON_VERS}-config" 137 141 fi 138 142 … … 366 370 367 371 AC_CONFIG_FILES([Makefile]) 368 #AC_CONFIG_FILES([ZOOMakefile.opts])372 AC_CONFIG_FILES([ZOOMakefile.opts]) 369 373 AC_OUTPUT -
trunk/zoo-kernel/service.h
r282 r284 502 502 map* tmpMap=getMap(tmp,key); 503 503 if(tmpMap==NULL){ 504 addToMap(tmp,key,value); 504 if(tmp!=NULL) 505 addToMap(tmp,key,value); 506 else 507 tmp=createMap(key,value); 505 508 tmpMap=getMap(tmp,key); 506 509 } -
trunk/zoo-kernel/service_internal.c
r283 r284 1117 1117 if(hasDefault!=true && strncmp(type,"Input",5)==0) 1118 1118 xmlAddChild(nc3,xmlNewNode(ns_ows, BAD_CAST "AnyValue")); 1119 xmlFreeNodeList(nc5);1120 xmlFreeNodeList(nc4);1121 1119 } 1122 1120 … … 2416 2414 } 2417 2415 2416 int errorException(maps *m, const char *message, const char *errorcode) 2417 { 2418 map* errormap = createMap("text", message); 2419 addToMap(errormap,"code", errorcode); 2420 printExceptionReportResponse(m,errormap); 2421 freeMap(&errormap); 2422 free(errormap); 2423 return -1; 2424 } -
trunk/zoo-kernel/service_internal.h
r281 r284 121 121 char* addDefaultValues(maps**,elements*,maps*,int); 122 122 123 /*defined in zoo_loader.c*/124 123 int errorException(maps *m, const char *message, const char *errorcode); 125 124 -
trunk/zoo-kernel/zoo_loader.c
r280 r284 54 54 55 55 using namespace std; 56 57 /* ************************************************************************* */58 59 int errorException(maps *m, const char *message, const char *errorcode)60 {61 map* errormap = createMap("text", message);62 addToMap(errormap,"code", errorcode);63 printExceptionReportResponse(m,errormap);64 freeMap(&errormap);65 free(errormap);66 return -1;67 }68 69 /* ************************************************************************* */70 71 56 72 57 #define TRUE 1 -
trunk/zoo-services/cgal/Makefile
r116 r284 1 CFLAGS=-I../../zoo-kernel/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 2 4 CC=gcc 3 5 4 6 cgi-env/cgal_service.zo: service.c 5 g++ ${CFLAGS} -shared -fpic -o cgi-env/cgal_service.zo ./service.c -lgdal-lCGAL7 g++ ${CFLAGS} -shared -fpic -o cgi-env/cgal_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lCGAL 6 8 7 9 clean: 8 rm -f cgi-env/*.zo *.o *.tab.c *.tab.h *.sr.c* service_loader lex.* *.lreg *.sibling 9 rm -rf service_loader.dSYM 10 rm -f cgi-env/*.zo -
trunk/zoo-services/gdal/grid/Makefile
r1 r284 1 CFLAGS=-I../../../zoo-kernel-svn/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 2 4 CC=gcc 3 5 4 6 cgi-env/service.zo: service.c 5 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c -lgdal7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} 6 8 7 9 clean: -
trunk/zoo-services/gdal/grid/service.c
r1 r284 879 879 char *ext=new char[4]; 880 880 ext="tif"; 881 if(str cmp(mtoupper((char*)pszFormat),"AAIGRID")==0)881 if(strncasecmp(pszFormat,"AAIGRID",7)==0) 882 882 ext="csv"; 883 883 else 884 if(str cmp(mtoupper((char*)pszFormat),"PNG")==0)884 if(strncasecmp(pszFormat,"PNG",3)==0) 885 885 ext="png"; 886 886 else 887 if(str cmp(mtoupper((char*)pszFormat),"GIF")==0)887 if(strncasecmp(pszFormat,"GIF",3)==0) 888 888 ext="gif"; 889 889 else 890 if(str cmp(mtoupper((char*)pszFormat),"JPEG")==0)890 if(strncasecmp(pszFormat,"JPEG",4)==0) 891 891 ext="jpg"; 892 892 sprintf((char*)pszDest,"%s/%s.%s",tempPath,tmpMap->value,ext); -
trunk/zoo-services/gdal/profile/Makefile
r50 r284 1 CFLAGS=-I../../../zoo-kernel/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 2 4 CC=gcc 3 5 4 6 cgi-env/gdal_profile_service.zo: service.c 5 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_profile_service.zo ./service.c -lgdal7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} 6 8 7 9 clean: -
trunk/zoo-services/gdal/translate/Makefile
r1 r284 1 CFLAGS=-I../../../zoo-kernel-svn/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 2 4 CC=gcc 3 5 4 6 cgi-env/service.zo: service.c 5 g++ ${CFLAGS} -shared -fpic -o cgi-env/service.zo ./service.c -lgdal7 g++ ${CFLAGS} -shared -fpic -o cgi-env/service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} 6 8 7 9 clean: 8 rm -f *.zo *.o *.tab.c *.tab.h *.sr.c* service_loader lex.* *.lreg *.sibling 9 rm -rf service_loader.dSYM 10 rm -f cgi-env/*.zo -
trunk/zoo-services/gdal/translate/service.c
r1 r284 133 133 char *ext=new char[4]; 134 134 ext="tif"; 135 if(str cmp(mtoupper((char*)pszFormat),"AAIGRID")==0)135 if(strncasecmp(pszFormat,"AAIGRID",7)==0) 136 136 ext="csv"; 137 137 else 138 if(str cmp(mtoupper((char*)pszFormat),"PNG")==0)138 if(strncasecmp(pszFormat,"PNG",3)==0) 139 139 ext="png"; 140 140 else 141 if(str cmp(mtoupper((char*)pszFormat),"GIF")==0)141 if(strncasecmp(pszFormat,"GIF",3)==0) 142 142 ext="gif"; 143 143 else 144 if(str cmp(mtoupper((char*)pszFormat),"JPEG")==0)144 if(strncasecmp(pszFormat,"JPEG",4)==0) 145 145 ext="jpg"; 146 146 sprintf((char*)pszDest,"%s/%s.%s",tempPath,tmpMap->value,ext); -
trunk/zoo-services/ogr/base-vect-ops/Makefile
r106 r284 1 CFLAGS=-I../../../zoo-kernel/ -I./ `geos-config --cflags` `xml2-config --cflags` `gdal-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 2 # if JS_ENABLED flag is set to true in your ZOO-Kernel Makefile then you'll have 3 # uncomment the following line 4 # JS_LDFLAGS=../../../zoo-kernel/ulinet.o ../../../zoo-kernel/service_internal_js.o 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} `geos-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 5 4 6 5 cgi-env/ogr_service.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} `xml2-config --libs` `gdal-config --libs``geos-config --libs`6 g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} `geos-config --libs` 8 7 9 8 clean: -
trunk/zoo-services/ogr/base-vect-ops/service.c
r216 r284 44 44 void printExceptionReportResponse(maps*,map*); 45 45 char *base64(const char *input, int length); 46 int errorException(maps *m, const char *message, const char *errorcode); 46 47 47 48 OGRGeometryH createGeometryFromGML(maps* conf,char* inputStr){ -
trunk/zoo-services/utils/status/Makefile
r255 r284 1 CFLAGS=-I../../../thirds/cgic206/ -I../../../zoo-kernel/ -I./ `xslt-config --cflags` `xml2-config --cflags` -lintl -lfcgi -lcrypto -DLINUX_FREE_ISSUE #-DDEBUG 2 # if JS_ENABLED flag is set to true in your ZOO-Kernel Makefile then you'll have 3 # uncomment the following line 4 # JS_LDFLAGS=../../../zoo-kernel/ulinet.o ../../../zoo-kernel/service_internal_js.o 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 5 4 6 5 cgi-env/wps_status.zo: service.c 7 g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} `xml2-config --libs` `xslt-config --libs`6 g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} `xslt-config --libs` -lfcgi 8 7 9 8 clean:
Note: See TracChangeset
for help on using the changeset viewer.