Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9214/src/modules/plain
Modified Files:
algebra.mx
Log Message:
Removing #line directives from (generated) files in rpm.mk[.in]
before creating the source tarball
makes these files newer than related files,
causing builds from the tarball (e.g., during `make rpm`)
to fail as "undesired" rules are triggered.
For MonetDB4, src/modules/plain/algebra.c becomes newer than
src/modules/plain/algebra (an obsolete shell-script related
to some "pre-historic" prolog-based cost modelling efforts),
triggering `make rpm` to do something like
`gcc algebra.c -o algebra`, which obviously cannot work.
While a proper solution that maintains (or fixes)
timestamps during #line directive removal is pending,
disabling the ancient algebra shell scripts
makes `make rpm` for MonetDB4 work, again.
Index: algebra.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/modules/plain/algebra.mx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- algebra.mx 4 Oct 2007 10:35:18 -0000 1.5
+++ algebra.mx 12 Dec 2007 20:05:53 -0000 1.6
@@ -1315,8 +1315,9 @@
directly. It would be an attractive idea to have it callable
as an extension module from MIL directly.
+@(
@- Utility
[EMAIL PROTECTED]
[EMAIL PROTECTED]
#/bin/sh
# COST MODEL UTILITY
# ==================
@@ -1330,6 +1331,7 @@
echo "============== +"
awk '{ a += $1 } END { print "TOTAL="a; }' < /tmp/$$
rm /tmp/$$
+@)
@+ BAT sum operation
The sum aggregate only works for int and float fields.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins