Grab a nightly installer (is this trunk or branch? It's
www.globus.org/{HEAD,globus_4_0_branch}/nightly.tar.gz ) and run
configure, then "make globus_c_wsrf_index_bindings"
Charles
On Oct 30, 2007, at 4:05 PM, gaurav khanna wrote:
I am using the globus built directly from CVS source.
I tried to generate the bindings using the following steps.
./bootstrap
./configure --with-flavor=gcc32dbg
I get the following error.
ERROR: The following packages are missing
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
lib_link-globus_c_aggregator_client_bindings-gcc32dbg-dev
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
lib_link-globus_c_aggregator_client_bindings-gcc32dbg-rtl
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
compile-globus_c_aggregator_client_bindings-gcc32dbg-dev
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
compile-globus_wsrf_mds_index_schema-gcc32dbg-pgm
ERROR: The following packages are missing
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
lib_link-globus_c_aggregator_client_bindings-gcc32dbg-dev
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
lib_link-globus_c_aggregator_client_bindings-gcc32dbg-rtl
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
compile-globus_c_aggregator_client_bindings-gcc32dbg-dev
Package globus_c_wsrf_index_bindings-gcc32dbg-src is missing
compile-globus_wsrf_mds_index_schema-gcc32dbg-pgm
Dependencies Complete
I have built the C-ws-core, Java-ws-core and mds in my Globus
installation.
Inspite of the errors, it says in the end "Dependencies Complete"
and the
makefile gets generated.
On doing a make, it says:
index_IndexPortTypeGTWSDLResourcePropertiesType.h:86:33:
metrics_accumulator.h: No such file or directory
I cannot find this header file. Could you help me with this?
Regards
Gaurav
Gaurav Khanna
Phd Student
CSE Department,OSU
Phone (office):614-292-7036
On Tue, 30 Oct 2007, John Bresnahan wrote:
i still strongly suggest you script around globus-url-copy. i
dont see what coding directly into it
buys you other than pain and suffering.
however, if you are into pain and suffering then you first must
build the bindings package at:
ws-mds/index/c/bindings
This will generate the headers for which you are looking.
gaurav khanna wrote:
Regarding the example mentioned in ws-mds/index/c/index_add, it
seems to
be built using an Index Service. However, none of the files
IndexService_client.h, IndexEntryService_client.h, IndexService.h
etc.
seem to be present in the distribution. I just want to build it
and try it
to see what it is trying to accomplish.
Regards
Gaurav
Gaurav Khanna
Phd Student
CSE Department,OSU
Phone (office):614-292-7036
On Mon, 29 Oct 2007, Neill Miller wrote:
Hello,
On Mon, Oct 29, 2007 at 02:02:42PM -0400, gaurav khanna wrote:
To do this, I am trying to write a ExternalElementProducer
Information provider. This requires specifying the location of
a script
in the file rp-provider-config.xml and to specify the
periodicity with
which it will run and populate MDS. However, for my purpose,
a globus-url-copy call should send the data to MDS as and when
it is
called. So, this is more like an on-demand push based data
publishing
model instead of a pull based model which seems to be used when
a script
runs periodically and MDS gets the
data from it.
Essentially what I need is some C API which when used within
globus-url-copy, would transfer or push the above mentioned
data to the
MDS. Is it possible to do that in Globus ?
Ok, I've asked around a bit and there are some C bindings for what
you're trying to do. I don't know of documentation of the API,
but if
you look in the ws-mds module, there is an example of something
similar that should help you located at:
ws-mds/index/c/index_add/*
If you really just want to modify globus-url-copy, you can just use
the C bindings and not bother with an information provider.
-Neill.