On Thu, Mar 5, 2009 at 12:03 AM, Kie <argyll@xxxxxxxxxx> wrote: > > however, > ./makepackagebin.sh > gave an error at the end > ran without errors until: > Making GNU Argyll binary distribution for Version 1.0.4_Beta > zip warning: missing end signature--probably not a zip file (did you > zip warning: remember to use binary mode when you transferred it?) > zip error: Zip file structure invalid (Argyll_V1.0.4_Beta) > Done GNU Argyll binary distribution > > > best rgds > Kie > This is of course of minor importance compared to other tasks, but I think the reason behind the failure is because the script try to create a zip file (the correct should be a tgz file) because PACKAGE variable is not set. On my ubuntu linux box it failures because there is no $OSTYPE and $MACHTYPE environment variables reported with SH shell only with bash. And this lines in the makepackagebin look very redhat centric to me: else if [ X$OSTYPE = "Xlinux-gnu" ] ; then if [ X$MACHTYPE = "Xi686-redhat-linux-gnu" -o X$MACHTYPE = "Xi386-redha t-linux-gnu" ] ; then echo "We're on Linux x86!" PACKAGE=Argyll_V${VERSION}_linux_x86_bin.tgz else if [ X$MACHTYPE = "Xx86_64-redhat-linux-gnu" ] ; then echo "We're on Linux x86_64!" PACKAGE=Argyll_V${VERSION}_linux_x86_64_bin.tgz Here is the output on my pc. $ echo $OSTYPE $MACHTYPE linux-gnu i486-pc-linux-gnu $ uname -a Linux buntu 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux $ Regards Lars Tore Gustavsen