If the mysql module is a problem, I might be able to help.
I''ve been able to compile the mysql module on Windows using the VC.NET
compiler and nmake. I had to modify the extconf.rb file quite a bit,
like this:
----------------------------8<--snip--8<--------------------------------
require ''mkmf''
dir_config(''mysql'')
have_header(''mysql.h'')
if not have_library(''libmysql'',
''mysql_query'', ''mysql.h'') then
puts "Could not locate the ''mysql_query'' function."
exit 1
end
have_func(''mysql_ssl_set'')
newf = File::open(''mysql.c'', ''w'')
IO::foreach(''mysql.c.in'') do |l|
newf.puts l
end
create_makefile(''mysql'')
----------------------------8<--snip--8<--------------------------------
Then I can compile and install from the VC.NET command prompt like this:
----------------------------8<--snip--8<--------------------------------
> ruby extconf.rb --with-mysql-dir="C:\Program Files\MySQL\MySQL Server
4.1" --with-mysql-lib="C:\Program Files\MySQL\MySQL Server
4.1\lib\opt"
> nmake install
----------------------------8<--snip--8<--------------------------------
Hope that helps!
Cheers,
Kevin
Pedro Valentini wrote:> Hi,
>
> You win to install mysql module in windows?
> I tryed ir but don''t work and I''m using unix only because
of this module.
>
> Pedro C. Valentini
>
>
> Demetrius Nunes escreveu:
>
>> Hi all,
>>
>> I''ve managed to configure successfuly the
Apache2+FastCGI+Rails+WinXP
>> combo. The only problem is that, it''s not reliable, at all.
From time
>> to time, some requests generate huge memory and cpu consumptions and
>> ends up with a FastCGI error. The next request goes fine. Or sometimes
>> not.
>>
>> I''ve already tried reducing the number of classes/processes
for
>> FastCGI in httpd.conf but didn''t change things much.
>>
>> Anyway, is anyone having a good experience with this setup? If so,
>> what should be done to achieve it?
>>
>> Thanks,
>> Dema
>>
>> _______________________________________________
>> Rails mailing list
>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>>
>
----------
Scanned for viruses by ClamAV