
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 |