From: Daniel Berger Date: 2005-11-12T21:27:14+09:00 Subject: Problems building plruby on Windows Hi all, Windows XP Pro Ruby 1.8.2 plruby 0.4.6 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 Has anyone managed to build plruby on Windows? I tried and got the following warnings/errors: C:\ruby\src\plruby-0.4.6>ruby extconf.rb --with-pgsql-dir=c:\progra~1\postgresql\8.1 checking for catalog/pg_proc.h... yes checking for rb_hash_delete()... yes checking for server/utils/array.h... yes The system cannot find the path specified. The filename or extension is too long. The filename or extension is too long. The filename or extension is too long. The filename or extension is too long. creating Makefile ======================================================================== After the installation use *something like this* to create the language plruby create function plruby_call_handler() returns language_handler as 'c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/plruby.so' language 'C'; create trusted language 'plruby' handler plruby_call_handler lancompiler 'PL/Ruby'; ======================================================================== C:\ruby\src\plruby-0.4.6>nmake Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. makefile(40) : fatal error U1001: syntax error : illegal character '{' in macro Stop. Any ideas? Thanks, Dan