[MonetDB-users] Reusing index on another computer

Hi all, I have built an index on a server. I would like to reuse that index on my desktop for testing purposes. However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer then I discover this error: !ERROR: database created with incompatible Mserver So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one? Thanks, junte

Dear Junte, the same (binary) MonetDB databases can be use donly with (a) the same (or at least compatible) version of MonetDB and (b) on binary compatilbe systems. Hence, the first question is, whether your are using the same (which?) version of MonetDB(/XQuery) on both machines? Secondly, are the two machines binary compatible? In particular, 32-bit databases cannot be used on 64-bit systems and vice versa. In case you need to transver your database between incompatible versions of MonetDB of binary incompatible systems, you cannot simply copy the dbfarm, but rather have to dump & reload your database; cf. http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... Stefan On Thu, Oct 02, 2008 at 03:37:44PM +0200, jz@uva wrote:
Hi all,
I have built an index on a server. I would like to reuse that index on my desktop for testing purposes.
However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer
then I discover this error: !ERROR: database created with incompatible Mserver
So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one?
Thanks, junte
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |

Thanks Stefan,
On Thu, Oct 2, 2008 at 3:47 PM, Stefan Manegold
Dear Junte,
the same (binary) MonetDB databases can be use donly with (a) the same (or at least compatible) version of MonetDB and (b) on binary compatilbe systems.
Hence, the first question is, whether your are using the same (which?) version of MonetDB(/XQuery) on both machines? Secondly, are the two machines binary compatible? In particular, 32-bit databases cannot be used on 64-bit systems and vice versa.
Ok, the server is 64-bit, while my desktop is 32-bit, so this explains why I am getting the error.
In case you need to transver your database between incompatible versions of MonetDB of binary incompatible systems, you cannot simply copy the dbfarm, but rather have to dump & reload your database; cf. http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html...
Is it possible to create a backup from the shell? I only have shell-access to the server, so I cannot open a browser, and hence cannot use the GUI. junte
Stefan
On Thu, Oct 02, 2008 at 03:37:44PM +0200, jz@uva wrote:
Hi all,
I have built an index on a server. I would like to reuse that index on my desktop for testing purposes.
However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer
then I discover this error: !ERROR: database created with incompatible Mserver
So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one?
Thanks, junte
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

I'd like to add, I cannot open any ports on the server, as all (except
80) of them are currently locked...
If anyone know if there is a way to bypass the GUI panel, please let me know!
Thanks
junte
On Thu, Oct 2, 2008 at 3:59 PM, jz@uva
Thanks Stefan,
On Thu, Oct 2, 2008 at 3:47 PM, Stefan Manegold
wrote: Dear Junte,
the same (binary) MonetDB databases can be use donly with (a) the same (or at least compatible) version of MonetDB and (b) on binary compatilbe systems.
Hence, the first question is, whether your are using the same (which?) version of MonetDB(/XQuery) on both machines? Secondly, are the two machines binary compatible? In particular, 32-bit databases cannot be used on 64-bit systems and vice versa.
Ok, the server is 64-bit, while my desktop is 32-bit, so this explains why I am getting the error.
In case you need to transver your database between incompatible versions of MonetDB of binary incompatible systems, you cannot simply copy the dbfarm, but rather have to dump & reload your database; cf. http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html...
Is it possible to create a backup from the shell? I only have shell-access to the server, so I cannot open a browser, and hence cannot use the GUI.
junte
Stefan
On Thu, Oct 02, 2008 at 03:37:44PM +0200, jz@uva wrote:
Hi all,
I have built an index on a server. I would like to reuse that index on my desktop for testing purposes.
However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer
then I discover this error: !ERROR: database created with incompatible Mserver
So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one?
Thanks, junte
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

On Thu, Oct 02, 2008 at 05:16:53PM +0200, jz@uva wrote:
I'd like to add, I cannot open any ports on the server, as all (except 80) of them are currently locked... If anyone know if there is a way to bypass the GUI panel, please let me know!
Yes, it is possible. What the GUI panel does is executing some pre-defined XQuery functions to do the job. Those functions can be also executed using the client interface, e.g. mclient. Please have a look at this bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=1899258&group_id=56967&atid=482468 And search for reaction posted on: 2008-02-25 16:40 There is a description how to execute it directly. Regards, Jennie
Thanks junte
On Thu, Oct 2, 2008 at 3:59 PM, jz@uva
wrote: Thanks Stefan,
On Thu, Oct 2, 2008 at 3:47 PM, Stefan Manegold
wrote: Dear Junte,
the same (binary) MonetDB databases can be use donly with (a) the same (or at least compatible) version of MonetDB and (b) on binary compatilbe systems.
Hence, the first question is, whether your are using the same (which?) version of MonetDB(/XQuery) on both machines? Secondly, are the two machines binary compatible? In particular, 32-bit databases cannot be used on 64-bit systems and vice versa.
Ok, the server is 64-bit, while my desktop is 32-bit, so this explains why I am getting the error.
In case you need to transver your database between incompatible versions of MonetDB of binary incompatible systems, you cannot simply copy the dbfarm, but rather have to dump & reload your database; cf. http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html...
Is it possible to create a backup from the shell? I only have shell-access to the server, so I cannot open a browser, and hence cannot use the GUI.
junte
Stefan
On Thu, Oct 02, 2008 at 03:37:44PM +0200, jz@uva wrote:
Hi all,
I have built an index on a server. I would like to reuse that index on my desktop for testing purposes.
However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer
then I discover this error: !ERROR: database created with incompatible Mserver
So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one?
Thanks, junte
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

On 02-10-2008 18:00:41 +0200, Ying Zhang wrote:
On Thu, Oct 02, 2008 at 05:16:53PM +0200, jz@uva wrote:
I'd like to add, I cannot open any ports on the server, as all (except 80) of them are currently locked... If anyone know if there is a way to bypass the GUI panel, please let me know!
Yes, it is possible. What the GUI panel does is executing some pre-defined XQuery functions to do the job. Those functions can be also executed using the client interface, e.g. mclient.
Please have a look at this bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=1899258&group_id=56967&atid=482468
And search for reaction posted on: 2008-02-25 16:40 There is a description how to execute it directly.
Sounds like you might want to create a simple cli-script to do that stuff without fancy webstuff.

On Thu, Oct 2, 2008 at 6:00 PM, Ying Zhang
On Thu, Oct 02, 2008 at 05:16:53PM +0200, jz@uva wrote:
I'd like to add, I cannot open any ports on the server, as all (except 80) of them are currently locked... If anyone know if there is a way to bypass the GUI panel, please let me know!
Yes, it is possible. What the GUI panel does is executing some pre-defined XQuery functions to do the job. Those functions can be also executed using the client interface, e.g. mclient.
Please have a look at this bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=1899258&group_id=56967&atid=482468
And search for reaction posted on: 2008-02-25 16:40 There is a description how to execute it directly.
Thanks, the backup works. xquery>import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:backup("backup1") more><> I then delete everything in the database: xquery>import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:del-col("KB") more><> However, I get an error when I try to restore: import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:restore("backup1", 10) more><> ERROR = !ERROR: CMDtj_throw2collection: operation failed. Help please! :) Should I submit a bug report? Thanks, junte
Regards,
Jennie
Thanks junte
On Thu, Oct 2, 2008 at 3:59 PM, jz@uva
wrote: Thanks Stefan,
On Thu, Oct 2, 2008 at 3:47 PM, Stefan Manegold
wrote: Dear Junte,
the same (binary) MonetDB databases can be use donly with (a) the same (or at least compatible) version of MonetDB and (b) on binary compatilbe systems.
Hence, the first question is, whether your are using the same (which?) version of MonetDB(/XQuery) on both machines? Secondly, are the two machines binary compatible? In particular, 32-bit databases cannot be used on 64-bit systems and vice versa.
Ok, the server is 64-bit, while my desktop is 32-bit, so this explains why I am getting the error.
In case you need to transver your database between incompatible versions of MonetDB of binary incompatible systems, you cannot simply copy the dbfarm, but rather have to dump & reload your database; cf. http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html... http://monetdb.cwi.nl/projects/monetdb//XQuery/QuickTour/adminGUI/index.html...
Is it possible to create a backup from the shell? I only have shell-access to the server, so I cannot open a browser, and hence cannot use the GUI.
junte
Stefan
On Thu, Oct 02, 2008 at 03:37:44PM +0200, jz@uva wrote:
Hi all,
I have built an index on a server. I would like to reuse that index on my desktop for testing purposes.
However, when I copy the demo directory (consisting of the index), and I restart MServer Mserver --dbinit='module(pathfinder);' --set xquery_backend=milprint_summer
then I discover this error: !ERROR: database created with incompatible Mserver
So my question is: can I, and if yes, how do I reuse/transfer an index from one computer to another one?
Thanks, junte
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

