<?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, 08 Feb 2011 05:39:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Vadim</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-831</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Wed, 29 Dec 2010 15:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-831</guid>
		<description>I change the path on “–with-mime-magic=/usr/lib/rpm/magic.mime \
$* &#124;&#124; tail -300 config.log”

but now the same error:

configure: error: mysql configure failed. Please check config.log for more information.
(..)
error: Bad exit status from /var/tmp/rpm-tmp.5254 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.5254 (%build)</description>
		<content:encoded><![CDATA[<p>I change the path on “–with-mime-magic=/usr/lib/rpm/magic.mime \<br />
$* || tail -300 config.log”</p>
<p>but now the same error:</p>
<p>configure: error: mysql configure failed. Please check config.log for more information.<br />
(..)<br />
error: Bad exit status from /var/tmp/rpm-tmp.5254 (%build)</p>
<p>RPM build errors:<br />
    Bad exit status from /var/tmp/rpm-tmp.5254 (%build)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-830</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Wed, 29 Dec 2010 15:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-830</guid>
		<description>This is due to:

        --with-mime-magic=/usr/lib64/rpm/magic.mime \
        $* &#124;&#124; tail -300 config.log
But:
# find -name magic.mime
./usr/lib/rpm/magic.mime

Do we need to change the path on &quot;--with-mime-magic=/usr/lib/rpm/magic.mime \
        $* &#124;&#124; tail -300 config.log&quot;
???</description>
		<content:encoded><![CDATA[<p>This is due to:</p>
<p>        &#8211;with-mime-magic=/usr/lib64/rpm/magic.mime \<br />
        $* || tail -300 config.log<br />
But:<br />
# find -name magic.mime<br />
./usr/lib/rpm/magic.mime</p>
<p>Do we need to change the path on &#8220;&#8211;with-mime-magic=/usr/lib/rpm/magic.mime \<br />
        $* || tail -300 config.log&#8221;<br />
???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-829</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Wed, 29 Dec 2010 14:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-829</guid>
		<description>Hi

Thank you for sharing your sources and instructions. 
Please help.
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 -j16
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.49262 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.49262 (%build)</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thank you for sharing your sources and instructions.<br />
Please help.<br />
I was trying to build this for x86_64 following your instructions but got this error:</p>
<p>(&#8230;)<br />
#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 -j16<br />
make: *** No targets specified and no makefile found.  Stop.<br />
error: Bad exit status from /var/tmp/rpm-tmp.49262 (%build)</p>
<p>RPM build errors:<br />
    Bad exit status from /var/tmp/rpm-tmp.49262 (%build)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stats</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-827</link>
		<dc:creator>stats</dc:creator>
		<pubDate>Fri, 05 Nov 2010 15:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-827</guid>
		<description>Hi Onno

Just edit spec file to use &#039;/usr/lib/rpm/magic.mime&#039;
   --with-mime-magic=/usr/lib/rpm/magic.mime</description>
		<content:encoded><![CDATA[<p>Hi Onno</p>
<p>Just edit spec file to use &#8216;/usr/lib/rpm/magic.mime&#8217;<br />
   &#8211;with-mime-magic=/usr/lib/rpm/magic.mime</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lord</title>
		<link>http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/comment-page-1/#comment-825</link>
		<dc:creator>Lord</dc:creator>
		<pubDate>Wed, 29 Sep 2010 14:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/generic/php4-rpm-448-for-centos-5/#comment-825</guid>
		<description>Nice !

I use it today.
Works only for my under i386 system.
I got an error :

##################################################
#define YYTEXT_POINTER 1
#endif
#ifdef __cplusplus
extern “C” void std::exit (int) throw (); using std::exit;

configure: exit 1
+ make -j4
make: *** No targets specified and no makefile found. Stop.
#########################################################

By the way, many thanks for your article :p</description>
		<content:encoded><![CDATA[<p>Nice !</p>
<p>I use it today.<br />
Works only for my under i386 system.<br />
I got an error :</p>
<p>##################################################<br />
#define YYTEXT_POINTER 1<br />
#endif<br />
#ifdef __cplusplus<br />
extern “C” 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 />
#########################################################</p>
<p>By the way, many thanks for your article :p</p>
]]></content:encoded>
	</item>
	<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/">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>
</channel>
</rss>

