Thanks, TiTo. I've updated the upgrade.sh script I'm working on, but
it's not quite ready for release yet (should be very soon).
I noticed that you have "--with $DISTRO" specified for build of the
$ZLIB package. The upgrade.sh script I have doesn't have that parameter
for $ZLIB. Should it?
Also, what build/install parameters should be used for djbdns? Same as
$ZLIB, or same as all *-toaster* others?
TiTo wrote:
hi nick ^_^,
i've tested your upgrade.sh script, and it works well if the ARCH
variable is i386 ...
but when i change it to i686, it will error, because the rpmbuild
command is always use the default i386 value ...
example original script :
[...cut...]
DISTRO=cnt40
ARCH=i386
BDIR=redhat
clear
echo ""
echo "Installing zlib . . ."
inquire
clear
if [ $PROCEED = "y" ]; then
rpmbuild --rebuild $ZLIB
rpm -Uvh --replacefiles --replacepkgs /usr/src/$BDIR/RPMS/$ARCH/zlib*.rpm
fi
[...cut...]
when i change ARCH to i686, the rpmbuild command will still build using
i386 value ...
and when the rpm command execute, it will error, because the command
will become :
rpm -Uvh --replacefiles --replacepkgs /usr/src/redhat/RPMS/i686/zlib*.rpm
the rpm command can't find the zlib*.rpm file, because it was built in
/usr/src/redhat/RPMS/i386 ...
so, i've modified every rpmbuild command become like this :
rpmbuild --rebuild --with $DISTRO --target=$ARCH $ZLIB
i've tested, and it works well ...
thx ^_^,
~tito.web.id~
::Nero!!Rider::
------------------------------------------------------------------------
Subject:
upgrade.sh script
From:
"Nick Hemmesch" <[EMAIL PROTECTED]>
Date:
Mon, 12 Jun 2006 08:48:45 -0500 (CDT)
To:
[email protected]
To:
[email protected]
Hi All,
We did have a little glitch with the upgrade script. It has been fixed,
thanks to Devendra.
If you have downloaded the upgrade script, please download the corrected
script.
The error was: $DISTRO variable missing in libdomainkeys-toaster build
statement.
Regards,
Nick
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]