ruby-postgres 0.7.1.2005.11.24-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +261 -0
- data/Contributors +26 -0
- data/MANIFEST +14 -0
- data/Makefile +139 -0
- data/README +171 -0
- data/README.ja +183 -0
- data/doc/postgres.html +278 -0
- data/doc/postgres.jp.html +256 -0
- data/extconf.rb +33 -0
- data/libpq-compat.c +253 -0
- data/mkmf.log +154 -0
- data/postgres.c +2454 -0
- data/postgres.o +0 -0
- data/postgres.so +0 -0
- data/ruby-postgres.gemspec +35 -0
- data/sample/losample.rb +47 -0
- data/sample/psql.rb +1181 -0
- data/sample/psqlHelp.rb +158 -0
- data/sample/test1.rb +63 -0
- data/sample/test2.rb +44 -0
- data/sample/test4.rb +71 -0
- data/type-oids.h +65 -0
- metadata +61 -0
data/mkmf.log
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
have_library: checking for main() in -lpq... -------------------- yes
|
2
|
+
|
3
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
4
|
+
checked program was:
|
5
|
+
/* begin */
|
6
|
+
|
7
|
+
/*top*/
|
8
|
+
int main() { return 0; }
|
9
|
+
int t() { main(); return 0; }
|
10
|
+
/* end */
|
11
|
+
|
12
|
+
--------------------
|
13
|
+
|
14
|
+
have_header: checking for libpq-fe.h... -------------------- yes
|
15
|
+
|
16
|
+
"gcc -E -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -o conftest.i"
|
17
|
+
checked program was:
|
18
|
+
/* begin */
|
19
|
+
#include <libpq-fe.h>
|
20
|
+
/* end */
|
21
|
+
|
22
|
+
--------------------
|
23
|
+
|
24
|
+
have_header: checking for libpq/libpq-fs.h... -------------------- yes
|
25
|
+
|
26
|
+
"gcc -E -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -o conftest.i"
|
27
|
+
checked program was:
|
28
|
+
/* begin */
|
29
|
+
#include <libpq/libpq-fs.h>
|
30
|
+
/* end */
|
31
|
+
|
32
|
+
--------------------
|
33
|
+
|
34
|
+
have_library: checking for main() in -lcrypto... -------------------- no
|
35
|
+
|
36
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lcrypto -lpq -lwsock32 "
|
37
|
+
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lcrypto
|
38
|
+
collect2: ld returned 1 exit status
|
39
|
+
checked program was:
|
40
|
+
/* begin */
|
41
|
+
|
42
|
+
/*top*/
|
43
|
+
int main() { return 0; }
|
44
|
+
int t() { main(); return 0; }
|
45
|
+
/* end */
|
46
|
+
|
47
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lcrypto -lpq -lwsock32 "
|
48
|
+
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lcrypto
|
49
|
+
collect2: ld returned 1 exit status
|
50
|
+
checked program was:
|
51
|
+
/* begin */
|
52
|
+
#include <windows.h>
|
53
|
+
#include <winsock.h>
|
54
|
+
|
55
|
+
/*top*/
|
56
|
+
int main() { return 0; }
|
57
|
+
int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
58
|
+
/* end */
|
59
|
+
|
60
|
+
--------------------
|
61
|
+
|
62
|
+
have_library: checking for main() in -lssl... -------------------- no
|
63
|
+
|
64
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lssl -lpq -lwsock32 "
|
65
|
+
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lssl
|
66
|
+
collect2: ld returned 1 exit status
|
67
|
+
checked program was:
|
68
|
+
/* begin */
|
69
|
+
|
70
|
+
/*top*/
|
71
|
+
int main() { return 0; }
|
72
|
+
int t() { main(); return 0; }
|
73
|
+
/* end */
|
74
|
+
|
75
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lssl -lpq -lwsock32 "
|
76
|
+
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lssl
|
77
|
+
collect2: ld returned 1 exit status
|
78
|
+
checked program was:
|
79
|
+
/* begin */
|
80
|
+
#include <windows.h>
|
81
|
+
#include <winsock.h>
|
82
|
+
|
83
|
+
/*top*/
|
84
|
+
int main() { return 0; }
|
85
|
+
int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
86
|
+
/* end */
|
87
|
+
|
88
|
+
--------------------
|
89
|
+
|
90
|
+
have_func: checking for PQsetClientEncoding()... -------------------- yes
|
91
|
+
|
92
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
93
|
+
checked program was:
|
94
|
+
/* begin */
|
95
|
+
|
96
|
+
/*top*/
|
97
|
+
int main() { return 0; }
|
98
|
+
int t() { PQsetClientEncoding(); return 0; }
|
99
|
+
/* end */
|
100
|
+
|
101
|
+
--------------------
|
102
|
+
|
103
|
+
have_func: checking for pg_encoding_to_char()... -------------------- yes
|
104
|
+
|
105
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
106
|
+
checked program was:
|
107
|
+
/* begin */
|
108
|
+
|
109
|
+
/*top*/
|
110
|
+
int main() { return 0; }
|
111
|
+
int t() { pg_encoding_to_char(); return 0; }
|
112
|
+
/* end */
|
113
|
+
|
114
|
+
--------------------
|
115
|
+
|
116
|
+
have_func: checking for PQfreemem()... -------------------- yes
|
117
|
+
|
118
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
119
|
+
checked program was:
|
120
|
+
/* begin */
|
121
|
+
|
122
|
+
/*top*/
|
123
|
+
int main() { return 0; }
|
124
|
+
int t() { PQfreemem(); return 0; }
|
125
|
+
/* end */
|
126
|
+
|
127
|
+
--------------------
|
128
|
+
|
129
|
+
have_func: checking for PQescapeString()... -------------------- yes
|
130
|
+
|
131
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
132
|
+
checked program was:
|
133
|
+
/* begin */
|
134
|
+
|
135
|
+
/*top*/
|
136
|
+
int main() { return 0; }
|
137
|
+
int t() { PQescapeString(); return 0; }
|
138
|
+
/* end */
|
139
|
+
|
140
|
+
--------------------
|
141
|
+
|
142
|
+
have_func: checking for PQexecParams()... -------------------- yes
|
143
|
+
|
144
|
+
"gcc -o conftest -I. -Ic:/mingwruby/lib/ruby/1.8/i386-mingw32 -Ic:/apps/POSTGR~1/8.1/include -g -O2 conftest.c -L"c:/apps/POSTGR~1/8.1/lib" -L"c:/mingwruby/lib" -lpq -lmsvcrt-ruby18-static -lpq -lwsock32 "
|
145
|
+
checked program was:
|
146
|
+
/* begin */
|
147
|
+
|
148
|
+
/*top*/
|
149
|
+
int main() { return 0; }
|
150
|
+
int t() { PQexecParams(); return 0; }
|
151
|
+
/* end */
|
152
|
+
|
153
|
+
--------------------
|
154
|
+
|