[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Sebastian Bergmann
Edin Kadribasic wrote:
 edink Thu Feb 13 12:15:22 2003 EDT

   Modified files:
 /php4/ext/mysqli  mysqli_api.c
   Log:
   Use my_ulonglong instead of unsigned long long to make msvc++ happy.

  Did you somehow manage to build MySQL 4.1 on Windows? If so, how? If
  not, how are you building ext/mysqli since it requires libmysql 4.1?

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Edin Kadribasic
On Thu, 13 Feb 2003, Sebastian Bergmann wrote:

 Edin Kadribasic wrote:
  edink   Thu Feb 13 12:15:22 2003 EDT
 
Modified files:
  /php4/ext/mysqlimysqli_api.c
Log:
Use my_ulonglong instead of unsigned long long to make msvc++ happy.
 
   Did you somehow manage to build MySQL 4.1 on Windows? If so, how? If
   not, how are you building ext/mysqli since it requires libmysql 4.1?

I have indeed. Lots of tweaking of project files, but I'm able to compile 
and load php_mysqli.dll extension and to make it show up in phpinfo(). I 
didn't test it beyond that.

The compiled lib and header files are available at: 
http://snaps.php.net/~edink/libmysql-4.1.zip and the compiled extension 
is at http://snaps.php.net/~edink/php_mysqli.dll.

Please note that I exported only symbols needed for ext/mysqli at this 
point so I might need to recompile it if the extension gets extended and 
starts using some more of the mysqli API.

Edin



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Sebastian Bergmann
Edin Kadribasic wrote:
 I have indeed.

  I'm trying to build the current MySQL 4.1 sources from the BitKeeper
  repository with MS VisualC++ 6 (VisualStudio 98, Service Pack 5) on
  my Windows 2000 Professional box.

  The prepare script produces the errors shown in

http://www.sebastian-bergmann.de/prepare.txt

  Since my setup of MS VisualC++ 6 seems not tp be able to compile
  symlinked files (for whatever reason), I changed the ln -s calls
  in the prepare script to mv.

  I still get similar errors from the prepare script, but now the
  compiler finds the files and the build looks okay until it yields
  the following compiler errors:

   E:\home\mysql-4.1\VC++Files\strings\strto.c(98): error C2232:
   '-ctype': The left operand is of type 'struct', use '.'
   E:\home\mysql-4.1\VC++Files\strings\strto.c(118): error C2232:
   '-to_upper': The left operand is of type 'struct', use '.'
   E:\home\mysql-4.1\VC++Files\strings\strto.c(126): error C2232:
   '-to_upper': The left operand is of type 'struct', use '.'
   E:\home\mysql-4.1\VC++Files\strings\strto.c(148): error C2232:
   '-ctype': The left operand is of type 'struct', use '.'
   E:\home\mysql-4.1\VC++Files\strings\strto.c(150): error C2232:
   '-ctype': The left operand is of type 'struct', use '.'
   E:\home\mysql-4.1\VC++Files\strings\strto.c(151): error C2232:
   '-to_upper': The left operand is of type 'struct', use '.'

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Georg Richter
On Thursday 13 February 2003 18:32, Sebastian Bergmann wrote:

Sebastian, Edink:

could you please report the bugs you detected when compiling MySQL 4.1 under 
Windows to http://bugs.mysql.com too?!

(You need to sign for a webaccount to report bugs)

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Sebastian Bergmann
Georg Richter wrote:
 could you please report the bugs you detected when compiling MySQL 4.1
 under Windows to http://bugs.mysql.com too?!

  I'm in contact now with the MySQL team's Windows guy.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php