Ignore:
Timestamp:
Oct 23, 2010, 4:49:28 PM (14 years ago)
Author:
djay
Message:

Add specific error messages returned to the ZOO Kernel when the service failed. Correct the zcfg file for the Ogr2oOgr service. Use the GDALmake.opt file from the gdal source tree to get the correct flags for compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-services/ogr/ogr2ogr/Makefile

    r1 r38  
    1 GDAL_SRC=/var/tmp/portage/sci-libs/gdal-1.6.1/work/gdal-1.6.1/ogr/
    2 CFLAGS=-I$(GDAL_SRC) -I../../../zoo-kernel-svn/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG
    3 CC=gcc
     1GDAL_SRC=./gdal_src/
    42
    5 cgi-env/ogr2ogr_service.zo: service.c
    6         g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/ogr2ogr_service.zo ./service.c -lgdal
     3include $(GDAL_SRC)GDALmake.opt
     4
     5CPPFLAGS        :=      $(GDAL_INCLUDE) -I$(GDAL_ROOT)/frmts $(CPPFLAGS)
     6DEP_LIBS        =       $(EXE_DEP_LIBS) $(XTRAOBJ)
     7BIN_LIST = cgi-env/ogr2ogr_service.zo
     8
     9default:        $(BIN_LIST)
     10
     11all: default
     12
     13lib-depend:
     14        (cd $(GDAL_SRC)/gcore ; $(MAKE) )
     15        (cd $(GDAL_SRC)/port ; $(MAKE) )
     16
     17CFLAGS=-DZOO_SERVICE -I../../../zoo-kernel/
     18
     19#cgi-env/ogr2ogr_service.zo: service.c
     20#       g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/ogr2ogr_service.zo ./service.c -lgdal
     21
     22cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS)
     23        g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $< `gdal-config --libs` -o $@
    724
    825clean:
    9         rm -f cgi-env/*.zo
     26        rm -f cgi-env/*zo
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png