[Mono-list] about mono extention of PHP5

Sadun Sevingen sadunsevingen@yahoo.com
Tue, 9 Nov 2004 14:02:56 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C4C664.D42B8E30
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0007_01C4C664.D42E9B70"


------=_NextPart_001_0007_01C4C664.D42E9B70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi, while i was surfing i found http://www.php.net/~sterling/mono/
(http://pecl.php.net/package/mono) . I'm one of mono editor of our comunity
www.csharpnedir.com <http://www.csharpnedir.com/>  also i'm an old php
developer. I decided to prepare an article about this ext of php5. 

 

But i have some troubles about deploying it. I don't want to take too much
of your time. Here is the configration 

 

Thaks for your time...

 

Ps: As i see "metadata/tabledefs.h" no more included in mono-devel last
version that i see tabledefs.h in "mono.0.3"

 

System: Fedora Core 2 (VMware) 

in the attachment packg.txt you'll see the list of packges that i installed
after simple text installation of fedora core 2 (without any packges)

 

simply after :

$ cd php-5.0.2

$ cp -fr ../mono-0.7/* ext/mono/

$ ./buildconf -force

$ ./configure --with-apxs2=/usr/sbin/apxs  --prefix=/usr/local/php5
--with-mono --with-mysql --without-sqlite

$ make

 

[snip output]

 

php_mono.c includes mono/metadata/tabledefs.h.

make: *** [ext/mono/php_mono.lo] Error 1

 

Exits make


------=_NextPart_001_0007_01C4C664.D42E9B70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DTR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi, while i was surfing i found <a
href=3D"http://www.php.net/~sterling/mono/">http://www.php.net/~sterling/=
mono/</a><font
color=3Dnavy><span style=3D'color:navy'> (<a =
href=3D"http://pecl.php.net/package/mono">http://pecl.php.net/package/mon=
o</a>)</span></font>
. I&#8217;m<font color=3Dnavy><span style=3D'color:navy'> one =
of</span></font> mono
editor of our comunity <a =
href=3D"http://www.csharpnedir.com/">www.csharpnedir.com</a>
also i&#8217;m an old php developer. I decided to prepare an article =
about this
ext of php5. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>But i have some troubles about deploying it. I =
don&#8217;t
want to take too much of your time. Here is the configration =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thaks for your time...<font color=3Dnavy><span
style=3D'color:navy'><o:p></o:p></span></font></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Ps: As i see =
&#8220;metadata/tabledefs.h&#8221;
no more included in mono-devel last version that i see tabledefs.h in =
&#8220;mono.0.3&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>System: </span></font></b><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Fedora =
Core 2<font
color=3Dnavy><span style=3D'color:navy'> (VMware)</span></font> <b><span
style=3D'font-weight:bold'><o:p></o:p></span></b></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>in the attachment <i><span =
style=3D'font-style:italic'>packg.txt</span></i>
you&#8217;ll see the list of packges that i installed after simple text
installation of fedora <font color=3Dnavy><span =
style=3D'color:navy'>core 2 </span></font>(without
any packges)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-style:italic'>simply after =
:<o:p></o:p></span></font></i></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>$ cd php-5.0.2<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>$ cp -fr ../mono-0.<font color=3Dnavy><span =
style=3D'color:navy'>7</span></font>/*
ext/mono/<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>$ ./buildconf =
&#8211;force<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>$ ./configure --with-apxs2=3D/usr/sbin/apxs&nbsp; =
--prefix=3D/usr/local/php5
--with-mono --with-mysql --without-sqlite<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>$ make<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[snip output]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dred face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:red'>php_mono.c includes
mono/metadata/tabledefs.h.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make: *** [ext/mono/php_mono.lo] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Exits make<font color=3Dnavy><span =
style=3D'color:navy'><o:p></o:p></span></font></span></font></p>

</div>

</body>

</html>

------=_NextPart_001_0007_01C4C664.D42E9B70--

------=_NextPart_000_0006_01C4C664.D42B8E30
Content-Type: text/plain;
	name="packg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="packg.txt"

apr-0.9.4-11.i386.rpm
apr-devel-0.9.4-11.i386.rpm
apr-util-0.9.4-14.i386.rpm
apr-util-devel-0.9.4-14.i386.rpm
binutils-2.15.90.0.3-5.i386.rpm
compat-libstdc++-7.3-2.96.126.i386.rpm
compat-libstdc++-devel-7.3-2.96.126.i386.rpm
cpp-3.3.3-7.i386.rpm
cyrus-sasl-2.1.18-2.i386.rpm
cyrus-sasl-devel-2.1.18-2.i386.rpm
db4-4.2.52-3.1.i386.rpm
db4-devel-4.2.52-3.1.i386.rpm
expat-1.95.7-1.1.i386.rpm
expat-devel-1.95.7-1.1.i386.rpm
gcc-3.3.3-7.i386.rpm
gcc-c++-3.3.3-7.i386.rpm
glibc-2.3.3-27.i386.rpm
glibc-devel-2.3.3-27.i386.rpm
glibc-headers-2.3.3-27.i386.rpm
glibc-kernheaders-2.4-8.44.i386.rpm
httpd-2.0.49-4.i386.rpm
httpd-devel-2.0.49-4.i386.rpm
libstdc++-3.3.3-7.i386.rpm
libstdc++-devel-3.3.3-7.i386.rpm
libxml2-2.6.8-1.i386.rpm
libxml2-devel-2.6.8-1.i386.rpm
m4-1.4.1-15.i386.rpm
mono-0.3.tar
mysql-administrator-1.0.13-linux.tar.gz
MySQL-client-5.0.0-0.i386.rpm
mysql-connector-net-1.0.0-beta
MySQL-devel-5.0.0-0.i386.rpm
MySQL-Max-5.0.0-0.i386.rpm
mysql-query-browser-1.0.7a-beta-linux.tar.gz
MySQL-server-5.0.0-0.i386.rpm
openldap-2.1.29-1.i386.rpm
openldap-clients-2.1.29-1.i386.rpm
openldap-devel-2.1.29-1.i386.rpm
php-5.0.2.tar
telnet-server-0.17-28.i386.rpm
vim-common-6.2.457-1.i386.rpm
vim-enhanced-6.2.457-1.i386.rpm
vim-minimal-6.2.457-1.i386.rpm
zlib-1.2.1.1-2.1.i386.rpm
zlib-devel-1.2.1.1-2.1.i386.rpm

------------MONO

glib-devel-1.2.10-12.1.1.i386.rpm
glib2-devel-2.4.0-1.i386.rpm
icu-2.6.2-1.ximian.11.0.i386.rpm
libicu-devel-2.6.2-1.ximian.11.0.i386.rpm
libicu26-2.6.2-1.ximian.11.0.i386.rpm
mod_mono-1.0.4-0.ximian.8.1.i386.rpm
mono-core-1.0.4-1.ximian.8.1.i686.rpm
mono-data-1.0.4-1.ximian.8.1.i686.rpm
mono-devel-1.0.4-1.ximian.8.1.i686.rpm
mono-web-1.0.4-1.ximian.8.1.i686.rpm
pkgconfig-0.15.0-1.1.i386.rpm
xsp-1.0.4-1.ximian.8.1.i386.rpm


------=_NextPart_000_0006_01C4C664.D42B8E30--