Re: How would I add a new directory to /monetdb5/extras/

Stefan Manegold Stefan.Manegold at cwi.nl
Thu Mar 28 00:36:11 CET 2013


It's a shared library that will only be loaded once required at run time. Just say yes when gab asks you if the breakpoint should only be set once the library/code is loaded.

--
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam  (NL) |


----- Reply message -----
From: "Chi-Young Ku" <chi at querymetrica.com>
To: "Communication channel for developers of the MonetDB suite." <developers-list at monetdb.org>
Subject: How would I add a new directory to /monetdb5/extras/
Date: Wed, Mar 27, 2013 19:08




Hi Babis,

    Thanks a lot for your help!

    I am able to get the foo directory compiled and built lib_foo.la.  But, when I attatch GDB to the mserver5 process and try to set a breakpoint 
in foo.test(), I got an error saying foo.test() is not loaded.   Have I missed anything?

Chi





________________________________
 From: Charalampos Nikolaou <charnik at di.uoa.gr>
To: Communication channel for developers of the MonetDB suite. <developers-list at monetdb.org> 
Sent: Thursday, March 21, 2013 3:04 PM
Subject: Re: How would I add a new directory to /monetdb5/extras/
 
Hi,

you have to edit monetdb5/extras/Makefile.ag appending to variable
SUBDIRS the name of the directory you want to add. For example, if you
want to add directory "foo", given that the value of SUBDIRS was

HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql mal_optimizer_template

the new value for SUBDIRS should be

HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql
mal_optimizer_template foo

Of course, this way you should run de-bootstrap and bootstrap again.
Notice, that you have to specify also another Makefile.ag in
monetdb5/extras/foo for taking care of the compilation of your code.

However, I don't see any connection of your question to the message
you replied to.

Babis

On Thu, Mar 21, 2013 at 7:35 PM, Chi-Young Ku <chi at querymetrica.com> wrote:
> Hi,
>
>     I would like to add a new sub-directory to /monetdb5/extras/ so that:
>
>         1. the configure process generates Makefiles for it and
>
>         2. it gets built when "make" is invoke in the top source directory.
>
>     Thanks in advance.
>
> Chi
>
>
> ________________________________
> From: Stephen P. Morgan <stephen_p_morgan at sbcglobal.net>
> To: developers-list at monetdb.org
> Sent: Thursday, March 21, 2013 12:06 PM
> Subject: Question in re remote.exec()
>
> I have a question about remote.exec().  Let's say I have a user function,
> s1_1 that takes a BAT as a parameter and returns a BAT.  Its signature might
> be:
>
>     function user.s1_1(in:bat[:oid,:int]):bat[:oid,:int];
>
> How can I call s1_1 using remote.exec to pass in a BAT and to retrieve the
> result?  I want to do something like
>
>     X_2 := remote.exec(conn, "user", "s1_1", X_1);
>
> where X_1 and X_2 are both :bat[:oid,:int].  But that doesn't seem to work.
>
> Thanks,
>
> Steve Morgan
>
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/developers-list
>
>
>
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/developers-list
>
_______________________________________________
developers-list mailing list
developers-list at monetdb.org
http://mail.monetdb.org/mailman/listinfo/developers-list


More information about the developers-list mailing list