This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres\ext\do_postgres_ext) | |
$ ruby extconf.rb --with-pgsql-dir=d:/users/luis/projects/oss/_libs/pgsql --with-pgsql-server-include=D:/users/luis/projects/oss/_libs/pgsql/include/server --with-pgsql-win32-include=d:/users/luis/projects/oss/_libs/pgsql/include/server/port/win32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres\ext\do_postgres_ext) | |
$ ruby extconf.rb --with-pgsql-dir=d:/users/luis/projects/oss/_libs/pgsql --with-pgsql-server-include=D:/users/luis/projects/oss/_libs/pgsql/include/server --with-pgsql-win32-include=d:/users/luis/projects/oss/_libs/pgsql/include/server/port/win32 --with-iconv-dir=d:/users/luis/projects/oss/_libs/extras | |
checking for main() in -lpq... yes | |
checking for libpq-fe.h... yes | |
checking for libpq/libpq-fs.h... yes | |
checking for postgres.h... yes | |
checking for mb/pg_wchar.h... yes | |
checking for catalog/pg_type.h... yes | |
checking for PQsetClientEncoding()... yes | |
checking for pg_encoding_to_char()... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres\ext\do_postgres_ext) | |
$ make | |
gcc -I. -I. -ID:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -DHAVE_POSTGRES_H -DHAVE_MB_PG_WCHAR_H -DHAVE_CATALOG_PG_TYPE_H -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR -DHAVE_PQFREEMEM -DHAVE_GETTIMEOFDAY -DHAVE_CRYPT -Id:/users/luis/projects/oss/_libs/extras/include -Id:/users/luis/projects/oss/_libs/pgsql/include/server/port/win32 -ID:/users/luis/projects/oss/_libs/pgsql/include/server -Id:/users/luis/projects/oss/_libs/pgsql/include -g -O2 -Wall -c do_postgres_ext.c | |
In file included from D:/users/luis/projects/oss/_libs/pgsql/include/server/postgres.h:49, | |
from do_postgres_ext.c:2: | |
D:/users/luis/projects/oss/_libs/pgsql/include/server/utils/elog.h:114: warning: `libintl_printf' is an unrecognized format function type | |
D:/users/luis/projects/oss/_libs/pgsql/include/server/utils/elog.h:120: warning: `l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres) | |
$ rake spec | |
(in D:/Users/Luis/projects/oss/datamapper/do.git/do_postgres) | |
rake-compiler must be configured first to enable cross-compilation | |
rm -r coverage | |
DataObjects::Postgres::Connection | |
deadlock 0x28b5580: sleep:S (main) - D:/Users/Luis/projects/oss/datamapper/do.git/data_objects/lib/data_objects/connection.rb:48 | |
deadlock 0x401dca8: sleep:- - D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/gems/1.8/gems/extlib-0.9.9/lib/extlib/pooling.rb:45 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Rakefile b/Rakefile | |
index 2bf81cc..cb2fc41 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -84,11 +84,18 @@ if defined? Gem | |
if defined? Rake::ExtensionTask | |
- host = 'i586-mingw32msvc' | |
+ # verify the building platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rake' | |
require 'rake/clean' | |
namespace(:compiler) do | |
namespace(:mingw) do | |
# mingw needs downloads, sandbox and sandbox/mingw | |
package = RubyInstaller::MinGW | |
directory package.target | |
CLEAN.include(package.target) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GCC Recipe | |
# | |
# Download Windows GNU GCC to be used as compiler | |
OneClick::Package.new('gcc', '3.4.5') do | |
download 'http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dll.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 7zip Recipe | |
# | |
# To avoid dependency on advanced extraction tools, this recipe grabs | |
# 7zip binaries for Windows and replace the built-in extract mechanism | |
# to allow unpacking of other formats beyond Zip files. | |
# SevenZip module contains the methods that replace buit-in functionality | |
# moved into it's own file for readability. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OneClick::Package.new('msys', '1.0.11') do | |
# MSYS core and updated packages | |
download 'http://downloads.sourceforge.net/mingw/msysCORE-1.0.11-20080826.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/findutils-4.3.0-MSYS-1.0.11-3-bin.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/MSYS-1.0.11-20090120-dll.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/tar-1.19.90-MSYS-1.0.11-2-bin.tar.gz' | |
# This action will be executed every time the package is invoked | |
# (by dependency or directly) | |
after :extract do |pkg| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Luis@KEORE (D:\Users\Luis\projects\oss\rubyforge) | |
$ gem fetch character-encodings | |
Downloaded character-encodings-0.4.1 | |
Luis@KEORE (D:\Users\Luis\projects\oss\rubyforge) | |
$ gem unpack character-encodings-0.4.1.gem | |
Unpacked gem: 'D:/Users/Luis/projects/oss/rubyforge/character-encodings-0.4.1' |