首页| 论坛| 消息

标题:【提问】MinGW编译postgresql环境需要怎么配置,帮我一下!
作者:star33375249
日期:2005-09-07 16:27
内容:

我想用MinGW 去编译postgresql 虽然UNICODE-8支持中文,但是日本人就开发了一个日文的包装入进去了……
但是我载了一个POSTGRESQL源代码,我也没有编译过去啊。有人帮我吗?
MinGW都应该怎么设置?
PostgreSQL Win32 Installer
Some quick notes

Requirements
------------
1. WiX toolkit (http://wix.sourceforge.net)
2. Perl (tested with ActiveState perl 5.8.3)
3. MingW (uses "real" Makefiles. May work with other Makes, but
really, MingW is needed for postgresql build anyway)
4. Installed tree of postgresql
5. PostgreSQL source tree
6. pgAdmin Support module (from http://cvs.pgadmin.org/cgi-bin/viewcvs.cgi/pgadmin-tools/support/)
7. Npgsql (from http://gborg.postgresql.org/project/npgsql)
8. psqlODBC (from http://gborg.postgresql.org/project/psqlodbc)
9. PostgreSQL JDBC (from http://jdbc.postgresql.org)
10. PgOleDb (from http://gborg.postgresql.org/projects/oledb)
11a. PostGIS (from http://postgis.refractions.net)
11b. libgeos (from http://geos.refractions.net)
11c. proj4 (from http://www.remotesensing.org/proj)

Directory layout
----------------
bmp/ Contains bitmap images used in the installer
ca/ Source for custom action DLL
inst/ Utility files installed by the installer that are
not included in postgresql.
package/Contains files included in ZIPs but not in the MSI
txt/ Contains textfiles used in the installer
util/ Contains utility scripts used during build
wxi/ Contains WiX include files (autogenerated)
wxs/ Contains WiX source files

Build preparations
------------------
1. Run "make Makefile.paths" to get a template of this file. Then edit the
Makefile.paths file and set the correct paths.
2. Compile the PG source tree *without* SSL support.
3. Build libpqstatic.a in the ca/ directory.
4. Build and install PostgreSQL *with* SSL support. The s ..


#1 [XChinux 09-07 18:07]
照在上面说的安装方式安装不行?
#2 [star33375249 09-08 14:48]
关键事有几个地方哪个我没用弄明白啊,
2. Compile the PG source tree *without* SSL support.
4. Unpack PostGIS into $PGSRC/contrib/postgis
这两个都事什么意思啊?
不用你们给我翻译,关键事所需要改动的?

回复 发表
主题 版块