Hi, Is there any reason why 'make distclean' removes certain .c and .h files in the monetdb-1.24.0 source folder? I believe some of the other packages have the same problem, but I don't remember which one. I will find out which when I find a way to solve this problem, but I can't find where these files are removed in the Makefile. I tried to search the bugs on sourceforge, but due to some bug in sourceforge search function doesn't work. The list of removed files: ./MonetDB.spec ./src/common/monet_options.h ./src/common/stream.c ./src/common/dummy_gdk_utils.h ./src/common/stream.h ./src/common/monet_options.c ./src/common/monet_utils.h ./src/gdk/gdk_search.h ./src/gdk/gdk_align.c ./src/gdk/gdk_system.c ./src/gdk/gdk_delta.c ./src/gdk/gdk_bbp.h ./src/gdk/gdk_system.h ./src/gdk/gdk_ssort.c ./src/gdk/gdk_setop.h ./src/gdk/gdk_desc.h ./src/gdk/gdk_heap.c ./src/gdk/gdk_posix.h ./src/gdk/gdk_posix.c ./src/gdk/gdk_logger.c ./src/gdk/gdk_value.c ./src/gdk/gdk_rangejoin.h ./src/gdk/gdk_scanselect_defs.c ./src/gdk/gdk_relop.c ./src/gdk/gdk_search.c ./src/gdk/gdk_storage.c ./src/gdk/gdk_batop.c ./src/gdk/gdk_utils.h ./src/gdk/gdk_atoms.h ./src/gdk/gdk_bat.h ./src/gdk/gdk_tm.c ./src/gdk/gdk_utils.c ./src/gdk/gdk_tm.h ./src/gdk/gdk.h ./src/gdk/gdk_qsort.c ./src/gdk/gdk_desc.c ./src/gdk/gdk_scanselect.h ./src/gdk/gdk_atoms.c ./src/gdk/gdk_bbp.c ./src/gdk/gdk_delta.h ./src/gdk/gdk_storage.h ./src/gdk/gdk_setop.c ./src/gdk/gdk_scanselect_defs.h ./src/gdk/gdk_scanselect.c ./src/gdk/gdk_bat.c ./src/gdk/gdk_rangejoin.c ./src/gdk/gdk_logger.h -- Gijs Molenaar http://gijs.pythonic.nl

On 02-10-2008 16:07:01 +0200, Gijs Molenaar wrote:
Hi,
Is there any reason why 'make distclean' removes certain .c and .h files in the monetdb-1.24.0 source folder? I believe some of the other packages have the same problem, but I don't remember which one. I will find out which when I find a way to solve this problem, but I can't find where these files are removed in the Makefile.
Those are generated sources, from their .mx counterparts. If you want to build from cvs, you need "buildtools" to be able to extract them again.

Hi Gijs,
this is supposed to be happening because both .c and .h files are
extracted from .mx files. The source code is in the .mx files.
Kind regards,
lefteris
On Thu, Oct 2, 2008 at 4:07 PM, Gijs Molenaar
Hi,
Is there any reason why 'make distclean' removes certain .c and .h files in the monetdb-1.24.0 source folder? I believe some of the other packages have the same problem, but I don't remember which one. I will find out which when I find a way to solve this problem, but I can't find where these files are removed in the Makefile.
I tried to search the bugs on sourceforge, but due to some bug in sourceforge search function doesn't work.
The list of removed files:
./MonetDB.spec ./src/common/monet_options.h ./src/common/stream.c ./src/common/dummy_gdk_utils.h ./src/common/stream.h ./src/common/monet_options.c ./src/common/monet_utils.h ./src/gdk/gdk_search.h ./src/gdk/gdk_align.c ./src/gdk/gdk_system.c ./src/gdk/gdk_delta.c ./src/gdk/gdk_bbp.h ./src/gdk/gdk_system.h ./src/gdk/gdk_ssort.c ./src/gdk/gdk_setop.h ./src/gdk/gdk_desc.h ./src/gdk/gdk_heap.c ./src/gdk/gdk_posix.h ./src/gdk/gdk_posix.c ./src/gdk/gdk_logger.c ./src/gdk/gdk_value.c ./src/gdk/gdk_rangejoin.h ./src/gdk/gdk_scanselect_defs.c ./src/gdk/gdk_relop.c ./src/gdk/gdk_search.c ./src/gdk/gdk_storage.c ./src/gdk/gdk_batop.c ./src/gdk/gdk_utils.h ./src/gdk/gdk_atoms.h ./src/gdk/gdk_bat.h ./src/gdk/gdk_tm.c ./src/gdk/gdk_utils.c ./src/gdk/gdk_tm.h ./src/gdk/gdk.h ./src/gdk/gdk_qsort.c ./src/gdk/gdk_desc.c ./src/gdk/gdk_scanselect.h ./src/gdk/gdk_atoms.c ./src/gdk/gdk_bbp.c ./src/gdk/gdk_delta.h ./src/gdk/gdk_storage.h ./src/gdk/gdk_setop.c ./src/gdk/gdk_scanselect_defs.h ./src/gdk/gdk_scanselect.c ./src/gdk/gdk_bat.c ./src/gdk/gdk_rangejoin.c ./src/gdk/gdk_logger.h
-- Gijs Molenaar http://gijs.pythonic.nl
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

On Thu, Oct 02, 2008 at 04:34:35PM +0200, Lefteris wrote:
Hi Gijs,
this is supposed to be happening because both .c and .h files are extracted from .mx files. The source code is in the .mx files.
This is actually not supposed to be happening with source tarballs that come with pre-extracted and pre-generated C code (and without buildtools to do these jobs)... In other words, if you (Gijs) are using source from CVS, this is indeed the expected and correct behaviour (as Lefteris said), but in case you are using tar basll, this is not correct and most probably a bug in our Makefiles --- in that case, could you please file a respective bug report via our bug tracker at SF? (I guess, we mostly use CVS source here at CWI --- though test compilation from the tarball every night, noone of us ever tried `make clean` or `make distclean` with tarball sources ...) Thanks! Stefan
Kind regards,
lefteris
On Thu, Oct 2, 2008 at 4:07 PM, Gijs Molenaar
wrote: Hi,
Is there any reason why 'make distclean' removes certain .c and .h files in the monetdb-1.24.0 source folder? I believe some of the other packages have the same problem, but I don't remember which one. I will find out which when I find a way to solve this problem, but I can't find where these files are removed in the Makefile.
I tried to search the bugs on sourceforge, but due to some bug in sourceforge search function doesn't work.
The list of removed files:
./MonetDB.spec ./src/common/monet_options.h ./src/common/stream.c ./src/common/dummy_gdk_utils.h ./src/common/stream.h ./src/common/monet_options.c ./src/common/monet_utils.h ./src/gdk/gdk_search.h ./src/gdk/gdk_align.c ./src/gdk/gdk_system.c ./src/gdk/gdk_delta.c ./src/gdk/gdk_bbp.h ./src/gdk/gdk_system.h ./src/gdk/gdk_ssort.c ./src/gdk/gdk_setop.h ./src/gdk/gdk_desc.h ./src/gdk/gdk_heap.c ./src/gdk/gdk_posix.h ./src/gdk/gdk_posix.c ./src/gdk/gdk_logger.c ./src/gdk/gdk_value.c ./src/gdk/gdk_rangejoin.h ./src/gdk/gdk_scanselect_defs.c ./src/gdk/gdk_relop.c ./src/gdk/gdk_search.c ./src/gdk/gdk_storage.c ./src/gdk/gdk_batop.c ./src/gdk/gdk_utils.h ./src/gdk/gdk_atoms.h ./src/gdk/gdk_bat.h ./src/gdk/gdk_tm.c ./src/gdk/gdk_utils.c ./src/gdk/gdk_tm.h ./src/gdk/gdk.h ./src/gdk/gdk_qsort.c ./src/gdk/gdk_desc.c ./src/gdk/gdk_scanselect.h ./src/gdk/gdk_atoms.c ./src/gdk/gdk_bbp.c ./src/gdk/gdk_delta.h ./src/gdk/gdk_storage.h ./src/gdk/gdk_setop.c ./src/gdk/gdk_scanselect_defs.h ./src/gdk/gdk_scanselect.c ./src/gdk/gdk_bat.c ./src/gdk/gdk_rangejoin.c ./src/gdk/gdk_logger.h
-- Gijs Molenaar http://gijs.pythonic.nl
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |

Stefan Manegold wrote:
On Thu, Oct 02, 2008 at 04:34:35PM +0200, Lefteris wrote:
Hi Gijs,
this is supposed to be happening because both .c and .h files are extracted from .mx files. The source code is in the .mx files.
This is actually not supposed to be happening with source tarballs that come with pre-extracted and pre-generated C code (and without buildtools to do these jobs)...
In other words, if you (Gijs) are using source from CVS, this is indeed the expected and correct behaviour (as Lefteris said), but in case you are using tar basll, this is not correct and most probably a bug in our Makefiles --- in that case, could you please file a respective bug report via our bug tracker at SF?
I tried, but sourceforge had a hickup this week, and the sourceforge pages where unusable for me. Also this reply I get 3 days late. I manually added a workaround by deleting the build files manually so I can continue packaging (I was working on ubuntu packages). Sorry, if you want a bug you will have to do this yourself :) Sourceforge had some major problems lately I suppose...
(I guess, we mostly use CVS source here at CWI --- though test compilation from the tarball every night, noone of us ever tried `make clean` or `make distclean` with tarball sources ...)
Thanks!
Stefan
-- Gijs Molenaar http://gijs.pythonic.nl

