[MonetDB-users] install script (monetdb-install.sh) doesn't work for current branch

Ying Zhang Y.Zhang at cwi.nl
Tue Dec 18 11:37:12 CET 2007


The install script monetdb-install.sh still doesn't work for current  

$ /export/scratch0/streettivo/tmp/monetdb-install.sh --prefix=$HOME/ 
monetdb --
build=/export/scratch0/streettivo/tmp/monetdb_build --enable-xquery -- 
nightly=current --enable-debug

--11:22:33--  http://www.ins.cwi.nl/~monet/tars/latest/current/MonetDB-client.tar.gz
Resolving www.ins.cwi.nl...
Connecting to www.ins.cwi.nl||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 957191 (935K) [application/x-gzip]
Saving to: `/export/scratch0/streettivo/tmp/monetdb_build/MonetDB- 

      0K ........ ......                                      100%  

11:22:33 (9.93 MB/s) - `/export/scratch0/streettivo/tmp/monetdb_build/ 
MonetDB-client/MonetDB-client.tar.gz' saved [957191/957191]

unpacking MonetDB-client.tar.gz
mv: cannot stat `clients-[0-9]*': No such file or directory
failed to rename sources to the right name
Please refer to the full log at /export/scratch0/streettivo/tmp/ 
If you believe this is an error in the script or the software,
file a bug and attach the logfile.

The problem is in the name of the root directory included in the  
package "MonetDB-client.tar.gz".
In the stable brach, it is called "clients-1.20.3", and can be handled  
by the 'mv' command in line 316; while in the current branch, it has  
become "MonetDB-client-1.21.0", which indeed can not be found by the  
'mv' command.

Could this problem be solved by adding a check to the value of "-- 
Does other packages, e.g. MonetDB4-XQuery, has similar changes in the  
directory name?



On Dec 11, 2007, at 13:12 , Fabian Groffen wrote:

> On 07-12-2007 15:38:06 +0100, Fabian Groffen wrote:
>> The script cannot cope with the renamed tarball contents.  Fixing  
>> this
>> will take some efforts, but more importantly it bloats the script as
>> stable does not use this new naming scheme (yet).  I hope we can soon
>> do the GDK-2 feature release, such that I can actually skip  
>> supporting
>> both ways of doing things in the script.
> It turned out that it was not as bad as I thought it was.  I updated  
> the
> script to cope with current nightlies.  Unfortunately the script has  
> not
> been updated on the live website yet, so I put a working version here:
> 	http://www.cwi.nl/~fabian/troep/monetdb-install.sh
> However, we just fixed a bug in the tarball generation that prevented
> compiling from the nightlies.  So in any case you'll have to wait till
> tomorrow's nightlies are built.
> The new script includes an --enable-geom switch to optionally build  
> the
> geom extension for MonetDB/SQL.
> -------------------------------------------------------------------------
> 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://sourceforge.net/services/buy/index.php
> _______________________________________________
> MonetDB-users mailing list
> MonetDB-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-users

More information about the users-list mailing list