Howdy all,

Thanks to Daniel's great tips, wasn't too bad.  We patched xserver to skip the DNS 
lookup.  The xserver parameter processing is rather different on win32 vs unix in the 
source, but we did our best to copy the 'existing code 
style' in how we implemented the change.

The code for the patch to 7.5.00.8:
http://www.IPCoast.com/xserver-dns-lookup-75008-patch.txt

Our experience hacking on the source:

-- We used Visual Studio Professional 2003 to provide the Microsoft compilers.
-- The source download on mysql.com would not extract correctly using our standard 
Windows XP methods.  We ended up extracting the source code tree on a Linux system and 
copying it over to our win32 system using SSH.
-- If you develop on Windows XP, make sure you change Devtools\pgm\ptoc.exe to run 
"windows 2000 compatibility mode".

  Stephen Gutknecht
  full time traveler, home on wheels
  currently in Dallas Texas area




On Wed, 31 Mar 2004 00:00 , Daniel Dittmar [EMAIL PROTECTED]> sent:

>[EMAIL PROTECTED] wrote:
>> Offlist or onlist, can someone help me get a build environment together so I can 
>> hack on the xserver code myself?
>> 
>> I see I can start with this:
>> http://www.mysql.com/products/maxdb/develop/windows.html
>> http://sapdb.2scale.net/moin.cgi/CompileSources
>> But it references 7.4 and I want to be sure I have the best information possible.
>
>Nothing has changed, except that VC 6 is no longer supported (it might 
>work, but we do not test 7.5 with that compiler). Which reminds me that 
>you have to replace two files in the sources with versions required for 
>VC 7: ftp://ftp.sap.com/pub/sapdb/bin/tmp/asmobj-vc7.zip. They replace 
>those in sys\src\os\I386_WIN32_32.
>
>Make sure to execute vcvars32.bat (from VC 7) so that cl.exe is found in 
>%PATH% and %INCLUDE% and %LIB% are right.
>
>>   2.  Any hint on which source files are related to xserver.
>
>Try
>c:\> imf.pl -m serv.lnk
>this should list all the files necessary to build the x_server
>
>>   3.  Any hint on how to just compile xserver instead of doing the whole system.
>
>c:\> imf.pl serv.lnk
>this creates a file usr/pgm/serv.exe
>which you can test with
>c:\> serv -D 1
>(that way, it doesn't run as a service and you can printf to stdout)
>
>x_server is just a wrapper, which you can compile as well with
>c:\> imf allsqlr
>
>>   4.  Hints and tips :)
>
>c:\> imf -e 
>compiles with debug information
>
>> Ultimatly I am willing to develop and test a patch and submit it.  I just need some 
>> help with getting the complex MaxDB build environment 
going.  I am 
>> also willing to put up a Wiki page for other Win32 hackers once I figure out how to 
>> get it going myself :)
>
>Just keep notes where something doesn't work as advertised and I update 
>the documentation
>
>Daniel Dittmar
>
>-- 
>Daniel Dittmar
>SAP Labs Berlin
>[EMAIL PROTECTED]
>
>
>-- 
>MaxDB Discussion Mailing List
>For list archives: http://lists.mysql.com/maxdb
>To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>
>









-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to