On Thu, Oct 02, 2008 at 09:58:42PM +0200, Stefan Manegold wrote:
On Thu, Oct 02, 2008 at 04:34:35PM +0200, Lefteris wrote:
Hi Gijs,
this is supposed to be happening because both .c and .h files are extracted from .mx files. The source code is in the .mx files.
This is actually not supposed to be happening with source tarballs that come with pre-extracted and pre-generated C code (and without buildtools to do these jobs)...
In case you are using tarball source, `make clean` and `make distclean` indeed (inorrectly) remove extracted generated source file that cannot be restored without the (not distributed) buildtools. However, this is only a problem in case you call configure in the top-level source directory. In case you call configure in a seperate build directory --- as recommended under http://monetdb.cwi.nl/MonetDB/Documentation/Linux-Installation.html " 1.15 Configure Then in any directory (preferably a new, empty directory and not in the MonetDB top-level directory) give the command: .../configure [<options>] where ... is replaced with the (absolute or relative) path to the MonetDB top-level directory. " --- both `make clean` and `amek distclean` should work fine. Stefan
In other words, if you (Gijs) are using source from CVS, this is indeed the expected and correct behaviour (as Lefteris said), but in case you are using tar basll, this is not correct and most probably a bug in our Makefiles --- in that case, could you please file a respective bug report via our bug tracker at SF?
(I guess, we mostly use CVS source here at CWI --- though test compilation from the tarball every night, noone of us ever tried `make clean` or `make distclean` with tarball sources ...)
Thanks!
Stefan
Kind regards,
lefteris
On Thu, Oct 2, 2008 at 4:07 PM, Gijs Molenaar
wrote: Hi,
Is there any reason why 'make distclean' removes certain .c and .h files in the monetdb-1.24.0 source folder? I believe some of the other packages have the same problem, but I don't remember which one. I will find out which when I find a way to solve this problem, but I can't find where these files are removed in the Makefile.
I tried to search the bugs on sourceforge, but due to some bug in sourceforge search function doesn't work.
The list of removed files:
./MonetDB.spec ./src/common/monet_options.h ./src/common/stream.c ./src/common/dummy_gdk_utils.h ./src/common/stream.h ./src/common/monet_options.c ./src/common/monet_utils.h ./src/gdk/gdk_search.h ./src/gdk/gdk_align.c ./src/gdk/gdk_system.c ./src/gdk/gdk_delta.c ./src/gdk/gdk_bbp.h ./src/gdk/gdk_system.h ./src/gdk/gdk_ssort.c ./src/gdk/gdk_setop.h ./src/gdk/gdk_desc.h ./src/gdk/gdk_heap.c ./src/gdk/gdk_posix.h ./src/gdk/gdk_posix.c ./src/gdk/gdk_logger.c ./src/gdk/gdk_value.c ./src/gdk/gdk_rangejoin.h ./src/gdk/gdk_scanselect_defs.c ./src/gdk/gdk_relop.c ./src/gdk/gdk_search.c ./src/gdk/gdk_storage.c ./src/gdk/gdk_batop.c ./src/gdk/gdk_utils.h ./src/gdk/gdk_atoms.h ./src/gdk/gdk_bat.h ./src/gdk/gdk_tm.c ./src/gdk/gdk_utils.c ./src/gdk/gdk_tm.h ./src/gdk/gdk.h ./src/gdk/gdk_qsort.c ./src/gdk/gdk_desc.c ./src/gdk/gdk_scanselect.h ./src/gdk/gdk_atoms.c ./src/gdk/gdk_bbp.c ./src/gdk/gdk_delta.h ./src/gdk/gdk_storage.h ./src/gdk/gdk_setop.c ./src/gdk/gdk_scanselect_defs.h ./src/gdk/gdk_scanselect.c ./src/gdk/gdk_bat.c ./src/gdk/gdk_rangejoin.c ./src/gdk/gdk_logger.h
-- Gijs Molenaar http://gijs.pythonic.nl
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |

Lefteris schreef:
Hi Gijs,
this is supposed to be happening because both .c and .h files are extracted from .mx files. The source code is in the .mx files.
Aah, that explains. Thanks. But why aren't these regenerated at configure? I always thought that make depclean should remove (only) all files generated by ./configure... -- Gijs Molenaar http://gijs.pythonic.nl
participants (6)
-
Fabian Groffen
-
Gijs Molenaar
-
jz@uva
-
Lefteris
-
Stefan Manegold
-
Ying Zhang