<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 15/06/2011 17:23, Brad Beckenhauer wrote:
<blockquote cite="mid:4DF89623020000680008EDDB@smtp.aafp.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16430">
<div>I downloaded the current Zendto 4.02-1 64bit Centos vm, did
a yum update zendto and compared the installed packages.</div>
<div> </div>
<div>Somehow I had missed the php52-pear, php52-pecl-apc and
php52-pecl-memcache packages during the upgrade from Zendto
version 3.63. I installed those three packages and the Upload
progress bar now works with the useRealProgressBar set
to 'TRUE'. - (yea fixed one).</div>
</blockquote>
These are mention on zend.to/centos.php. But agreed, my upgrade
guide could be clearer.<br>
<blockquote cite="mid:4DF89623020000680008EDDB@smtp.aafp.org"
type="cite">
<div> </div>
<div>During the upgrade, I followed the docs from the zend.to
website for the upgrade to 4.02, however I could not get the
package names to match up during the php rpmbuild section on
CentOS and found a google post referencing the problem I was
having (perhaps we could add the relevant bits to the website).</div>
<div> </div>
<div>Note: the rpmbuild %{dist} tag isn't defined on CentOS 5
because it isn't in /etc/rpm/macros.disttag<br>
So when "rpmbuild -ba php52.spec" generates the binary files the
resulting binary files have a double dot in the file names.<br>
Reference: <a moz-do-not-send="true"
href="http://stackoverflow.com/questions/5135502/rpmbuild-dist-not-defined-on-centos-5-5">http://stackoverflow.com/questions/5135502/rpmbuild-dist-not-defined-on-centos-5-5</a></div>
<div> </div>
<div>Options are:<br>
Option 1: Do nothing an let rpmbuild create the binary with the
double periods just like the text: <br>
rpmbuild -ba php52.spec</div>
<div> </div>
<div>Option 2: Specify the 'dist' during the rpmbuild.<br>
rpmbuild -ba --define 'dist el5' php52.spec</div>
</blockquote>
I have added that extra command-line parameter to the docs. Thanks
for that.<br>
<blockquote cite="mid:4DF89623020000680008EDDB@smtp.aafp.org"
type="cite">
<div> </div>
<div>Question: After building the PHP packages, could the
installed PHP packages be left on the vm?</div>
</blockquote>
Not sure quite what you mean. After you've built them, you have to
install them.<br>
<blockquote cite="mid:4DF89623020000680008EDDB@smtp.aafp.org"
type="cite">
<div> </div>
<div> </div>
<div>I also noted that the Centos 4.02-1 vm has a bunch of -devel-
packages installed which where probably used during a PHP
upgrade. I noticed the -devel- as I
had read /opt/zendto/docs/building-vm/HOWTO-CentOS.txt where you
removed the -devel- packages as part of the CentOS build
(BTW... I loved that you left the txt files).</div>
</blockquote>
The devel packages could be removed, but they normally aren't huge
and don't cause any problems. So I just left them there.<br>
<blockquote cite="mid:4DF89623020000680008EDDB@smtp.aafp.org"
type="cite">
<div> </div>
<div> </div>
<div>Julian, thank you for your considerable efforts on this
product!</div>
</blockquote>
And thank you for your input and suggestions!<br>
<br>
Cheers,<br>
Jules.<br>
-- <br>
<pre class="moz-signature" cols="72">Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
</pre>
</body>
</html>