<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP4 RPM (4.4.8) for CentOS 5</title>
	<atom:link href="http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/</link>
	<description>Creative laboratory: researching, testing, creating and explaining!</description>
	<lastBuildDate>Tue, 01 Jun 2010 15:55:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Onno</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-814</link>
		<dc:creator>Onno</dc:creator>
		<pubDate>Wed, 25 Nov 2009 15:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-814</guid>
		<description>Hi,

I followed all the steps with the 4.4.8 src.rpm but I end up with the following error:
extern &quot;C&quot; void std::exit (int) throw (); using std::exit;

configure: exit 1
+ make -j4
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.81676 (%build)

But I didn&#039;t find any solution. Or indication in what is going wrong. Eventually I modified the spec file so there is no -j4 added, but then I and up with this error:
checking whether to include mime_magic support... yes
configure: error: File &#039;/usr/lib64/rpm/magic.mime&#039; not found!

Please help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I followed all the steps with the 4.4.8 src.rpm but I end up with the following error:<br />
extern &#8220;C&#8221; void std::exit (int) throw (); using std::exit;</p>
<p>configure: exit 1<br />
+ make -j4<br />
make: *** No targets specified and no makefile found.  Stop.<br />
error: Bad exit status from /var/tmp/rpm-tmp.81676 (%build)</p>
<p>But I didn&#8217;t find any solution. Or indication in what is going wrong. Eventually I modified the spec file so there is no -j4 added, but then I and up with this error:<br />
checking whether to include mime_magic support&#8230; yes<br />
configure: error: File &#8216;/usr/lib64/rpm/magic.mime&#8217; not found!</p>
<p>Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zack</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-785</link>
		<dc:creator>Zack</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-785</guid>
		<description>lefty, you need to disable selinux, or make exceptions for PHP4</description>
		<content:encoded><![CDATA[<p>lefty, you need to disable selinux, or make exceptions for PHP4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lefty.crupps</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-780</link>
		<dc:creator>lefty.crupps</dc:creator>
		<pubDate>Tue, 27 Jan 2009 16:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-780</guid>
		<description>I am still getting the errors when I installed your packages as when I installed the rpms created from your source package (above) and the files in question are there, just as before (also above).

My mysql-devel packages are installed as well, but I still get this error:

[root@machine php-4.4.9]# yum install mysql-devel mysql
Loaded plugins: dellsysidplugin, rhnplugin, security
Setting up Install Process
Parsing package install arguments
Package mysql-devel-5.0.45-7.el5.i386 already installed and latest version
Package mysql-5.0.45-7.el5.i386 already installed and latest version
Nothing to do

[root@machine php-4.4.9]# ./configure  --prefix=/usr/local/php_4.4.9/ --with-apxs2=/usr/local/apache_2.0.63/bin/apxs --with-mysql=/usr/include/mysql --with-gd --with-jpeg-dir=/usr/lib --with-curl --with-openssl --with-zlib --enable-sockets --enable-memory-limit --with-dom --with-dom-xslt --with-dom-exslt --with-ncurses --enable-dbx --enable-dio --enable-experimental-zts --enable-ftp
...
...
...
...
...
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
configure: error: Cannot find MySQL header files under /usr/include/mysql

[root@machine php-4.4.9]#</description>
		<content:encoded><![CDATA[<p>I am still getting the errors when I installed your packages as when I installed the rpms created from your source package (above) and the files in question are there, just as before (also above).</p>
<p>My mysql-devel packages are installed as well, but I still get this error:</p>
<p>[root@machine php-4.4.9]# yum install mysql-devel mysql<br />
Loaded plugins: dellsysidplugin, rhnplugin, security<br />
Setting up Install Process<br />
Parsing package install arguments<br />
Package mysql-devel-5.0.45-7.el5.i386 already installed and latest version<br />
Package mysql-5.0.45-7.el5.i386 already installed and latest version<br />
Nothing to do</p>
<p>[root@machine php-4.4.9]# ./configure  &#8211;prefix=/usr/local/php_4.4.9/ &#8211;with-apxs2=/usr/local/apache_2.0.63/bin/apxs &#8211;with-mysql=/usr/include/mysql &#8211;with-gd &#8211;with-jpeg-dir=/usr/lib &#8211;with-curl &#8211;with-openssl &#8211;with-zlib &#8211;enable-sockets &#8211;enable-memory-limit &#8211;with-dom &#8211;with-dom-xslt &#8211;with-dom-exslt &#8211;with-ncurses &#8211;enable-dbx &#8211;enable-dio &#8211;enable-experimental-zts &#8211;enable-ftp<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
checking for int8&#8230; no<br />
checking base type of last arg to accept&#8230; socklen_t<br />
checking return type of qsort&#8230; void<br />
configure: error: Cannot find MySQL header files under /usr/include/mysql</p>
<p>[root@machine php-4.4.9]#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lefty.crupps</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-779</link>
		<dc:creator>lefty.crupps</dc:creator>
		<pubDate>Tue, 27 Jan 2009 16:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-779</guid>
		<description>No, I did they that, still wouldn&#039;t work for me.  Can you tell me your configure script for the packages that you&#039;ve provided at
http://www.labcoding.com/linux/php-448-and-eaccelerator-0952-srpms-for-centos-5/

please?  Thanks!</description>
		<content:encoded><![CDATA[<p>No, I did they that, still wouldn&#8217;t work for me.  Can you tell me your configure script for the packages that you&#8217;ve provided at<br />
<a href="http://www.labcoding.com/linux/php-448-and-eaccelerator-0952-srpms-for-centos-5/" rel="nofollow">http://www.labcoding.com/linux/php-448-and-eaccelerator-0952-srpms-for-centos-5/</a></p>
<p>please?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CaliMonk</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-778</link>
		<dc:creator>CaliMonk</dc:creator>
		<pubDate>Tue, 27 Jan 2009 10:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-778</guid>
		<description>Hi,

I believe you&#039;ve forgotten to install the -devel packages, required to build your own packages.

[CaliMonk@DYV001 ~]$ rpm -qf /usr/include/mysql
mysql-devel-5.0.58

So a &quot;sudo yum install mysql-devel&quot; should do the trick.

If you install a RPM, be sure to use sudo. This will ensure the appropriate rights are available.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I believe you&#8217;ve forgotten to install the -devel packages, required to build your own packages.</p>
<p>[CaliMonk@DYV001 ~]$ rpm -qf /usr/include/mysql<br />
mysql-devel-5.0.58</p>
<p>So a &#8220;sudo yum install mysql-devel&#8221; should do the trick.</p>
<p>If you install a RPM, be sure to use sudo. This will ensure the appropriate rights are available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lefty.crupps</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-777</link>
		<dc:creator>lefty.crupps</dc:creator>
		<pubDate>Mon, 26 Jan 2009 22:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-777</guid>
		<description>I am not too familiar at all with building SRPMs, but we need PHP4.4.x on a RHEL5.2 (now 5.3) server and this is the first page I&#039;ve come across with a package for our OS.  When building PHP4 from source I kept getting errors about MySQL issues:

[root@machine php4.4.9]#  ./configure  --prefix=/usr/local/php_4.4.9/ --with-apxs2=/usr/local/apache_2.0.63/bin/apxs --with-mysql=/usr/include/mysql --with-gd --with-jpeg-dir=/usr/lib --with-curl --with-openssl --with-zlib --enable-sockets --enable-memory-limit --with-dom --with-dom-xslt --with-dom-exslt --with-ncurses --enable-dbx --enable-dio --enable-experimental-zts --enable-ftp

configure: error: Cannot find MySQL header files under /usr/include/mysql

I fought this for a long time and never resolved it.  Does your package work with that?

Additionally, once I build your SRPMs into RPMs and installed them, I cannot seem to get it to run; am I doing something wrong somehow?  Really I just wget the file, rpm -ivh that, cd to its unpack dir, and ran &#039;rpmbuild -bb php4-4.4.8_LAB3.spec&#039; then installed the resulting .rpm files in the i386 folder.

[root@machine i386]# /usr/bin/php4 -v

PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/domxml.so&#039; - /usr/lib/php4/domxml.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/gd.so&#039; - /usr/lib/php4/gd.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/imap.so&#039; - /usr/lib/php4/imap.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/ldap.so&#039; - /usr/lib/php4/ldap.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/mbstring.so&#039; - /usr/lib/php4/mbstring.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/mysql.so&#039; - /usr/lib/php4/mysql.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/ncurses.so&#039; - /usr/lib/php4/ncurses.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/odbc.so&#039; - /usr/lib/php4/odbc.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/pgsql.so&#039; - /usr/lib/php4/pgsql.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/snmp.so&#039; - /usr/lib/php4/snmp.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library &#039;/usr/lib/php4/xmlrpc.so&#039; - /usr/lib/php4/xmlrpc.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0
PHP 4.4.8 (cli) (built: Jan 26 2009 16:30:03)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

[root@machine i386]# ls /usr/lib/php4/
build  domxml.so  gd.so  imap.so  ldap.so  mbstring.so  mysql.so  ncurses.so  odbc.so  pgsql.so  snmp.so  xmlrpc.so

[root@machine i386]#</description>
		<content:encoded><![CDATA[<p>I am not too familiar at all with building SRPMs, but we need PHP4.4.x on a RHEL5.2 (now 5.3) server and this is the first page I&#8217;ve come across with a package for our OS.  When building PHP4 from source I kept getting errors about MySQL issues:</p>
<p>[root@machine php4.4.9]#  ./configure  &#8211;prefix=/usr/local/php_4.4.9/ &#8211;with-apxs2=/usr/local/apache_2.0.63/bin/apxs &#8211;with-mysql=/usr/include/mysql &#8211;with-gd &#8211;with-jpeg-dir=/usr/lib &#8211;with-curl &#8211;with-openssl &#8211;with-zlib &#8211;enable-sockets &#8211;enable-memory-limit &#8211;with-dom &#8211;with-dom-xslt &#8211;with-dom-exslt &#8211;with-ncurses &#8211;enable-dbx &#8211;enable-dio &#8211;enable-experimental-zts &#8211;enable-ftp</p>
<p>configure: error: Cannot find MySQL header files under /usr/include/mysql</p>
<p>I fought this for a long time and never resolved it.  Does your package work with that?</p>
<p>Additionally, once I build your SRPMs into RPMs and installed them, I cannot seem to get it to run; am I doing something wrong somehow?  Really I just wget the file, rpm -ivh that, cd to its unpack dir, and ran &#8216;rpmbuild -bb php4-4.4.8_LAB3.spec&#8217; then installed the resulting .rpm files in the i386 folder.</p>
<p>[root@machine i386]# /usr/bin/php4 -v</p>
<p>PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/domxml.so&#8217; &#8211; /usr/lib/php4/domxml.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/gd.so&#8217; &#8211; /usr/lib/php4/gd.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/imap.so&#8217; &#8211; /usr/lib/php4/imap.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/ldap.so&#8217; &#8211; /usr/lib/php4/ldap.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/mbstring.so&#8217; &#8211; /usr/lib/php4/mbstring.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/mysql.so&#8217; &#8211; /usr/lib/php4/mysql.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/ncurses.so&#8217; &#8211; /usr/lib/php4/ncurses.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/odbc.so&#8217; &#8211; /usr/lib/php4/odbc.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/pgsql.so&#8217; &#8211; /usr/lib/php4/pgsql.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/snmp.so&#8217; &#8211; /usr/lib/php4/snmp.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP Warning:  Unknown(): Unable to load dynamic library &#8216;/usr/lib/php4/xmlrpc.so&#8217; &#8211; /usr/lib/php4/xmlrpc.so: cannot restore segment prot after reloc: Permission denied in Unknown on line 0<br />
PHP 4.4.8 (cli) (built: Jan 26 2009 16:30:03)<br />
Copyright (c) 1997-2008 The PHP Group<br />
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies</p>
<p>[root@machine i386]# ls /usr/lib/php4/<br />
build  domxml.so  gd.so  imap.so  ldap.so  mbstring.so  mysql.so  ncurses.so  odbc.so  pgsql.so  snmp.so  xmlrpc.so</p>
<p>[root@machine i386]#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-222</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Fri, 21 Mar 2008 04:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-222</guid>
		<description>Thank you for sharing your sources and instructions.  I was trying to build this for x86_64 following your instructions but got this error:

#define YYTEXT_POINTER 1
#endif
#ifdef __cplusplus
extern &quot;C&quot; void std::exit (int) throw (); using std::exit;

configure: exit 1
+ make -j4
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.76743 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.76743 (%build)</description>
		<content:encoded><![CDATA[<p>Thank you for sharing your sources and instructions.  I was trying to build this for x86_64 following your instructions but got this error:</p>
<p>#define YYTEXT_POINTER 1<br />
#endif<br />
#ifdef __cplusplus<br />
extern &#8220;C&#8221; void std::exit (int) throw (); using std::exit;</p>
<p>configure: exit 1<br />
+ make -j4<br />
make: *** No targets specified and no makefile found.  Stop.<br />
error: Bad exit status from /var/tmp/rpm-tmp.76743 (%build)</p>
<p>RPM build errors:<br />
    Bad exit status from /var/tmp/rpm-tmp.76743 (%build)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The creative laboratory!&#187; Blog Archive &#187; Building PHP4 (RPM) on CentOS 5</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-74</link>
		<dc:creator>The creative laboratory!&#187; Blog Archive &#187; Building PHP4 (RPM) on CentOS 5</dc:creator>
		<pubDate>Sun, 06 Jan 2008 00:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-74</guid>
		<description>[...] PHP4 RPM (4.4.8) for CentOS 5Iphone / Ipod touch controlling remote itunes and winamp (windows)Building PHP4 (RPM) on CentOS 5How to control a PC or Mac with the iPhone / Ipod TouchA pesky BHO: cfgmgr3.dll         Jan  03 [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP4 RPM (4.4.8) for CentOS 5Iphone / Ipod touch controlling remote itunes and winamp (windows)Building PHP4 (RPM) on CentOS 5How to control a PC or Mac with the iPhone / Ipod TouchA pesky BHO: cfgmgr3.dll         Jan  03 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
