mssql.so
Well , php5-sybase_ct does not enable the same functions, for instance the mysql_init() function is not there. That function would allow you to use stored procedures from the ms db . Does anyone know how to generate a mssql.so with this functions included? Regards, Marcos Laufer -- List: openbsd-misc Subject:Re: mssql.so From: joshua stein jcs () jcs ! org Date: 2006-01-15 4:14:06 Message-ID: 20060115041405.GD15440 () jcs ! org [Download message RAW] I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! the php5-sybase_ct-5.0.4.tgz package will give you sybase_ct.so, which enables the same mssql_* functions as mssql.so. [prev in list] [next in list] [prev in thread] [next in thread]
Re: mssql.so
On Tue, Jan 17, 2006 at 12:47:02AM -0200, Ricardo Lucas wrote: Ok, so that's happening, I've got the freetds-current.tgz and freetds-stable.tgz but stop in this error when I try to make any: first ./configure --enable-msdblib Am I doing something wrong?! Yes, you are trying to install freedts twice. You are also failing to understand that there is a very real benefit to be had from the ports system, via installing the sygate package, as you have been told many times now. Joachim
Re: mssql.so
Sorry about that. I had thought that the sybase was seemed with mssql function, but the usage are different, this is why I've not installed this pkg befor, but now everything works fine!!! Thank's all Best regards 2006/1/17, Joachim Schipper [EMAIL PROTECTED]: On Tue, Jan 17, 2006 at 12:47:02AM -0200, Ricardo Lucas wrote: Ok, so that's happening, I've got the freetds-current.tgz and freetds-stable.tgz but stop in this error when I try to make any: first ./configure --enable-msdblib Am I doing something wrong?! Yes, you are trying to install freedts twice. You are also failing to understand that there is a very real benefit to be had from the ports system, via installing the sygate package, as you have been told many times now. Joachim -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.
Re: mssql.so
On Tue, Jan 17, 2006 at 11:26:02AM -0200, Ricardo Lucas wrote: Sorry about that. I had thought that the sybase was seemed with mssql function, but the usage are different, this is why I've not installed this pkg befor, but now everything works fine!!! From the cursory look I've had at the documentation, there indeed is a difference in functionality. If it bites you, go with freetds from packages and compile whatever else you need. If, as is most likely, it doesn't - better to stay with packages that actually work. Joachim
Re: mssql.so
It's working fine for me!!! Thank's a lot 2006/1/17, Joachim Schipper [EMAIL PROTECTED]: On Tue, Jan 17, 2006 at 11:26:02AM -0200, Ricardo Lucas wrote: Sorry about that. I had thought that the sybase was seemed with mssql function, but the usage are different, this is why I've not installed this pkg befor, but now everything works fine!!! From the cursory look I've had at the documentation, there indeed is a difference in functionality. If it bites you, go with freetds from packages and compile whatever else you need. If, as is most likely, it doesn't - better to stay with packages that actually work. Joachim -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.
Re: mssql.so
Ok, so that's happening, I've got the freetds-current.tgz and freetds-stable.tgz but stop in this error when I try to make any: first ./configure --enable-msdblib everything seems to be ok, no error make . . . threadsafe.c:270:2: #error gethostbyname_r style unknown threadsafe.c: In function `tds_gethostbyname_r': threadsafe.c:230: warning: control reaches end of non-void function *** Error code 1 Stop in /tmp/freetds-0.64.dev.20060116/src/tds. *** Error code 1 Stop in /tmp/freetds-0.64.dev.20060116/src/tds (line 433 of Makefile). *** Error code 1 Stop in /tmp/freetds-0.64.dev.20060116/src/tds (line 270 of Makefile). *** Error code 1 Stop in /tmp/freetds-0.64.dev.20060116/src (line 281 of Makefile). *** Error code 1 Stop in /tmp/freetds-0.64.dev.20060116 (line 316 of Makefile). stop in that... Am I doing something wrong?! 2006/1/15, Fred Crowson [EMAIL PROTECTED]: Ricardo Lucas wrote: I've installed the pkg freetds-0.63-msdblib.tgz but did not found the mssql.so, any hint?! 2006/1/15, Joachim Schipper [EMAIL PROTECTED]: On Sat, Jan 14, 2006 at 10:51:25PM -0200, Ricardo Lucas wrote: I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! You've already been given two good hints - but a search of MARC would have also produced: http://marc.theaimsgroup.com/?l=openbsd-miscw=2r=1s=mssql.soq=t HTH Fred -- http://www.bristolshotokan.org.uk/ -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.
Re: mssql.so
Am I doing something wrong?! yes, you are not following the advice already given to you. http://marc.theaimsgroup.com/?l=openbsd-miscm=113729912930316w=2
Re: mssql.so
On Sat, Jan 14, 2006 at 10:51:25PM -0200, Ricardo Lucas wrote: I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! How about pkg_add freetds-0.63-msdblib, as Rosen Iliev pointed you to? If and only if that doesn't work, you can try compiling from source. Joachim
Re: mssql.so
I've installed the pkg freetds-0.63-msdblib.tgz but did not found the mssql.so, any hint?! 2006/1/15, Joachim Schipper [EMAIL PROTECTED]: On Sat, Jan 14, 2006 at 10:51:25PM -0200, Ricardo Lucas wrote: I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! How about pkg_add freetds-0.63-msdblib, as Rosen Iliev pointed you to? If and only if that doesn't work, you can try compiling from source. Joachim -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.
Re: mssql.so
On Sun, Jan 15, 2006 at 01:03:19PM -0200, Ricardo Lucas wrote: I've installed the pkg freetds-0.63-msdblib.tgz but did not found the mssql.so, any hint?! See http://marc.theaimsgroup.com/?l=openbsd-miscm=113725804214600w=2 for where to look next, or http://marc.theaimsgroup.com/?l=openbsd-miscm=113729912930316w=2 for an easier solution to your problem. Joachim
Re: mssql.so
Ricardo Lucas wrote: I've installed the pkg freetds-0.63-msdblib.tgz but did not found the mssql.so, any hint?! 2006/1/15, Joachim Schipper [EMAIL PROTECTED]: On Sat, Jan 14, 2006 at 10:51:25PM -0200, Ricardo Lucas wrote: I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! You've already been given two good hints - but a search of MARC would have also produced: http://marc.theaimsgroup.com/?l=openbsd-miscw=2r=1s=mssql.soq=t HTH Fred -- http://www.bristolshotokan.org.uk/
Re: mssql.so
On Sat, Jan 14, 2006 at 12:10:56AM -0200, Ricardo Lucas wrote: It's a stupid question but very useful for me, how can I install or find the mssql.so extension, or if it not existe what can I do instead? And if it not exist, why there is a line for that extension in the php.iniin the package from the ports tree? That is it! I'd take a look at ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/php5-mysql-5.0.4.tgz or php4-mysql-4.4.1p0.tgz in the same directory. These will be generated by /usr/ports/www/php{4,5}/extensions. Joachim
Re: mssql.so
Joachim Schipper wrote: On Sat, Jan 14, 2006 at 12:10:56AM -0200, Ricardo Lucas wrote: It's a stupid question but very useful for me, how can I install or find the mssql.so extension, or if it not existe what can I do instead? And if it not exist, why there is a line for that extension in the php.iniin the package from the ports tree? That is it! I'd take a look at ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/php5-mysql-5.0.4.tgz or php4-mysql-4.4.1p0.tgz in the same directory. These will be generated by /usr/ports/www/php{4,5}/extensions. Joachim Richard is looking for MS SQL, not MySQL. http://www.php.net/manual/en/ref.mssql.php To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: http://www.freetds.org/ I did not have 3.8 installed, so I don't know what else you will need, and if there is a port for php(4,5)-mssql. But I can see that there is msdblib pakcage: ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/freetds-0.63-msdblib.tgz Cheers, Rosen
Re: mssql.so
On Sat, Jan 14, 2006 at 09:28:44AM -0600, Rosen Iliev wrote: Joachim Schipper wrote: On Sat, Jan 14, 2006 at 12:10:56AM -0200, Ricardo Lucas wrote: It's a stupid question but very useful for me, how can I install or find the mssql.so extension, or if it not existe what can I do instead? And if it not exist, why there is a line for that extension in the php.iniin the package from the ports tree? That is it! I'd take a look at ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/php5-mysql-5.0.4.tgz or php4-mysql-4.4.1p0.tgz in the same directory. These will be generated by /usr/ports/www/php{4,5}/extensions. Richard is looking for MS SQL, not MySQL. Oops! Sorry... disregard my previous post. Joachim
Re: mssql.so
I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! 2006/1/14, Joachim Schipper [EMAIL PROTECTED]: On Sat, Jan 14, 2006 at 09:28:44AM -0600, Rosen Iliev wrote: Joachim Schipper wrote: On Sat, Jan 14, 2006 at 12:10:56AM -0200, Ricardo Lucas wrote: It's a stupid question but very useful for me, how can I install or find the mssql.so extension, or if it not existe what can I do instead? And if it not exist, why there is a line for that extension in the php.iniin the package from the ports tree? That is it! I'd take a look at ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/php5-mysql-5.0.4.tgz or php4-mysql-4.4.1p0.tgz in the same directory. These will be generated by /usr/ports/www/php{4,5}/extensions. Richard is looking for MS SQL, not MySQL. Oops! Sorry... disregard my previous post. Joachim -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.
Re: mssql.so
I've read the freetds.org help but I can't figure out what to do!!! Someone can help me?! the php5-sybase_ct-5.0.4.tgz package will give you sybase_ct.so, which enables the same mssql_* functions as mssql.so.
mssql.so
It's a stupid question but very useful for me, how can I install or find the mssql.so extension, or if it not existe what can I do instead? And if it not exist, why there is a line for that extension in the php.iniin the package from the ports tree? That is it! -- Abragos Ricardo Lucas We have to stop been egoist and think more on ourselves.