Building Up Ur Own Development Envir [PostgreSQL]

  • 1: Download the pgsql source code. The latest version is 9.3 beta.
  • Changes the Mkvcbuild.pm:64 the determine_version_xxx to 9.0 for visual 2008.
  • 3: Running the command "perl build.pl DEBUG", fist of all, install perl and flex and bison. then set the them to system path environment variable. E:\postgresql-9.3beta1\src\tools\msvc
  • 4: The flex and bison are used to generate the "xxx.c" when compiling the project.
  • 5: The most important thing is to set the msbuild.exe which is a executable file in .net frame properly.
  • 6: Running the command "perl build.pl DEBUG" again, as well as, it will generate all files needed.
  • 7: Opening the VS to open the solution files.
  • 8: Running the command "perl install.pl target_directory". the target_directory will store all binary files.
  • 9: Setting the "postgres" as startup project, and sets the project properties: command to "target_bin_dir" , argument to "-D DatabaseName", working directory to "target_bin_dir".
  • 10: Starting the service.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值